How to easily upgrade the PirateBox Pi October 04, 2015 11:32AM |
Registered: 8 years ago Posts: 3 |
Re: How to easily upgrade the PirateBox Pi October 06, 2015 05:19PM |
Admin Registered: 13 years ago Posts: 4,680 |
systemctl stop piratebox # Stop all PirateBox related process systemctl stop minidlna # Stop minidlna cp /opt/piratebox/share/Shared/piratebox-ws_current.tar.gz /tmp #copy the source to a temporary folder mv /opt/piratebox /opt/piratebox_old # rename the piratebox working folder cd /tmp tar xzf piratebox-ws_current.tar.gz # extract the sourcecode cp -rv piratebox/piratebox /opt # Copy over the new source code rm /opt/piratebox/share # remove the default folder for share mv /opt/piratebox_old/share /opt/piratebox/ # transfer the old one to the new one systemctl start piratebox #restart the services again systemctl start minidlna