syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
393 stars 40 forks source link

Can't upgrade from Version: 210624280 to 211101376 #609

Closed ik0api closed 2 years ago

ik0api commented 2 years ago

Hello. I can't upgrade Nextcloud from Version 210624280 to 211101376. Dotted wheel rotates for several minutes, at last the attached UDB disk rattles for a minute and then nothing changes, the upgrade is re-offered like nothing happened.

I've also tried the fix on https://github.com/syncloud/platform/wiki/Nextcloud#upgrade-to-a-specific-version: snap refresh nextcloud --amend

Same results: nothing changes.

immagine

BTW I have the same problem with email server app, not upgrading from v. 210301142

I have backups of both apps.

I've sent a report from Syncloud.

Question: if I remove the Nextcloud app and reinstall it will I keep files and profiles? I mean, will the users login with old credentials and find their files?

Thank you

Marco

cyberb commented 2 years ago

Can you post the output of this command:

snap refresh nextcloud

If you reinstall nextcloud files should stay as long as you use the same usernames and run file scan after installation: https://github.com/syncloud/platform/wiki/Nextcloud#file-scan Other settings like calendars/contacts are lost on reinstall.

Mail app, could you create a separate issue and post the output of:

snap refresh mail
ik0api commented 2 years ago

Sure:

root@syncloud:~# snap refresh nextcloud Mount snap "nextcloud" (211101376) Mount snap "nextcloud" (211101376) error: cannot perform the following tasks:

after which:

immagine

cyberb commented 2 years ago

Could you send the output of this command right after the upgrade attempt?

journalctl -n 100 --no-pager
ik0api commented 2 years ago

Here is the full sequence::

root@syncloud:~# snap refresh nextcloud error: cannot perform the following tasks:

ik0api commented 2 years ago

Hi Boris.

Any hints?

cyberb commented 2 years ago

Could you try one more time?

ik0api commented 2 years ago

After a few days of absence I gave a new "upgrade" command via Syncloud interface and the system upgraded to NextCloud 22.2.0 with no errors... a mystery to me...

Thank you anyway

cyberb commented 2 years ago

Sorry forgot to mention that it was fixed recently after few more updates in the store.