Fixed a missing flag in upgrade documentation
This commit is contained in:
parent
d61208f140
commit
d402a927af
|
@ -196,8 +196,8 @@ On docker-setups::
|
|||
On non docker-setups::
|
||||
|
||||
# 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 -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 create_actors --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 :)
|
||||
|
||||
|
|
|
@ -105,16 +105,16 @@ match what is described in :doc:`/installation/debian`:
|
|||
|
||||
# update os dependencies
|
||||
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
|
||||
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
|
||||
sudo systemctl stop funkwhale.target
|
||||
|
||||
# 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
|
||||
sudo systemctl start funkwhale.target
|
||||
|
|
Loading…
Reference in New Issue