Installation help

 
 
Picture of Neeraj Bohra
Installation Errors
 

I am trying to instal Moodle 2.3.3+ on my CentOs server , but i am getting this below errors , Any help ??

 

 

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/mydomain.org/moodledata) is not within the allowed path(s): (/var/www/vhosts/mydomain.org/httpdocs/:/tmp/) in /var/www/vhosts/mydomain.org/httpdocs/moodle/install.php on line 307 Warning: is_writable(): open_basedir restriction in effect. File(/var/www/vhosts/mydomain.org) is not within the allowed path(s): (/var/www/vhosts/mydomain.org/httpdocs/:/tmp/) in /var/www/vhosts/mydomain.org/httpdocs/moodle/install.php on line 311
Installation


-----------------------

Parent directory (/var/www/vhosts/mydomain.org) is not writeable. Data directory (/var/www/vhosts/mydomain.org/moodledata) cannot be created by the installer.

 
Average of ratings: -
Picture of Ken Task
Re: Installation Errors
Group Particularly helpful Moodlers

From what is shared, looks like you are on a shared hosting system (ie, multiple clients share the server) that has restrictions.  Mind disclosing what hosting provider? And, have you contacted hosting provider help desk to see what they can do?

'spirit of sharing', Ken

 
Average of ratings: -
Picture of Neeraj Bohra
Re: Installation Errors
 

Yes , i have couple of websites running on that server , and i contacted my hosting provider , But they are saying that its a installation error and they can't do anything.

 

I saw somewhere that if i create Moodledata directory outside web share folder like "../lib/moodledata" then it will resolve the issues , i tried but its not working for me.

Any help will make my life easier smile

 

 
Average of ratings: -
Picture of Ken Task
Re: Installation Errors
Group Particularly helpful Moodlers

Run many CentOS servers but not any remotely hosted thus have full control over config and no restrictions.  Your hosting provider does have restrictions on a shared hosting server and is in conflict with Moodle's requirement to have moodledata NOT directly accessible via web browser (ie, NOT in document root). 

Document root on your hosting system is:
/var/www/vhosts/mydomain.org/httpdocs/

Question:

** Can you set document root for:
/var/www/vhosts/mydomain.org/httpdocs/moodle/

Then, moodledata folder can reside in httpdocs and their setup shouldn't complain - and moodle installation shouldn't complain either.

BTW, your hosting provider is a little incorrect in saying it's an installation error and they *can't* do anything about it.  It is an error the way they have configured their shared hosting for Moodle from which it appears they will make no exceptions.

To be totally honest, if one has issues (and no cooperation from provider), will there be other issues in the future?  Consider that Moodle 2 may NOT run very well on some shared hosting solutions.  So, one might have to 'shop' for a provider that can and does setup systems that support Moodle 2.  My 2 cent opinion, of course.

'spirit of sharing', Ken

 

 
Average of ratings: -
Picture of Neelima Rathore
Re: Installation Errors
 

Hi Team,

I have got the same error and yet to see any solution for this. I am using net4.in hosting and they also told that they cant do anything and confessed that are using shared hosting. How about going for godaddy.com

Does anybody have any idea/ inputs.

 
Average of ratings: -
Picture of Visvanath Ratnaweera
Advice on a hosting provider: net4.in, godaddy.com, ...
Group Particularly helpful Moodlers
Hi Neelima

The topic of finding an internet hosting service happens in the "Hardware and Performance" forum https://moodle.org/mod/forum/view.php?id=596.

There were quite a few discussions on GoDaddy recently. You can go through recent discussions or make use of the "'Using Moodle' advanced search" mentioned in the introduction to that forum.
 
Average of ratings: -
Picture of Neelima Rathore
Re: Advice on a hosting provider: net4.in, godaddy.com, ...
 

Thanks, i went for godaddy.com

 
Average of ratings: -
Picture of Rick Jerz
Re: Advice on a hosting provider: net4.in, godaddy.com, ...
Group Particularly helpful Moodlers

Out of curiosity, which package did you choose?

 
Average of ratings: -
Picture of Neelima Rathore
Re: Advice on a hosting provider: net4.in, godaddy.com, ...
 

i tried with net4.in over advanced hosting however failed since i was not able to provide secure location for moodledata.

i tried and succeeded on Deluxe hosting over godaddy.com however could install only 2.2 since they provide mysql 5.0

 
Average of ratings: -
Picture of Rick Jerz
Re: Advice on a hosting provider: net4.in, godaddy.com, ...
Group Particularly helpful Moodlers

Okay, no VPS (yet). smile

 
Average of ratings: -