• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Error open_basedir after update 12.5 to 17 Onyx

psyche699

New Pleskian
Hello al,

I have a error during update plesk 12.5.30 to 17.0.17, with Roundcube.


Code:
PHP Warning:  realpath(): open_basedir restriction in effect. File(/usr/share/psa-roundcube) is not within the allowed path(s): (/var/www/vhosts/domain.com/httpdocs) in /usr/share/psa-roundcube/bin/update.sh on line 22
PHP Warning:  require_once(): open_basedir restriction in effect. File(/program/include/clisetup.php) is not within the allowed path(s): (/var/www/vhosts/domain.com/httpdocs) in /usr/share/psa-roundcube/bin/update.sh on line 24
PHP Warning:  require_once(/program/include/clisetup.php): failed to open stream: Operation not permitted in /usr/share/psa-roundcube/bin/update.sh on line 24
PHP Fatal error:  require_once(): Failed opening required '/program/include/clisetup.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/psa-roundcube/bin/update.sh on line 24

The error is clear, but, i dont know to solve this...
Pleas i need help ASAP..

Thanks
 
Last edited:
With what user are you signed on to the console and which command did you run that produces the output?
 
i test without root user

I have a multiple error :
Code:
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 365

Warning: realpath(): open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/var/log/plesk-roundcube:/usr/share/psa-roundcube:/var/www/vhosts/domain.com


; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/disable-functions
disable_functions =

; This directive allows you to disable certain classes for security reasons.
; It receives a comma-delimited list of class names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/disable-classes
disable_classes =

; Colors for Syntax Highlighting mode.  Anything that's acceptable in
; <span style=color: ???????> would work.
; http://php.net/syntax-highlighting
;highlight.string  = #DD0000
;highlight.comment = #FF9900
;highlight.keyword = #007700
;highlight.default = #0000BB
;highlight.html    = #000000

;  in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_config.php on line 235

Warning: realpath(): open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/var/log/plesk-roundcube:/usr/share/psa-roundcube:/var/www/vhosts/domain.com


; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/disable-functions
disable_functions =

; This directive allows you to disable certain classes for security reasons.
; It receives a comma-delimited list of class names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/disable-classes
disable_classes =

; Colors for Syntax Highlighting mode.  Anything that's acceptable in
; <span style=color: ???????> would work.
; http://php.net/syntax-highlighting
;highlight.string  = #DD0000
;highlight.comment = #FF9900
;highlight.keyword = #007700
;highlight.default = #0000BB
;highlight.html    = #000000

;  in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_config.php on line 235
ERROR: Configuration error. Unsupported database driver: [centos@ ~]$
 
You have at least two critical issues.
a) "PHP: syntax error, unexpected '(' in /etc/php.ini on line 365"
b) "ERROR: Configuration error. Unsupported database driver:"

On a) Check what's wrong in line 365 of your /etc/php.ini file and correct it.
On b) Remove and reinstall webmail from your server, for example by GUI "Updates & Upgrades".

In this case I suggest to run
# plesk repair installation
too, but only after (a) has been fixed, because else there can be further issues because the php.ini file cannot be interpreted correctly.
 
Thanks Peter for you're help !

on a) the connection on database is correct, and all is correct too.

On n) i try this, and now i have access on webmail.
But, i have a other probleme, before i have configured the roundcube for use with the plugin enigma.

I having to check all configuration,/ chown/chmod/open_basedir. But now, i have a error for import or generate key :
Code:
Impossible to generate a key/import the key.

I search on the log, but nothing trace...

Please help me...
 
I suggest to post this other issue you are now experiencing on a different forum, because neither Roundcube, nor the enigma plugin for Roundcube is actually part of Plesk. Plesk is delivering Roundcube, yes, but it is a third party component that is not managed by Plesk. If you experience issues with using Roundcube or expanding it with extras, this would actually be something a Roundcube expert will need to look into. It's not a Plesk issue (one of my favorite sentences on here ;) ...)
 
Back
Top