Add simple wiki on Piratebox ?

Posted by fbocquet 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Add simple wiki on Piratebox ?
May 29, 2012 10:26PM
A very simple wiki like flatfile moinmoin (python script [moinmo.in]), pikipiki (http://sourcefrog.net/projects/piki/), pikiepikie (http://pikie.dyndns.org/) or very simple wikiss (flatfile but php [wikiss.tuxfamily.org] ).
Wiki on piratebox could be very intersesting for pedagogical integration !

Thanks if you can try to create this script.
Re: Add simple wiki on Piratebox ?
May 30, 2012 04:37AM
Mh, the python based version can run- but maybe some modifications has to be done smiling smiley
Re: Add simple wiki on Piratebox ?
May 30, 2012 08:25AM
Perhaps something like [www.tiddlywiki.com] which doesn't require any back end resources...
Re: Add simple wiki on Piratebox ?
May 30, 2012 08:41AM
another one with native Python script http://www.waywood.co.uk/MonkeyWiki/.
I don't know if Tiddlywiki work on a web site ?
Is it possible to save chat, forum and wiki content on the USB key ?
Sorry for my poor english winking smiley
Re: Add simple wiki on Piratebox ?
June 23, 2012 09:39AM
I installed this wiki Python script [www.waywood.co.uk] and it works fine.
Contents are well on USB stick ;-)
I'll post full french translation asap.

Thanks for this great project ! >grinning smiley<
Re: Add simple wiki on Piratebox ?
June 23, 2012 03:41PM
I'm trying to install media wiki with mysql but mysql's going to be trouble...
Re: Add simple wiki on Piratebox ?
August 08, 2014 02:48AM
Has anyone successfully added TiddlyWiki on the piratebox? Or can someone advice me on how to do this? It would be very helpful to have this for an upcoming project -- somewhat urgent. Thanks!
Re: Add simple wiki on Piratebox ?
August 10, 2014 11:46AM
As I already answered on your other thread. It needs nodeJS, what is not officially supported under OpenWrt. RaspberryPI could be possible... could


This is only my signature.
Re: Add simple wiki on Piratebox ?
September 05, 2014 04:20AM
Thanks for the lead, I was able to get MonkeyWiki up and running without too much effort. I'm looking for something simple, and trying to keep the CPU overhead low, and so far, might not need PHP. Most important thing was setting write permissions on directory with wiki text (I put mine in /opt/piratebox/monkeywiki/text).

I could not get the rewrite modes to work, but not a big deal pointing to a cgi-bin link. I'm going to try and template it to match the navbar of the Piratebox layout.
Re: Add simple wiki on Piratebox ?
May 02, 2016 09:57AM
Tiddlywiki installs VERY easily. Download the empty/full tiddlywiki html. Put it in your www folder. Direct browser to [piratebox.lan].

JUST REMEMBER YOU HAVE TO SAVE IT EVERYTIME, download and then move back into www folder... or changes won't hold.
Re: Add simple wiki on Piratebox ?
May 04, 2016 02:29PM
maqueen Wrote:
-------------------------------------------------------
> JUST REMEMBER YOU HAVE TO SAVE IT EVERYTIME,
> download and then move back into www folder... or
> changes won't hold.

Seems like you dont have the proper permissions set on the file. You should be able to edit the tiddlywiki file from the web browser and it save automagically.
It should be,
chowned nobody:nogroup
chmod 755


PirateBox Installs:
2x Zsun's (both testing, one with serial interface)
A5-V11 (mostly for OpenWRT testing DIY)
2x RPi Zero's
(one active in car 24/7, gets a lot of hits at Walmart, movie theaters and the mall)
2x RPi3's (both home servers, one Ubuntu custom install along side a ton of other services)
1x RPi2 (currently work server)
Re: Add simple wiki on Piratebox ?
May 09, 2016 06:03PM
TheExpertNoob Wrote:
-------------------------------------------------------
> Seems like you dont have the proper permissions
> set on the file. You should be able to edit the
> tiddlywiki file from the web browser and it save
> automagically.
> It should be,
> chowned nobody:nogroup
> chmod 755

afaik, that only works with a correct php setup, a correct configuration (and correct permissions)
Hi there.
(french user, sry in advance for my bad english)

I try to add that kind of wiki on a piratebox project (running on a debian based old laptop, for the tests, and might be on a RPi in production).

I've tried ChuWIki and Wikiss. In both case, i've got a "redirect" problem. Direct urls (piratebox.lan/wiki-directory or piratebox.lan/wiki-directory/index.php), or relative links from /www/index.html resend to home page (piratebox.lan) after a short display of the redirect.html page.

Think I put the right permissions, and user:group (755 - nobody:nogroup) on these directories.

When I rename redirect.html (to disable it), i've got a 403 - Fobidden error.

How to fix it? May I have to add something in /conf/lighttpd/lighttpd.conf?

Thanks in advance for any help.
Re: Add simple wiki on Piratebox ?
June 17, 2016 02:46PM
regisburin Wrote:
-------------------------------------------------------
> Hi there.
> (french user, sry in advance for my bad english)
>
> I try to add that kind of wiki on a piratebox
> project (running on a debian based old laptop, for
> the tests, and might be on a RPi in production).
>
> I've tried ChuWIki and Wikiss. In both case, i've
> got a "redirect" problem. Direct urls
> (piratebox.lan/wiki-directory or
> piratebox.lan/wiki-directory/index.php), or
> relative links from /www/index.html resend to home
> page (piratebox.lan) after a short display of the
> redirect.html page.
>
> Think I put the right permissions, and user:group
> (755 - nobody:nogroup) on these directories.
>
> When I rename redirect.html (to disable it), i've
> got a 403 - Fobidden error.
>
> How to fix it? May I have to add something in
> /conf/lighttpd/lighttpd.conf?
>
> Thanks in advance for any help.


Check your lighttpd.conf settings. If I were to guess, php isnt allowed in that directory. See Here, about lighttpd.conf. These settings change some with the upcoming Piratebox 1.1. PHP will have its own config file.

You will need to change ^/gallery/ to ^/wiki-directory/


PirateBox Installs:
2x Zsun's (both testing, one with serial interface)
A5-V11 (mostly for OpenWRT testing DIY)
2x RPi Zero's
(one active in car 24/7, gets a lot of hits at Walmart, movie theaters and the mall)
2x RPi3's (both home servers, one Ubuntu custom install along side a ton of other services)
1x RPi2 (currently work server)



Edited 2 time(s). Last edit at 06/17/2016 02:48PM by TheExpertNoob.
So much thanks for the fast answer.

Well.
I've changed the lighttpd.conf as it's describe in the sfpg documentation.

Now I've a 500 - Internal server Error when I try to reach the www/wiki-directory.
-_-'
Well. My php installation wasn't complete (php-cgi missing)... Simple, stupid.

So, everything is fine now, and works well. I've got a running WikissBox grinning smiley

Thanks again for your support, and make me find the lighttpd.conf tricks (were also indicated on the page dedicated to laptops -_-' )