Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Moodle installation problem



Normal Mode | Print  

Moodle installation problem
nikita
Group: Softaculous Team
Post Group: Working Newbie
Posts: 58
Status:
Hi,

Apologies for the inconvenience caused to you.

As of Moodle 5.1, the script has made significant changes in their code structure. Only the /public subdirectory should be accessible to the web, while the core application code stays one level above it.
https://docs.moodle.org/501/en/Upgrading#Code_directories_restructure

When you try to install Moodle 5.1 via Softaculous into /public_html/site2, Softaculous attempts to place the core files in /public_html and the web-accessible files in /public_html/site2 Since your /public_html is already a root directory of the another domain, Softaculous is throwing an error. "The folder /home/user/public_html should not be accessible via web. This folder is a document root of another domain"

The error "files are already present" occurs because Softaculous has detected a similar file or directory name in your /public_html directory. Since Softaculous needs to put the new Moodle's core files in the parent directory (/public_html), it sees the existing folders and halts to prevent overwriting or mixing two different Moodle versions.

Instead of installing to a subfolder (site2), create a subdomain (e.g., newsite.yourdomain.com) and point its Document Root to a new, empty folder outside of public_html (e.g., /home/user/newsite_files). This isolates the two installations entirely and satisfies the Moodle 5.1 requirements.

IP: --   


Threads
 daniel_rodriguez   Moodle installation problem, Old install prevents new install? (6 Replies, Read 16365 times)
    |--  nikita   Hi, Apologies for...   on May 7, 2026, 11:42 am
    |--  daniel_rodriguez   Hi Nikita! Thank...   on May 7, 2026, 3:21 pm
    |--  nikita   Hi, Sure. We...   on May 12, 2026, 11:37 am
    |--  bluesteam    Instead of installing...   on June 10, 2026, 9:46 am
    |--  cayhorstmann   I also had...   on June 19, 2026, 3:19 pm
    |--  Brijesh    But Softaculous should...   on August 5, 2026, 11:29 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is August 13, 2026, 1:58 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.580