Roadmap v0.3.0
Things to check before merging !6 (merged):
- Install :
yunohost app install https://git.domainepublic.net/Neutrinet/neutrinet_ynh/tree/v3.0 --debug
- Cron task is updated and can run:
/etc/cron.daily/neutrinet-renew-cert
DEBUG:Checking expiration date for /etc/openvpn/keys/user.crt INFO:The certificate doesn't need to be renewed. Leaving...
git -C /opt/neutrinet/renew_cert/ status
HEAD detached at 0.3.0 ...
- Nginx config and /neutrinet endpoint is working:
cat /etc/nginx/conf.d/*.d/neutrinet.conf
location /neutrinet/ { alias /var/www/neutrinet; index index.html; }
ls -l /var/www/neutrinet
total 8 -rw-r--r-- 1 neutrinet neutrinet 2593 Nov 1 13:33 index.html drwxr-xr-x 5 neutrinet neutrinet 4096 Nov 1 13:33 static
- Backup:
yunohost backup create -n neutrinet --apps neutrinet --debug
- Remove:
yunohost app remove neutrinet --debug
yunohost app info neutrinet
Error: neutrinet is not installed
ls /var/www/neutrinet
ls: cannot access '/var/www/neutrinet': No such file or directory
cat /etc/nginx/conf.d/*.d/neutrinet.conf
cat: '/etc/nginx/conf.d/*.d/neutrinet.conf': No such file or directory
ls /opt/neutrinet
ls: cannot access '/opt/neutrinet': No such file or directory
ls /etc/cron.daily/neutrinet-renew-cert
ls: cannot access '/etc/cron.daily/neutrinet-renew-cert': No such file or directory
id neutrinet
id: ‘neutrinet’: no such user
- Restore:
- Must be able to restore (check cron script and so on):
yunohost backup restore neutrinet --apps neutrinet --debug
- Must be able to use the backup to migrate to another Yunohost
- Must be able to restore (check cron script and so on):
- Update:
yunohost app upgrade neutrinet -u https://git.domainepublic.net/Neutrinet/neutrinet_ynh/tree/v3.0 --debug
Neutrinet app | Yunohost | Install1 | Update | Backup | Remove | Restore |
---|---|---|---|---|---|---|
0.2 2 | 3.6.5.3 | |||||
0.2 -> 0.2.3 3 4 | 3.6.5.3 | |||||
0.3.0 | 3.6.5.3 |
Notes
-
Check if it's still possible to install the app for the specified version
↩ -
Install from master:
yunohost app install https://git.domainepublic.net/Neutrinet/neutrinet_ynh --debug
. You will need to install virtualenv first:apt install virtualenv
↩ -
Upgrade from master again :
yunohost app upgrade neutrinet -u https://git.domainepublic.net/Neutrinet/neutrinet_ynh --debug
. We need to do this because the install script was incomplete and we need to run the upgrade script to finish the installation…↩ -
Upgrade from v0.2 to v0.2.3 might fail the first time. Run again the upgrade to v0.2.3 and it should work.
↩