• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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