-
Notifications
You must be signed in to change notification settings - Fork 5
Update server
Lennart Heinrich edited this page Mar 9, 2021
·
1 revision
only works on default installation!
bash <(curl -s https://ltheinrich.de/dl/update-etopa.sh)
Backup web config
sudo mv /var/www/etopa/config.js /var/www/._etopa_www_config.js
Delete old web files
sudo rm -r /var/www/etopa/*
Download and extract new web files
sudo wget -O /tmp/etopa.tar.xz https://github.com/ltheinrich/etopa/releases/latest/download/etopa.tar.xz
sudo tar xfJ /tmp/etopa.tar.xz -C /var/www/etopa
Restore web config
sudo mv /var/www/._etopa_www_config.js /var/www/etopa/config.js
Stop etopa
sudo systemctl stop etopa
Download new etopa binary
sudo wget -O /usr/bin/etopa https://github.com/ltheinrich/etopa/releases/latest/download/etopa && sudo chmod +x /usr/bin/etopa
Start etopa
sudo systemctl start etopa