{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/2737","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/2737/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/2737/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/2737/events","html_url":"https://github.com/nextcloud/server/issues/2737","id":196238873,"number":2737,"title":"Updater fails to complete","user":{"login":"mentalinc","id":9128092,"avatar_url":"https://avatars3.githubusercontent.com/u/9128092?v=4","gravatar_id":"","url":"https://api.github.com/users/mentalinc","html_url":"https://github.com/mentalinc","followers_url":"https://api.github.com/users/mentalinc/followers","following_url":"https://api.github.com/users/mentalinc/following{/other_user}","gists_url":"https://api.github.com/users/mentalinc/gists{/gist_id}","starred_url":"https://api.github.com/users/mentalinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mentalinc/subscriptions","organizations_url":"https://api.github.com/users/mentalinc/orgs","repos_url":"https://api.github.com/users/mentalinc/repos","events_url":"https://api.github.com/users/mentalinc/events{/privacy}","received_events_url":"https://api.github.com/users/mentalinc/received_events","type":"User","site_admin":false},"labels":[{"id":386379231,"url":"https://api.github.com/repos/nextcloud/server/labels/bug","name":"bug","color":"ee0701","default":true},{"id":399631690,"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20install%20and%20update","name":"feature: install and update","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/28","html_url":"https://github.com/nextcloud/server/milestone/28","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/28/labels","id":2693787,"number":28,"title":"Nextcloud 12.0.3","description":null,"creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars3.githubusercontent.com/u/245432?v=4","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":73,"state":"closed","created_at":"2017-08-10T08:18:35Z","updated_at":"2017-11-09T11:21:14Z","due_on":"2017-09-19T07:00:00Z","closed_at":"2017-09-20T12:29:31Z"},"comments":48,"created_at":"2016-12-17T19:39:11Z","updated_at":"2018-05-13T19:40:18Z","closed_at":"2017-08-20T12:51:15Z","author_association":"NONE","body":"Updater fails at the following point\r\n\r\nMove new files in place\r\nCould not rmdir /media/ownclouddrive/updater-oc8651su36ek/downloads/nextcloud/apps/comments/l10n\r\n\r\nSteps to reproduce:\r\nhave datastore mounted via fstab (forgive me for still using owncloud naming)\r\n//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\r\n\r\nuser with uid=33 is www-data\r\nfrom config file\r\n  'datadirectory' => '/media/ownclouddrive',\r\n\r\nAttempt to update using the built in updater will progress successfully to this point then fail (everytime).\r\nNot sure what the issue is however...\r\n\r\nI can do a cp from root account and copies the files fine.\r\ncp -rf /media/ownclouddrive/updater-oc8651su36ek/downloads/nextcloud /var/www\r\n\r\nI then just manually finish the process by setting  maintenance mode off in config file and carrying on with upgrade via website.\r\n\r\nFilled in most of the below\r\n\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu 16.04.1 LTS\r\n**Web server:**\r\nServer version: Apache/2.4.18 (Ubuntu)  (apt-get updated)\r\n**Database:**\r\nmariadb?\r\n**PHP version:**\r\nPHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )\r\n**Nextcloud version:** (see Nextcloud admin page)\r\n10.0.2 (also happened when updating from v9.0.52) I was hopeful this was fixed in v 10\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:**\r\nupdating from 10.0.2\r\n**Where did you install Nextcloud from:**\r\nfrom updater app.\r\n\r\n**Signing status:**\r\n<details>\r\n<summary>Signing status</summary>\r\n\r\n```\r\nLogin as admin user into your Nextcloud and access \r\nhttp://example.com/index.php/settings/integrity/failed \r\npaste the results here.\r\n```\r\n</details>\r\n\r\n**List of activated apps:**\r\n<details>\r\n<summary>App list</summary>\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ app:list\r\nfrom within your Nextcloud installation folder\r\n```\r\n</details>\r\n\r\n**The content of config/config.php:**\r\n<?php\r\n$CONFIG = array (\r\n  'instanceid' => 'oc8651su36ek',\r\n  'passwordsalt' => '',\r\n  'secret' => '',\r\n  'trusted_domains' =>\r\n  array (\r\n    0 => 'xxxxxxxx',\r\n  ),\r\n  'datadirectory' => '/media/ownclouddrive',\r\n  'overwrite.cli.url' => 'xxxxxxxxx',\r\n  'dbtype' => 'mysql',\r\n  'version' => '9.1.2.2',\r\n  'dbname' => 'nextcloud',\r\n  'dbhost' => '127.0.0.1',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'oc_mentalinc',\r\n  'dbpassword' => '',\r\n  'logtimezone' => 'xxx',\r\n  'installed' => true,\r\n  'trashbin_retention_obligation' => 'auto,10',\r\n  'updater.release.channel' => 'beta',\r\n  'maintenance' => false,\r\n  'theme' => '',\r\n  'loglevel' => 2,\r\n  'updater.secret' => 'xxxxxxxxxxxxxxxx',\r\n);\r\n\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ config:list system\r\nfrom within your Nextcloud installation folder\r\n\r\nor \r\n\r\nInsert your config.php content here\r\n(Without the database password, passwordsalt and secret)\r\n```\r\n</details>\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nsmb to windows 2016 server\r\n**Are you using encryption:** yes/no\r\nno\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nno\r\n#### LDAP configuration (delete this part if not used)\r\n<details>\r\n<summary>LDAP config</summary>\r\n\r\n```\r\nWith access to your command line run e.g.:\r\nsudo -u www-data php occ ldap:show-config\r\nfrom within your Nextcloud installation folder\r\n\r\nWithout access to your command line download the data/owncloud.db to your local\r\ncomputer or access your SQL server remotely and run the select query:\r\nSELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';\r\n\r\n\r\nEventually replace sensitive data as the name/IP-address of your LDAP server or groups.\r\n```\r\n</details>\r\n\r\n### Client configuration\r\n**Browser:**\r\nchrome 55\r\n**Operating system:**\r\nwindows 10 \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/388650841","html_url":"https://github.com/nextcloud/server/issues/2737#issuecomment-388650841","issue_url":"https://api.github.com/repos/nextcloud/server/issues/2737","id":388650841,"user":{"login":"BloodyIron","id":12439391,"avatar_url":"https://avatars3.githubusercontent.com/u/12439391?v=4","gravatar_id":"","url":"https://api.github.com/users/BloodyIron","html_url":"https://github.com/BloodyIron","followers_url":"https://api.github.com/users/BloodyIron/followers","following_url":"https://api.github.com/users/BloodyIron/following{/other_user}","gists_url":"https://api.github.com/users/BloodyIron/gists{/gist_id}","starred_url":"https://api.github.com/users/BloodyIron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BloodyIron/subscriptions","organizations_url":"https://api.github.com/users/BloodyIron/orgs","repos_url":"https://api.github.com/users/BloodyIron/repos","events_url":"https://api.github.com/users/BloodyIron/events{/privacy}","received_events_url":"https://api.github.com/users/BloodyIron/received_events","type":"User","site_admin":false},"created_at":"2018-05-13T19:40:18Z","updated_at":"2018-05-13T19:40:18Z","author_association":"NONE","body":"I just upgraded ownCloud 9.1.4 -> NC 10.0.6 -> NC 11.0.8 -> NC 12.0.7 -> NC 13.0.2\r\n\r\nAnd EVERY single step of the way I had the rmdir permission issue. I have the data folder on an SMB (you're referring to it as CIFS, but the protocol is actually SMB, CIFS is just old nomenclature) mounted share. It has 0770 folders and files, and www-data user AND group owns it recursively. So the permissions should be there for rmdir to work, but it only seemed to be on specific folders, and always the same folders, for every step of the way.\r\n\r\nI REALLY hope this gets fixed. I'm on 13.0.2 now (just finishing up validation) and to endure this each time an upgrade happens is just PAIN.\r\n\r\nI know it's centric to me using an SMB share for the data folder, and I can't quite figure out why it complains about specific folders. Perhaps this is an order of operations issue? Maybe copy all the files over to the new location, THEN delete them from source?"}}
{"actor":{"display_login":"BloodyIron"}}