Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(NC14 is broken) Can't update with GUI or manually #12014

Closed
Ammar7347 opened this issue Oct 24, 2018 · 13 comments
Closed

(NC14 is broken) Can't update with GUI or manually #12014

Ammar7347 opened this issue Oct 24, 2018 · 13 comments

Comments

@Ammar7347
Copy link

I updated from Nextcloud 13 to 14 4 days ago. I tried updating via GUI as usual but I get an error and then maintenance mode stays active. I tried updating via CLI and same problem. Please see screenshots for further clarification. Any help regarding this would be highly appreciated.

image

1540040527

I'm using Debian 8 and php7.

Regards,
Ammar

@nextcloud-bot nextcloud-bot added bug design Design, UI, UX, etc. labels Oct 24, 2018
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #5909 (Update broken on PGSQL), #6277 (Broken instance after Update), #2890 (Update to NC 11 seems to break integration with Gnome), #3001 (Bug after Update from NC10 to NC11: Sharing with users breaks ), and #11207 (Folders don't load, files can't be download files after update to NC14).

@violoncelloCH violoncelloCH added feature: install and update and removed design Design, UI, UX, etc. labels Oct 24, 2018
@violoncelloCH
Copy link
Member

Could you provide error logs? (As the issue tenplate requests)

@Ammar7347
Copy link
Author

nextcloud.log

@kesselb
Copy link
Contributor

kesselb commented Oct 24, 2018

Could you post ls -al /var/www/nextcloud/apps (if this is your app directory). I guess we had some similiar reports here:

#10954
#11199
#11166
#11155

@Ammar7347
Copy link
Author

