Fixed a missing flag in upgrade documentation

This commit is contained in:
Eliot Berriot 2019-01-22 14:08:26 +01:00
parent d61208f140
commit d402a927af
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 5 additions and 5 deletions

View File

@ -196,8 +196,8 @@ On docker-setups::
On non docker-setups:: On non docker-setups::
# if you missed this one from a previous upgrade # if you missed this one from a previous upgrade
sudo -u funkwhale -E /srv/funkwhale/virtualenv/bin/python api/manage.py script create_actors --no-input sudo -u funkwhale -H -E /srv/funkwhale/virtualenv/bin/python api/manage.py script create_actors --no-input
sudo -u funkwhale -E /srv/funkwhale/virtualenv/bin/python api/manage.py script migrate_to_user_libraries --no-input sudo -u funkwhale -H -E /srv/funkwhale/virtualenv/bin/python api/manage.py script migrate_to_user_libraries --no-input
If the scripts ends without errors, you're instance should be updated and ready to use :) If the scripts ends without errors, you're instance should be updated and ready to use :)

View File

@ -105,16 +105,16 @@ match what is described in :doc:`/installation/debian`:
# update os dependencies # update os dependencies
sudo api/install_os_dependencies.sh install sudo api/install_os_dependencies.sh install
sudo -u funkwhale -E /srv/funkwhale/virtualenv/bin/pip install -r api/requirements.txt sudo -u funkwhale -H -E /srv/funkwhale/virtualenv/bin/pip install -r api/requirements.txt
# collect static files # collect static files
sudo -u funkwhale -E /srv/funkwhale/virtualenv/bin/python api/manage.py collectstatic --no-input sudo -u funkwhale -H -E /srv/funkwhale/virtualenv/bin/python api/manage.py collectstatic --no-input
# stop the services # stop the services
sudo systemctl stop funkwhale.target sudo systemctl stop funkwhale.target
# apply database migrations # apply database migrations
sudo -u funkwhale -E /srv/funkwhale/virtualenv/bin/python api/manage.py migrate sudo -u funkwhale -H -E /srv/funkwhale/virtualenv/bin/python api/manage.py migrate
# restart the services # restart the services
sudo systemctl start funkwhale.target sudo systemctl start funkwhale.target