Page MenuHomePhabricator

D7861.diff
No OneTemporary

D7861.diff

Index: scripts/install/update_phabricator.sh
===================================================================
--- scripts/install/update_phabricator.sh
+++ scripts/install/update_phabricator.sh
@@ -33,13 +33,17 @@
# Stop the webserver (apache, nginx, lighttpd, etc). This command will differ
# depending on which system and webserver you are running: replace it with an
# appropriate command for your system.
+# NOTE: If you're running php-fpm, you should stop it here too.
+
sudo /etc/init.d/httpd stop
+
# Upgrade the database schema. You may want to add the "--force" flag to allow
# this script to run noninteractively.
$ROOT/phabricator/bin/storage upgrade
# Restart the webserver. As above, this depends on your system and webserver.
+# NOTE: If you're running php-fpm, restart it here too.
sudo /etc/init.d/httpd start
# Restart daemons.
Index: src/docs/user/installation_guide.diviner
===================================================================
--- src/docs/user/installation_guide.diviner
+++ src/docs/user/installation_guide.diviner
@@ -155,10 +155,10 @@
Since Phabricator is under active development, you should update frequently. To
update Phabricator:
- - Stop the webserver.
+ - Stop the webserver (including `php-fpm`, if you use it).
- Run `git pull` in `libphutil/`, `arcanist/` and `phabricator/`.
- Run `phabricator/bin/storage upgrade`.
- - Restart the webserver.
+ - Restart the webserver (and `php-fpm`, if you stopped it earlier).
For more details, see @{article:Configuration Guide}. You can use a script
similar to this one to automate the process:

File Metadata

Mime Type
text/plain
Expires
Thu, Jun 6, 1:15 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6282049
Default Alt Text
D7861.diff (1 KB)

Event Timeline