diff options
Diffstat (limited to 'devel/phabricator/files/pkg-message.in')
-rw-r--r-- | devel/phabricator/files/pkg-message.in | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/devel/phabricator/files/pkg-message.in b/devel/phabricator/files/pkg-message.in index 2130c4cd6b90..f03f06d656cd 100644 --- a/devel/phabricator/files/pkg-message.in +++ b/devel/phabricator/files/pkg-message.in @@ -43,15 +43,6 @@ A phabricator example configuration installed here: %%PREFIX%%lib/php/phabricator/conf/local/local.json.sample -Don't forget to update the database schema after update: - - service phd stop - cd %%PREFIX%%/lib/php/phabricator - ./bin/storage upgrade - service phd start - -You also might want to stop the web server while upgrading the database. - If you want to access phabricator hosted git repositories via git, you can add the following configuration snippet to /etc/sshd_config and reload sshd afterwards (`service sshd reload'): @@ -74,5 +65,28 @@ Match User git X11Forwarding no ======================================================================== EOM +}, +{ type: upgrade + message: <<EOM +Don't forget to update the database schema after update: + + service nginx stop + service php-fpm stop + service phd stop + cd %%PREFIX%%/lib/php/phabricator + ./bin/storage upgrade + service phd start + service php-fpm start + service nginx start + +The above procedure is for users of nginx and php-fpm, please adapt +accordingly to match your setup. + +If your configuration uses an unprivileged user to connect to the database, +you may have to override the default user so the schema changes can be +applied with root or some other admin user: + + ./bin/storage upgrade --user <user> --password <password> +EOM } ] |