Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15353671
D7861.id17784.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7861.id17784.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 11, 11:37 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7312392
Default Alt Text
D7861.id17784.diff (1 KB)
Attached To
Mode
D7861: Note where to stop/start php-fpm in upgrade example script
Attached
Detach File
Event Timeline
Log In to Comment