Page MenuHomePhabricator
Paste P1704

Upgraded phabricator, started aphlict service and got exception
ActivePublic

Authored by cspeckmim on Jan 14 2015, 9:42 PM.
/var/log does exist as well as /var/log/aphlict.log
+ sudo -u apache /var/www/phabricator/phabricator/bin/aphlict start
[2015-01-14 16:40:15] EXCEPTION: (Exception) Failed to create '/var/log'. You should manually create this directory. at [<phabricator>/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php:44]
#0 PhabricatorAphlictManagementWorkflow::getLogPath() called at [<phabricator>/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php:147]
#1 PhabricatorAphlictManagementWorkflow::getServerArgv() called at [<phabricator>/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php:127]
#2 PhabricatorAphlictManagementWorkflow::willLaunch() called at [<phabricator>/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php:225]
#3 PhabricatorAphlictManagementWorkflow::executeStartCommand() called at [<phabricator>/src/applications/aphlict/management/PhabricatorAphlictManagementStartWorkflow.php:15]
#4 PhabricatorAphlictManagementStartWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:396]
#5 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:292]
#6 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/support/aphlict/server/aphlict_launcher.php:23]

Event Timeline

cspeckmim changed the title of this paste from untitled to Upgraded phabricator, started aphlict service and got exception.
cspeckmim updated the paste's language from autodetect to autodetect.

/var/log/aphlict.log is owned by apache, but /var/log/ is owned by root, so I'm guessing that's the issue. However this problem should've happened before

If you need help with Phabrictor, use Maniphest to file tasks please.

Sorry, I wanted to investigate further before creating a task as it might be a setup issue on my end, but wanted to keep the logs I found somewhere. If this is not an appropriate place I will manage it elsewhere.