We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Moodle Installation w/ Softaculous
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.
-
- Posts: 1
- Joined: Fri Nov 06, 2020 4:40 am
- Os: CentOS 6x
- Web: apache + nginx
Moodle Installation w/ Softaculous
Dear all,
I am newbie for Vesta CP. Actually, I have a VPS server installed with VestaCP and using Softaculous to install Moodle 3.9.2 for education purpose.
Installation process is complete and showing me successfully installed.
Unfortunately, it shows me with the following error for accessing mydomain.com or mydomain.com/admin (installed at root) :
Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
As suggested with dataroot, I have tried to edit and change path for moodledata and set the changes in the
/home/admin/web/mydomain.com/public_html/config.php
Trial 1: /home/admin/moodledata
At CentOS, I have also tried the command for the folder
chcon -Rv -t httpd_sys_rw_content_t /home/admin/moodledata
Trial 2: copy all the moodledata to the folder with "cp -r"
/home/admin/web/mydomain.com/moodledata
Trial 3: type Linux command
setenforce=0
For the trial 1,2,3, I have restarted the Apache + Nginx. By the way, I am using MariaDB 10.4 and PHP 7.4.12.
Actually, I have also compared my cheap shared hosting plan at the bluehost.com. At there, it is something like /home2/xxxyyy/moodledata.
Is there anything missing? If anyone has any clues, please kindly share. Thanks in advance.
Regards,
AM
CentOS 7 / Nginx+Apache / PHP 7.4.12 / MariaDB 10.4
I am newbie for Vesta CP. Actually, I have a VPS server installed with VestaCP and using Softaculous to install Moodle 3.9.2 for education purpose.
Installation process is complete and showing me successfully installed.
Unfortunately, it shows me with the following error for accessing mydomain.com or mydomain.com/admin (installed at root) :
Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
As suggested with dataroot, I have tried to edit and change path for moodledata and set the changes in the
/home/admin/web/mydomain.com/public_html/config.php
Trial 1: /home/admin/moodledata
At CentOS, I have also tried the command for the folder
chcon -Rv -t httpd_sys_rw_content_t /home/admin/moodledata
Trial 2: copy all the moodledata to the folder with "cp -r"
/home/admin/web/mydomain.com/moodledata
Trial 3: type Linux command
setenforce=0
For the trial 1,2,3, I have restarted the Apache + Nginx. By the way, I am using MariaDB 10.4 and PHP 7.4.12.
Actually, I have also compared my cheap shared hosting plan at the bluehost.com. At there, it is something like /home2/xxxyyy/moodledata.
Is there anything missing? If anyone has any clues, please kindly share. Thanks in advance.
Regards,
AM
CentOS 7 / Nginx+Apache / PHP 7.4.12 / MariaDB 10.4