I'm following the installation steps: http://www.phabricator.com/docs/phabricator/article/Configuration_Guide.html, but can't install Phabricator successfully. Even I've checked the steps many times.
I created a folder in /tmp/codereview and in this folder, I downloaded the latest code from Github as below:
drwxr-xr-x 8 root root 4096 Oct 31 16:28 arcanist
drwxr-xr-x 7 root root 4096 Oct 31 16:28 libphutil
drwxr-xr-x 11 root root 4096 Oct 31 17:23 phabricator
I also set the env. variable as just the manual indicated:
$export PHABRICATOR_ENV=/tmp/codereview/phabricator/conf/my
'my' acutally means 'my.conf.php', I've put the MySQL info in it. but when I execute the first setup command:
$./phabricator/bin/storage upgrade
I got the follow error messages:
PHP Warning: require_once(/tmp/codereview/scripts/__init_script__.php): failed to open stream: No such file or directory in /tmp/codereview/phabricator/bin/storage on line 21
PHP Fatal error: require_once(): Failed opening required '/tmp/codereview/scripts/__init_script__.php' (include_path='.:/usr/share/pear:/usr/share/php') in /tmp/codereview/phabricator/bin/storage on line 21
I think this is from Facebook and a lot of users are downloading it and using it. so the installation should work, do I miss something important?
If you have installed it successfully, can you help check what's wrong with my steps? if you use some previous release, what's your number, so I could use your release instead. Thanks.
Problem solved. this is due to the symbolic link. After I pulled the source code from github, I transferred(scp) the folder to another server where I'd like to install Phabricator. The symbolic will be replaced with real files. this will cause errors as I mentioned above.
So don't copy the folder directly to other server, you could package it and copy the tar ball.
I unsuccessfully attempted to install it the first time on a(n old) Debian system. I couldn't get it working and didn't end up figuring out what the problem was. On my second attempt:
This process worked very smoothly for me and I was up and running with it in no time! Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With