Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

Install Moodle Failed. Topic is solved

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
putude
Posts: 10
Joined: Fri Oct 13, 2017 6:41 am

Os: CentOS 6x
Web: apache + nginx
Install Moodle Failed.
  • Quote

Post by putude » Wed Jul 22, 2020 6:03 pm

Hi,
I would like to install Moodle (.tgz file)
The installation was failed with the following error
Warning: file_exists(): open_basedir restriction in effect. File(/home/admin/web/MYDOMAIN/moodledata) is not within the allowed path(s): (/home/admin/web/MYDOMAIN/public_html:/home/admin/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcube:/var/log/roundcube:/var/lib/roundcube) in /home/admin/web/MYDOMAIN/public_html/install.php on line 329

Warning: is_writable(): open_basedir restriction in effect. File(/home/admin/web/MYDOMAIN) is not within the allowed path(s): (/home/admin/web/MYDOMAIN/public_html:/home/admin/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcube:/var/log/roundcube:/var/lib/roundcube) in /home/admin/web/MYDOMAIN/public_html/install.php on line 333
I found the same problem viewtopic.php?t=12158 but I don't get it.
What should I do to remove the restriction effect to solve this problem?
(I'm using Debian).
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Install Moodle Failed.
  • Quote

Post by grayfolk » Wed Jul 22, 2020 9:09 pm

Try to use another Web Template, default for example.
Or update open_basedir value via .htaccess.
Top

putude
Posts: 10
Joined: Fri Oct 13, 2017 6:41 am

Os: CentOS 6x
Web: apache + nginx
Re: Install Moodle Failed.
  • Quote

Post by putude » Thu Jul 23, 2020 12:46 am

Thank you @grayfolk,
I tried it and it works after reboot the VPS.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password