Factory setting problem

I am following the installation steps: http://www.phabricator.com/docs/phabricator/article/Configuration_Guide.html but cannot successfully install Phabricator. Even I checked the steps many times.

I created a folder in / tmp / codereview and in this folder I downloaded the latest code from Github, as shown 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 installed env. as indicated in the manual:

 $export PHABRICATOR_ENV=/tmp/codereview/phabricator/conf/my 

'my' acutally means 'my.conf.php', I put MySQL information in it. but when I execute the first setup command:

 $./phabricator/bin/storage upgrade 

I received the following 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 many users download it and use it. so the installation should work, am i missing something important?

If you have successfully installed it, can you help me verify what happened to my steps? if you are using any previous release, what is your number so that I can use your release. Thanks.

+4
source share
3 answers

The problem is resolved. this is due to a symbolic link. After I pulled the source code from github, I moved the (scp) folder to another server where I would like to install Phabricator. Symbols will be replaced by real files. this will cause the errors I mentioned above.

Therefore, do not copy the folder directly to another server, you can pack it and copy the tar ball.

+5
source

I tried unsuccessfully for the first time to install it on a (n old) Debian system. I could not get it to work and did not find out what the problem was. On my second attempt:

This process worked very smoothly for me, and I quickly and quickly worked with it! Hope this helps.

+2
source

try PHABRICATOR_ENV=my . If they have not changed anything, it should be relative, not absolute.

0
source

Source: https://habr.com/ru/post/1443253/


All Articles