Hi,
when I try to run occ with www-data user (ie sudo -u www-data php occ upgrade) I get the following message :
“PHP Warning: require_once(): open_basedir restriction in effect. File(/var/www/owncloud/console.php) is not within the allowed path(s): (/dev/urandom) in /var/www/owncloud/occ on line 12
PHP Warning: require_once(/var/www/owncloud/console.php): failed to open stream: Operation not permitted in /var/www/owncloud/occ on line 12
PHP Fatal error: require_once(): Failed opening required ‘/var/www/owncloud/console.php’ (include_path=‘.:/usr/share/php’) in /var/www/owncloud/occ on line 12”
I try to find by myself but now I have no idea. And you?
thanks
best regards
Expected behaviour
With a operational owncloud I update with official depots and synaptic automatic update. when I use the the https site and the update fail.
Actual behaviour
I try using occ as I say before
Server configuration
Operating system:
ubuntu 16.04 uptodate
Web server:
apache2
Database:
mysql
PHP version:
7.0.22
ownCloud version: (see ownCloud admin page)
10.3
Updated from an older ownCloud or fresh install:
9.1.6.2
Where did you install ownCloud from:
http://download.owncloud.org/download/repositories/stable/Ubuntu_17.04/