Jump to content

Vagrant / CentOS Installation Issues (permissions)


Recommended Posts

I am attempting to install Prestashop in a local Vagrant environment. For information on Vagrant here's a link. http://www.vagrantup.com

 

Basically it creates a virtual box (in this case CentOS) on your machine ( I'm using a MacBook Pro)

 

During installation, I'm having serious issues. They appear to be permissions based.

 

as a last resort, I've started with CHMOD 0777 on everything to see if it works, but it's still breaking.

 

here's a copy of my error log...

 

[Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning:  file_put_contents(/domain/www/translations/en/fields.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 123, referer: http://local.domain/install/index.php
[Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning:  file_put_contents(/domain/www/translations/en/errors.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 123, referer: http://local.domain/install/index.php
[Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning:  file_put_contents(/domain/www/translations/en/admin.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 123, referer: http://local.domain/install/index.php
[Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning:  file_put_contents(/domain/www/translations/en/pdf.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 123, referer: http://local.domain/install/index.php
[Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning:  file_put_contents(/domain/www/translations/en/tabs.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 128, referer: http://local.domain/install/index.php
[Fri Jun 14 21:04:16 2013] [error] [client 33.33.33.1] PHP Warning:  include(/domain/www/translations/en/tabs.php): failed to open stream: No such file or directory in /domain/www/controllers/admin/AdminTranslationsController.php on line 579, referer: http://local.domain/install/index.php
[Fri Jun 14 21:04:16 2013] [error] [client 33.33.33.1] PHP Warning:  include(): Failed opening '/domain/www/translations/en/tabs.php' for inclusion (include_path='/usr/share/pear:/vagrant:/usr/include/php:.') in /domain/www/controllers/admin/AdminTranslationsController.php on line 579, referer: http://local.domain/install/index.php
[Fri Jun 14 21:04:16 2013] [error] [client 33.33.33.1] PHP Warning:  Invalid argument supplied for foreach() in /domain/www/controllers/admin/AdminTranslationsController.php on line 581, referer: http://local.domain/install/index.php
[Fri Jun 14 21:04:16 2013] [error] [client 33.33.33.1] PHP Warning:  copy(/domain/www/img/l/1.jpg): failed to open stream: Permission denied in /domain/www/install/models/install.php on line 323, referer: http://local.domain/install/index.php
[Fri Jun 14 21:08:25 2013] [error] [client 33.33.33.1] PHP Warning:  ZipArchive::extractTo(): Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true
[Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning:  ZipArchive::extractTo(/domain/www/modules//gamification/fr.php): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true
[Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning:  ZipArchive::extractTo(/domain/www/modules//gamification/sql_install.php): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true
[Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning:  ZipArchive::extractTo(/domain/www/modules//gamification/prestashop.pub): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true
[Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning:  ZipArchive::extractTo(/domain/www/modules//gamification/de.php): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true
[Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning:  ZipArchive::extractTo(/domain/www/modules//gamification/logo.gif): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true
[Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning:  ZipArchive::extractTo(/domain/www/modules//gamification/gamification.php): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true
[Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning:  ZipArchive::extractTo(): Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true

 

 

it might be the apache user, but I'm still a novice at linux users/groups

 

any suggestions would be appreciated.

Edited by zibix (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...