• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Nextcloud (22) and OpenBaseDir

E42

New Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
18
Hello,
I'm trying to install Nextcloud (through the Plesk extension) in a subdomain (using PHP 7.4 FPM) but it says:

"open_basedir" parameter in PHP settings for domain must include "{WEBSPACEROOT}"


The fact is that the domain DOES include it, as you can see from the PHP settings:
open_basedir: {WEBSPACEROOT}{/}{:}{TMP}{/} (Default)


What could be missing? Thank you
 
The issue is most probably caused by NextCloud bugs EXTCERT-3437 when it is not possible to install a NextCloud extension for the domain when the domain does not resolve to the server IP address.
The mentioned bugs are planned to be fixed in the next extension release version.
Until the bugs will be fixed, please apply the following workaround:
In /etc/ hosts file add the line

xxx.xxx.xxx.xxx sub.domain.tld

where xxx.xxx.xxx.xxx is IP address of your server. Then repeat NextCloud installation.
 
Back
Top