total 448
drwxr-xr-x 112 www-data www-data 4096 Oct 19 21:43 .
drwxr-xr-x 15 www-data www-data 4096 Oct 19 21:43 ..
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 accessibility
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 activity
drwxr-xr-x 5 www-data www-data 4096 Oct 19 21:43 admin_audit
drwxr-xr-x 5 www-data www-data 4096 May 25 11:52 admin_notifications
drwxr-xr-x 9 www-data www-data 4096 May 25 11:57 announcementcenter
drwxr-xr-x 10 www-data www-data 4096 Aug 5 07:31 apporder
drwxr-xr-x 10 www-data www-data 4096 Sep 29 23:26 audioplayer
drwxr-xr-x 11 www-data www-data 4096 Sep 11 10:21 bookmarks
drwxr-xr-x 8 www-data www-data 4096 Oct 19 21:41 bookmarks_fulltextsearch
drwxr-xr-x 10 www-data www-data 4096 Jul 4 15:05 bruteforcesettings
drwxr-xr-x 10 www-data www-data 4096 May 25 11:54 calendar
drwxr-xr-x 8 www-data www-data 4096 Oct 19 21:41 camerarawpreviews
drwxr-xr-x 12 www-data www-data 4096 Sep 11 10:21 circles
drwxr-xr-x 4 www-data www-data 4096 Oct 19 21:43 cloud_federation_api
drwxr-xr-x 12 www-data www-data 4096 May 25 12:08 cms_pico
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 comments
drwxr-xr-x 13 www-data www-data 4096 Aug 20 16:43 dashboard
drwxr-xr-x 9 www-data www-data 4096 Jul 4 15:03 data_request
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 dav
drwxr-xr-x 11 www-data www-data 4096 Aug 5 07:31 deck
drwxr-xr-x 8 www-data www-data 4096 Sep 11 10:21 dicomviewer
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:41 drop_account
drwxr-xr-x 8 www-data www-data 4096 May 25 11:47 dropit
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 encryption
drwxr-xr-x 8 www-data www-data 4096 May 25 11:48 end_to_end_encryption
drwxr-xr-x 9 www-data www-data 4096 Aug 20 16:43 external
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 federatedfilesharing
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 federation
drwxr-xr-x 11 www-data www-data 4096 Oct 19 21:43 files
drwxr-xr-x 9 www-data www-data 4096 Sep 29 23:26 files_antivirus
drwxr-xr-x 6 www-data www-data 4096 May 25 11:47 files_downloadactivity
drwxr-xr-x 11 www-data www-data 4096 Oct 19 21:43 files_external
drwxr-xr-x 7 www-data www-data 4096 Jul 4 15:05 files_external_gdrive
drwxr-xr-x 6 www-data www-data 4096 Aug 20 16:42 files_frommail
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:41 files_fulltextsearch
drwxr-xr-x 7 www-data www-data 4096 Oct 19 21:41 files_fulltextsearch_tesserac t
drwxr-xr-x 6 www-data www-data 4096 May 25 11:54 files_markdown
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 files_pdfviewer
drwxr-xr-x 10 www-data www-data 4096 May 25 11:50 files_reader
drwxr-xr-x 9 www-data www-data 4096 May 25 12:08 files_retention
drwxr-xr-x 7 www-data www-data 4096 May 25 11:48 files_rightclick
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 files_sharing
drwxr-xr-x 8 www-data www-data 4096 Oct 19 21:43 files_texteditor
drwxr-xr-x 6 www-data www-data 4096 May 25 11:47 files_trackdownloads
drwxr-xr-x 11 www-data www-data 4096 Oct 19 21:43 files_trashbin
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 files_versions
drwxr-xr-x 7 www-data www-data 4096 Oct 19 21:43 files_videoplayer
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 firstrunwizard
drwxr-xr-x 9 www-data www-data 4096 Sep 20 11:32 flowupload
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:41 fulltextsearch
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:41 fulltextsearch_elasticsearch
drwxr-xr-x 12 www-data www-data 4096 Oct 19 21:43 gallery
drwxr-xr-x 10 www-data www-data 4096 May 25 12:07 impersonate
drwxr-xr-x 8 www-data www-data 4096 May 25 12:04 limit_login_to_ip
drwxr-xr-x 12 www-data www-data 4096 Oct 19 21:43 logreader
drwxr-xr-x 5 www-data www-data 4096 Oct 19 21:43 lookup_server_connector
drwxr-xr-x 5 www-data www-data 4096 May 25 11:46 lsd
drwxr-xr-x 11 www-data www-data 4096 Aug 5 07:31 mail
drwxr-xr-x 9 www-data www-data 4096 Aug 20 16:43 metadata
drwxr-xr-x 9 www-data www-data 4096 May 25 11:54 mindmaps
drwxr-xr-x 9 www-data www-data 4096 Aug 20 16:43 mood
drwxr-xr-x 22 www-data www-data 4096 Sep 20 11:32 music
drwxr-xr-x 8 www-data www-data 4096 Oct 19 21:43 nextcloud_announcements
drwxr-xr-x 11 www-data www-data 4096 Sep 20 11:32 notes
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 notifications
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 oauth2
drwxr-xr-x 11 www-data www-data 4096 May 25 12:07 ocdownloader
drwxr-xr-x 9 www-data www-data 4096 Sep 11 10:22 ojsxc
drwxr-xr-x 13 www-data www-data 4096 Sep 11 10:22 onlyoffice
drwxr-xr-x 11 www-data www-data 4096 Aug 20 16:43 ownbackup
drwxr-xr-x 11 www-data www-data 4096 Aug 20 16:43 ownpad
drwxr-xr-x 13 www-data www-data 4096 May 25 12:07 passman
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 password_policy
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:41 passwords
drwxr-xr-x 10 www-data www-data 4096 Sep 11 10:22 polls
drwxr-xr-x 6 www-data www-data 4096 Oct 19 21:43 provisioning_api
drwxr-xr-x 8 www-data www-data 4096 Aug 20 16:43 qownnotesapi
drwxr-xr-x 13 www-data www-data 4096 Sep 11 10:22 quicknotes
drwxr-xr-x 9 www-data www-data 4096 May 25 11:50 quota_warning
drwxr-xr-x 11 www-data www-data 4096 May 25 11:53 radio
drwxr-xr-x 10 www-data www-data 4096 May 25 12:06 rainloop
drwxr-xr-x 10 www-data www-data 4096 Sep 11 10:22 ransomware_protection
drwxr-xr-x 14 www-data www-data 4096 Oct 19 21:41 registration
drwxr-xr-x 11 www-data www-data 4096 Sep 29 23:26 sensorlogger
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 serverinfo
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 sharebymail
drwxr-xr-x 8 www-data www-data 4096 Sep 11 10:22 socialsharing_diaspora
drwxr-xr-x 8 www-data www-data 4096 Sep 11 10:22 socialsharing_email
drwxr-xr-x 8 www-data www-data 4096 Sep 11 10:22 socialsharing_facebook
drwxr-xr-x 8 www-data www-data 4096 Sep 11 10:22 socialsharing_googleplus
drwxr-xr-x 7 www-data www-data 4096 Sep 11 10:22 socialsharing_twitter
drwxr-xr-x 9 www-data www-data 4096 Sep 20 11:33 spreed
drwxr-xr-x 18 www-data www-data 4096 May 25 12:08 spreedme
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 support
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 survey_client
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 systemtags
drwxr-xr-x 9 www-data www-data 4096 Sep 11 10:22 tasks
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 theming
drwxr-xr-x 9 www-data www-data 4096 Oct 19 21:43 twofactor_backupcodes
drwxr-xr-x 10 www-data www-data 4096 Sep 29 23:26 twofactor_rcdevsopenotp
drwxr-xr-x 10 www-data www-data 4096 May 25 12:04 twofactor_totp
drwxr-xr-x 10 www-data www-data 4096 May 25 12:05 twofactor_u2f
drwxr-xr-x 10 www-data www-data 4096 May 25 12:05 twofactor_yubikey
drwxr-xr-x 5 www-data www-data 4096 May 25 11:46 unsplash
drwxr-xr-x 10 www-data www-data 4096 Oct 19 21:43 updatenotification
drwxr-xr-x 5 www-data www-data 4096 Oct 19 21:43 user_external
drwxr-xr-x 12 www-data www-data 4096 Oct 19 21:43 user_ldap
drwxr-xr-x 4 www-data www-data 4096 May 25 11:52 user_usage_report
drwxr-xr-x 9 www-data www-data 4096 Sep 11 10:23 w2g2
drwxr-xr-x 8 www-data www-data 4096 Oct 19 21:43 workflowengine

@kesselb
Copy link
Contributor

kesselb commented Oct 24, 2018

Disable bookmarks and files_external_gdrive and try again

@Ammar7347
Copy link
Author

Disable bookmarks and files_external_gdrive and try again

Urmm how do I disable these plugins? Thanks for the prompt replies :)

@violoncelloCH
Copy link
Member

With the occ command (see https://docs.nextcloud.com/server/14/admin_manual/configuration_server/occ_command.html#apps-commands)

@MorrisJobke
Copy link
Member

Urmm how do I disable these plugins? Thanks for the prompt replies :)

Either via the occ command (but during upgrade this is most likely not available) or directly in the DB table oc_appconfig. Set the entries with the configkey enabled of those apps from yes to no.

@MorrisJobke
Copy link
Member

Then the upgrade should continue. Those apps are not yet compatible with 14.

cc @nickvergessen how to deal with this in the future? :/

@Ammar7347
Copy link
Author

The problem has been resolved by disabling those plugins. Thank you all for the help :)

@violoncelloCH
Copy link
Member

Then the upgrade should continue. Those apps are not yet compatible with 14.

cc @nickvergessen how to deal with this in the future? :/

@MorrisJobke Shouldn't Nextcloud just deactivate incompatible apps automatically before upgrading?

@MorrisJobke
Copy link
Member

@MorrisJobke Shouldn't Nextcloud just deactivate incompatible apps automatically before upgrading?

It should but those apps just bring in another layer of incompatibility that is not really traceable to them (the exception comes from our code and not their because they overwrite one of our dependencies with an older version of it and our code then fails)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants