From d402a927af842e6e390d4e12c98608b76c5cc15f Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> Date: Tue, 22 Jan 2019 14:08:26 +0100 Subject: [PATCH] Fixed a missing flag in upgrade documentation --- docs/upgrading/0.17.rst | 4 ++-- docs/upgrading/index.rst | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/upgrading/0.17.rst b/docs/upgrading/0.17.rst index 416be61a..5111a99f 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 08422925..209c4ec2 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 -- GitLab