-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install Error at 0 % - Log is empty #791
Comments
I see the logs of the server and here is what i get [Tue Dec 09 15:28:53 2014] [error] [client ~] PHP Warning: fopen(): open_basedir restriction in effect. File(/tmp/install.log) is not within the allowed path(s): (/var/www/user/data:.) in /var/www/user/data/www/mysite.com/magento2/setup/module/Magento/Setup/src/Model/WebLogger.php on line 68, referer: http://mysite.com/magento2/setup/ |
Ok so i have tried on local linux with latest php and mysql and here is what i get So it all finally started .. http://prntscr.com/5ev9nl BUT The php is starting to swear at me :D - http://prntscr.com/5evbzd So i guess there is a bug in the installaion process.. a php issue? |
What version of MySQL do you have? it supports only MySQL 5.6 |
@mazhalai How do i update it then... |
Please refer to "Installing and configuring MySQL" https://github.com/magento/magento2#mysql |
@mazhalai |
I have installed MySql 5.6 and i still ahve the same errors... [Wed Dec 10 14:24:22 2014] [error] [client 46.55.111.162] PHP Warning: fopen(): open_basedir restriction in effect. File(/tmp/install.log) is not within the allowed path(s): (/var/www/alex/data:.) in /var/www/alex/data/www/mysite.com/magento2/setup/module/Magento/Setup/src/Model/WebLogger.php on line 68, referer: http://mysite.com/magento2/setup/ [Wed Dec 10 14:24:22 2014] [error] [client 46.55.111.162] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/alex/data/www/mysite.commagento2/setup/module/Magento/Setup/src/Model/WebLogger.php on line 146, referer: http://mysite.com/magento2/setup/ |
@Crustymd you don't have write permissions for directory /tmp and add write permissions for directories:
and try again |
@Crustymd check your open-basedir setting For hosts with settings like
sys_get_temp_dir() is not accurate and still returns /tmp directory |
Even if i set the folder and file permission to 777 I still get these errors... |
@pavelnovitsky said about open-basedir, disable this module, or configure it |
@dropsql @mazhalai @pavelnovitsky I have disabled open-basedir and yes installation worked as charm with no error log... But now i can not access front-end or the back-end by the links provieded and the installation finish message On the front end i just get the message of Appache Test Page |
@Crustymd I think you have an error in virtualhost, which you configured for magento2, you should check it or send to this issue |
This is what's new in the log of the server. p.s. I am installing this on online server Based on CentOS6 [Wed Dec 10 16:56:41 2014] [error] [client 46.55.111.162] File does not exist: /var/www/alex/data/www/mysite.com/m2_min, referer: http://mysite.com/magento2/setup/ /m2_min - is the admin root |
@Crustymd I said about virtual host, but you sent logs.
|
oh sorry here they are <VirtualHost 39.153.14.183:81 > |
php_admin_value open_basedir "none" Try to change it to php_admin_value open_basedir "/var/www/alex/data:.:/tmp:/var/www/alex/data/mod-tmp" it's not optimal, but can help to locate problem |
it is diabed already... Or the fact that it has value none does not mean it is disabled? i dont really understand why you gave me this link.. |
I dont think that DISABLE-ing the open_basedir is a good idea. As for installation is written that went with succes but i look at the folder and i see inside the setup or the domain itself NO changes or new files. It creates impression that the installation process did not get errors but it did not have a directory to install things to because the base directory has the value "none" |
That was actually the value it had BEFORE i set the value to none. With the value you tell me to put it did not work :) |
Well guys i have no more idea what could this be, so i can't do anything more then just wait for a solution or idea from you. Thank you |
Your log says |
Chech for what exactly? Sorry am tired ao i dont follow ur idea |
Look for presence of |
So i found about Options and Indexes in the httpd.conf:
And in the .htaccess i found none... |
|
ok i have removed and here it is the new error )) And the error log:
|
2 options now to see the error:
|
I have done point 1 and here it is
|
Please see solution in #663 |
@mazhalai |
@Crustymd is your |
@Crustymd , do you still have this issue? |
I will check it on morning. Thank you. Sorry was abroad |
@Crustymd ticked is closed due inactivity more then 2 weeks. If you still having the issue - feel free to reopen. |
MAGETWO-58596: Remove uses of unserialize in Module_Widget
So i ahve installed all as it should be, all teh steps till step 6 show now error DB - check goes well.
And when i run it this is what i get. And the log is empty have no idea what to do next. Any help?
http://prntscr.com/5euuld
The text was updated successfully, but these errors were encountered: