Steps to reproduce
- Start Nextcloud Updater via Settings Panel
- Click Start Update Button
Expected behaviour
dont leave the root directory of nextcloud
Actual behaviour
Tell us what happens instead
The Updater Script leaves the root directory of Nextcloud for update.
Nextcloud ist located in the root of the subdomain without sub-folder.
The root folder for domain AND nextcloud is /var/vhosts/xxxx/subs/oc/
Updater Report:
Initializing
Current version is 11.0.0.
Update to Nextcloud 11.0.1 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-11.0.1.zip
Check for expected files
Check for write permissions
SplFileInfo::isDir(): open_basedir restriction in effect. File(/var/vhosts/xxxx/subs/oc/updater/../..) is not within the allowed path(s): (/var/vhosts/xxxx/subs/oc/:/var/vhosts/xxxx/phptmp/:/dev/urandom:/usr/sbin/sendmail:/proc/meminfo)
Server configuration
Operating system:
Ubuntu 16.04 LTS
Web server:
nginx
Database:
Type: mysql
Version: 5.7.17
PHP version:
7.0.14 (php-fpm)
Nextcloud version: (see Nextcloud admin page)
11.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
fresh
Where did you install Nextcloud from:
Steps to reproduce
Expected behaviour
dont leave the root directory of nextcloud
Actual behaviour
Tell us what happens instead
The Updater Script leaves the root directory of Nextcloud for update.
Nextcloud ist located in the root of the subdomain without sub-folder.
The root folder for domain AND nextcloud is /var/vhosts/xxxx/subs/oc/
Updater Report:
Initializing
Current version is 11.0.0.
Update to Nextcloud 11.0.1 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-11.0.1.zip
Check for expected files
Check for write permissions
SplFileInfo::isDir(): open_basedir restriction in effect. File(/var/vhosts/xxxx/subs/oc/updater/../..) is not within the allowed path(s): (/var/vhosts/xxxx/subs/oc/:/var/vhosts/xxxx/phptmp/:/dev/urandom:/usr/sbin/sendmail:/proc/meminfo)
Server configuration
Operating system:
Ubuntu 16.04 LTS
Web server:
nginx
Database:
Type: mysql
Version: 5.7.17
PHP version:
7.0.14 (php-fpm)
Nextcloud version: (see Nextcloud admin page)
11.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
fresh
Where did you install Nextcloud from: