Page 1 of 1

PLEASE HELP! 500 Error...

Posted: Tue Sep 26, 2017 12:48 pm
by benlauwork
I have purchased Linode server and install Ubuntu 16.04 LTS Profile.
and then I install vestacp by default..(bash vst-install.sh)<< this one
After that, I follow this guideline and change nameserver. (https://vestacp.com/docs/#how-to-setup- ... ameservers)
I also add my another domain to this nameserver

My domain is gingerpills.org

Im going to install magento 2 store.. After I upload all file and it shows 500 error...

Links: gingerpills.org/setup

Aprecaite to help..Im beginner for vps something... Thanks so much!

Re: PLEASE HELP! 500 Error...

Posted: Tue Sep 26, 2017 2:16 pm
by gecube_ru
The 500 error may have different reasons.
It is good idea to check the log files of WEB-server (nginx and/or apache). They are located in catalogue similar to /home/<username>/web/<domainname>/logs/

I bet that you ran into the permission issue.

Re: PLEASE HELP! 500 Error...

Posted: Wed Sep 27, 2017 12:53 am
by benlauwork

Code: Select all

[Tue Sep 26 12:38:46.740378 2017] [:error] [pid 11859] [client 198.58.101.138:34024] PHP Warning:  realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/gingerpills.org/public_html:/home/admin/tmp) in /home/admin/web/gingerpills.org/public_html/vendor/magento/framework/Filesystem/DirectoryList.php on line 99
[Tue Sep 26 12:38:46.889661 2017] [:error] [pid 11859] [client 198.58.101.138:34024] PHP Fatal error:  Uncaught Exception: Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/gingerpills.org/public_html:/home/admin/tmp) in /home/admin/web/gingerpills.org/public_html/vendor/magento/framework/Filesystem/DirectoryList.php on line 99 in /home/admin/web/gingerpills.org/public_html/vendor/magento/framework/App/ErrorHandler.php:61\nStack trace:\n#0 [internal function]: Magento\\Framework\\App\\ErrorHandler->handler(2, 'realpath(): ope...', '/home/admin/web...', 99, Array)\n#1 /home/admin/web/gingerpills.org/public_html/vendor/magento/framework/Filesystem/DirectoryList.php(99): realpath('/tmp')\n#2 /home/admin/web/gingerpills.org/public_html/vendor/magento/framework/App/Filesystem/DirectoryList.php(145): Magento\\Framework\\Filesystem\\DirectoryList->__construct('/home/admin/web...', Array)\n#3 /home/admin/web/gingerpills.org/public_html/setup/src/Magento/Setup/Mvc/Bootstrap/InitParamListener.php(253): Magento\\Framework\\App\\Filesystem\\DirectoryList->__construct( in /home/admin/web/gingerpills.org/public_html/vendor/magento/framework/App/ErrorHandler.php on line 61
What does it mean? How can I solve the problem? Thanks!