I upgraded my phabricator install last night and after the upgrade finished phabricator reported a setup issue that it couldn't contact the aphlict server.
I verified:
- The aphlict server was started and could be restarted, without any affect to the service.
- The log file (/var/log/aphlict.log) is owned by 'apache' user which runs the aphlict service.
- The log file's last log line indicates that it started the service around the time I upgraded, but no other activity in the log file even after restarting the service multiple times.
Relevant part of update script:
# If running the notification server, start it. sudo -u apache $ROOT/phabricator/bin/aphlict start
Probing around
[cspeck@machine ~]$ ls -al /var/log/aphlict.log -rw-r--r--. 1 apache apache 66234 Jan 18 12:23 /var/log/aphlict.log [cspeck@machine ~]$ tail /var/log/aphlict.log ... [Sun Jan 18 2015 12:23:23 GMT-0500 (EST)] Started Server (PID 63146) [cspeck@machine ~]$ ps aux | grep aphlict apache 52523 0.3 0.2 325196 22220 pts/0 S 11:45 0:07 php /var/www/phabricator/phabricator/bin/aphlict start [cspeck@machine ~]$ /var/www/phabricator/phabricator/bin/aphlict status Aphlict (52523) is running. [cspeck@machine ~]$ curl http://localhost:22281 curl: (7) couldn't connect to host [cspeck@machine ~]$ curl http://localhost:22280 curl: (7) couldn't connect to host