PirateBox release 1.1.2 October 05, 2016 06:39PM |
Admin Registered: 13 years ago Posts: 4,680 |
Quote
* [Fix] Upgrade 1.1.x - 1.1.x does not create content symlink
/etc/init.d/minidlna stop /etc/init.d/piratebox stop /etc/init.d/piratebox updatePB /etc/init.d/piratebox start /etc/init.d/minidlna start
Language: PHPmagnet:?xt=urn:btih:e99c008f0496301cda76b267cd6a16915d389ec3&dn=piratebox_rpi_1.1.1-1-03-10-2016.img.zip&tr=udp%3A%2F%2Ftracker.piratebox.cc%3A7070&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969
Language: PHPmagnet:?xt=urn:btih:0df637b67d7daaafafe5437435650580124d08c7&dn=piratebox_rpi2_1.1.1-1-03-10-2016.img.zip&tr=udp%3A%2F%2Ftracker.piratebox.cc%3A7070&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969
ln -s /opt/piratebox/share/content /opt/piratebox/wwwI am sorry for that.
Re: PirateBox release 1.1.2 October 05, 2016 06:43PM |
Registered: 8 years ago Posts: 4 |
Re: PirateBox release 1.1.2 October 05, 2016 06:46PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: PirateBox release 1.1.2 October 05, 2016 06:48PM |
Registered: 8 years ago Posts: 4 |
Re: PirateBox release 1.1.2 October 06, 2016 05:34AM |
Registered: 11 years ago Posts: 186 |
Re: PirateBox release 1.1.2 October 06, 2016 06:07AM |
Registered: 11 years ago Posts: 186 |
Re: PirateBox release 1.1.2 October 09, 2016 10:05AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: PirateBox release 1.1.2 October 20, 2016 09:45AM |
Registered: 9 years ago Posts: 45 |
Re: PirateBox release 1.1.2 October 21, 2016 05:12AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: PirateBox release 1.1.2 October 24, 2016 05:44PM |
Registered: 9 years ago Posts: 42 |
Re: PirateBox release 1.1.2 October 24, 2016 06:14PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: PirateBox release 1.1.2 October 28, 2016 08:23PM |
Registered: 9 years ago Posts: 42 |
piratebox/src/forest.pyLine 71
CSS_PATH = '/forest.css'should be changed so that the forest.css file would be copy to this css folder instead of the webroot.
piratebox/bin/install_piratebox.shLine 49 and 53
cp -v $PIRATEBOX_FOLDER/src/forest.css $WWW_FOLDER/
chown $LIGHTTPD_USER:$LIGHTTPD_GROUP $WWW_FOLDER/forest.cssshould aso be changed as
cp -v $PIRATEBOX_FOLDER/src/forest.css $WWW_FOLDER/content/css
chown $LIGHTTPD_USER:$LIGHTTPD_GROUP $WWW_FOLDER/content/css/forest.css
chown: /opt/piratebox/www/content/css/forest.css: Operation not permitted
Re: PirateBox release 1.1.2 October 30, 2016 01:09PM |
Admin Registered: 13 years ago Posts: 4,680 |
Language: Diffdiff --git a/piratebox/piratebox/bin/install_piratebox.sh b/piratebox/piratebox/bin/install_piratebox.sh index df13f26..3ffbb6c 100755 --- a/piratebox/piratebox/bin/install_piratebox.sh +++ b/piratebox/piratebox/bin/install_piratebox.sh @@ -46,11 +46,11 @@ PIRATEBOX_CONFIG=$1 if [ $2 = ';pyForum'; ] ; then cp -v $PIRATEBOX_FOLDER/src/forest.py $WWW_FOLDER/cgi-bin - cp -v $PIRATEBOX_FOLDER/src/forest.css $WWW_FOLDER/ + cp -v $PIRATEBOX_FOLDER/src/forest.css $WWW_FOLDER/content/css mkdir -p $PIRATEBOX_FOLDER/forumspace - chmod a+rw -R $PIRATEBOX_FOLDER/forumspace + chmod a+rw -R $PIRATEBOX_FOLDER/forumspace 2> /dev/null chown $LIGHTTPD_USER:$LIGHTTPD_GROUP $WWW_FOLDER/cgi-bin/forest.py - chown $LIGHTTPD_USER:$LIGHTTPD_GROUP $WWW_FOLDER/forest.css + chown $LIGHTTPD_USER:$LIGHTTPD_GROUP $WWW_FOLDER/content/forest.cssi 2> /dev/null echo "Copied the files. Recheck your PirateBox now. " fi diff --git a/piratebox/piratebox/src/forest.py b/piratebox/piratebox/src/forest.py index e91db3c..d2c23bf 100755 --- a/piratebox/piratebox/src/forest.py +++ b/piratebox/piratebox/src/forest.py @@ -64,11 +64,11 @@ import time # ============================================================================ # Where the threads are stored. This folder must exist. -DATA_PATH = ';/opt/piratebox/forumspace/'; +DATA_PATH = ';/opt/piratebox/share/forumspace/'; #Where the forest CGI is located (as a URL). CGI_URL=';/cgi-bin/forest.py'; # Where the main stylesheet is kept (as a URL). -CSS_PATH = ';/forest.css'; +CSS_PATH = ';/content/css/forest.css'; # What is the title of the board? BOARD_TITLE = ';PirateBox Board'; # Simple Description of the board, appears at the top of each page
Re: PirateBox release 1.1.2 November 09, 2016 04:07PM |
Registered: 9 years ago Posts: 42 |
Re: PirateBox release 1.1.2 November 09, 2016 05:01PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: PirateBox release 1.1.2 November 28, 2016 11:03AM |
Re: PirateBox release 1.1.2 November 28, 2016 11:46AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: PirateBox release 1.1.2 November 28, 2016 12:31PM |
Re: PirateBox release 1.1.2 November 28, 2016 12:48PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: PirateBox release 1.1.2 November 28, 2016 12:53PM |
Re: PirateBox release 1.1.2 January 28, 2017 08:27PM |
Registered: 8 years ago Posts: 181 |