Update loop - Cannot update from 19.0.3snap2

I’ve had issues with my snap installation since the release of 19.0.4snap1.
The snap upgrades automatically from 19.0.3snap2, which was working fine. After the snap updates, when attempting to visit and login I’m met with a web update page. Click on update, detailed log shows everything works fine, but it then loops back to the initial page asking me to update again. Attempts to update from the command line do the same.

I opened an issue on Github with further information, logs, etc. It was suggested that I bring the issue here for more help.

Previously I was able to “snap revert” to run 19.0.3snap2 without issue, but since the release of nc20 snaps I can’t seem to revert anymore and my service is unusable.

Thanks for bringing this here, @d00vy. @kesselb, I’m stumped on this. The upgrade appears to work fine but it always wants to do it again. Nothing seems to make it happy. Have you ever seen anything like this?

1 Like

Thanks for your help @kyrofa.
I also posted this to the “Snap user issues” thread, but have flagged it for removal since starting a separate thread.
https://help.nextcloud.com/t/nextcloud-snap-users-please-list-the-issues-youre-facing/1979/181?u=d00vy

Yeah that was a silly thread that should have been locked long ago.

@staff might help you with this :wink:

No. Which version is reported by occ status?

1 Like
$ nextcloud.occ status
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
  - installed: true
  - version: 20.0.1.1
  - versionstring: 20.0.1
  - edition: 

Same behavior via web or command line upgrades:

# nextcloud.occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Checking for update of app accessibility in appstore
Checked for update of app "accessibility" in appstore 
Checking for update of app activity in appstore
Checked for update of app "activity" in appstore 
Checking for update of app bruteforcesettings in appstore
Checked for update of app "bruteforcesettings" in appstore 
Checking for update of app cloud_federation_api in appstore
Checked for update of app "cloud_federation_api" in appstore 
Checking for update of app comments in appstore
Checked for update of app "comments" in appstore 
Checking for update of app contacts in appstore
Checked for update of app "contacts" in appstore 
Checking for update of app contactsinteraction in appstore
Checked for update of app "contactsinteraction" in appstore 
Checking for update of app dashboard in appstore
Checked for update of app "dashboard" in appstore 
Checking for update of app dav in appstore
Checked for update of app "dav" in appstore 
Checking for update of app federatedfilesharing in appstore
Checked for update of app "federatedfilesharing" in appstore 
Checking for update of app federation in appstore
Checked for update of app "federation" in appstore 
Checking for update of app files in appstore
Checked for update of app "files" in appstore 
Checking for update of app files_pdfviewer in appstore
Checked for update of app "files_pdfviewer" in appstore 
Checking for update of app files_rightclick in appstore
Checked for update of app "files_rightclick" in appstore 
Checking for update of app files_sharing in appstore
Checked for update of app "files_sharing" in appstore 
Checking for update of app files_trashbin in appstore
Checked for update of app "files_trashbin" in appstore 
Checking for update of app files_versions in appstore
Checked for update of app "files_versions" in appstore 
Checking for update of app files_videoplayer in appstore
Checked for update of app "files_videoplayer" in appstore 
Checking for update of app firstrunwizard in appstore
Checked for update of app "firstrunwizard" in appstore 
Checking for update of app logreader in appstore
Checked for update of app "logreader" in appstore 
Checking for update of app lookup_server_connector in appstore
Checked for update of app "lookup_server_connector" in appstore 
Checking for update of app mail in appstore
Checked for update of app "mail" in appstore 
Checking for update of app nextcloud_announcements in appstore
Checked for update of app "nextcloud_announcements" in appstore 
Checking for update of app notifications in appstore
Checked for update of app "notifications" in appstore 
Checking for update of app oauth2 in appstore
Checked for update of app "oauth2" in appstore 
Checking for update of app password_policy in appstore
Checked for update of app "password_policy" in appstore 
Checking for update of app photos in appstore
Checked for update of app "photos" in appstore 
Checking for update of app privacy in appstore
Checked for update of app "privacy" in appstore 
Checking for update of app provisioning_api in appstore
Checked for update of app "provisioning_api" in appstore 
Checking for update of app recommendations in appstore
Checked for update of app "recommendations" in appstore 
Checking for update of app richdocuments in appstore
Checked for update of app "richdocuments" in appstore 
Checking for update of app richdocumentscode in appstore
Checked for update of app "richdocumentscode" in appstore 
Checking for update of app serverinfo in appstore
Checked for update of app "serverinfo" in appstore 
Checking for update of app settings in appstore
Checked for update of app "settings" in appstore 
Checking for update of app sharebymail in appstore
Checked for update of app "sharebymail" in appstore 
Checking for update of app support in appstore
Checked for update of app "support" in appstore 
Checking for update of app survey_client in appstore
Checked for update of app "survey_client" in appstore 
Checking for update of app systemtags in appstore
Checked for update of app "systemtags" in appstore 
Checking for update of app text in appstore
Checked for update of app "text" in appstore 
Checking for update of app twofactor_backupcodes in appstore
Checked for update of app "twofactor_backupcodes" in appstore 
Checking for update of app user_status in appstore
Checked for update of app "user_status" in appstore 
Checking for update of app viewer in appstore
Checked for update of app "viewer" in appstore 
Checking for update of app weather_status in appstore
Checked for update of app "weather_status" in appstore 
Checking for update of app workflowengine in appstore
Checked for update of app "workflowengine" in appstore 
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level

I tried flagging it a year ago or so with no joy. Thanks for the suggestion!

1 Like

I nuked the system and started fresh with 20.0.1snap1 and everything is working fine now. Hopefully I wont have any update issues in the future :man_shrugging: