• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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