-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Updater fails at the following point
Move new files in place
Could not rmdir /media/ownclouddrive/updater-oc8651su36ek/downloads/nextcloud/apps/comments/l10n
Steps to reproduce:
have datastore mounted via fstab (forgive me for still using owncloud naming)
//SERVERNAME/owncloud/ /media/ownclouddrive/ cifs uid=33,gid=33,defaults,file_mode=0770,dir_mode=0770,rw,username=owncloud-nas,password=XXXXXXX,domain=XXXXXX,noserverino 0 0
user with uid=33 is www-data
from config file
'datadirectory' => '/media/ownclouddrive',
Attempt to update using the built in updater will progress successfully to this point then fail (everytime).
Not sure what the issue is however...
I can do a cp from root account and copies the files fine.
cp -rf /media/ownclouddrive/updater-oc8651su36ek/downloads/nextcloud /var/www
I then just manually finish the process by setting maintenance mode off in config file and carrying on with upgrade via website.
Filled in most of the below
Server configuration
Operating system:
Ubuntu 16.04.1 LTS
Web server:
Server version: Apache/2.4.18 (Ubuntu) (apt-get updated)
Database:
mariadb?
PHP version:
PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )
Nextcloud version: (see Nextcloud admin page)
10.0.2 (also happened when updating from v9.0.52) I was hopeful this was fixed in v 10
Updated from an older Nextcloud/ownCloud or fresh install:
updating from 10.0.2
Where did you install Nextcloud from:
from updater app.
Signing status:
Signing status
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
List of activated apps:
App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
The content of config/config.php:
'oc8651su36ek', 'passwordsalt' => '', 'secret' => '', 'trusted_domains' => array ( 0 => 'xxxxxxxx', ), 'datadirectory' => '/media/ownclouddrive', 'overwrite.cli.url' => 'xxxxxxxxx', 'dbtype' => 'mysql', 'version' => '9.1.2.2', 'dbname' => 'nextcloud', 'dbhost' => '127.0.0.1', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_mentalinc', 'dbpassword' => '', 'logtimezone' => 'xxx', 'installed' => true, 'trashbin_retention_obligation' => 'auto,10', 'updater.release.channel' => 'beta', 'maintenance' => false, 'theme' => '', 'loglevel' => 2, 'updater.secret' => 'xxxxxxxxxxxxxxxx', ); ``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder or Insert your config.php content here (Without the database password, passwordsalt and secret) ``` **Are you using external storage, if yes which one:** local/smb/sftp/... smb to windows 2016 server **Are you using encryption:** yes/no no **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... no #### LDAP configuration (delete this part if not used)