diff --git a/docs/upgrading/0.17.rst b/docs/upgrading/0.17.rst index 416be61a2f420263c38f2abab8976f89767ba041..5111a99fdc31abc3d0479a899f6829bbee933715 100644 --- a/docs/upgrading/0.17.rst +++ b/docs/upgrading/0.17.rst @@ -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 :) diff --git a/docs/upgrading/index.rst b/docs/upgrading/index.rst index 08422925802e5585a32aaa548aa9a87f635aa3d4..209c4ec25081c8a990460bd80a5f6606818b6981 100644 --- a/docs/upgrading/index.rst +++ b/docs/upgrading/index.rst @@ -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