Upgrade Nextcloud ? > 33.0.2 failed (ERROR in script snippet)

What app is this about, and its version: Nextcloud V33.0.2
What YunoHost version are you running: 12.1.40.1
What type of hardware are you using: Old laptop or computer

Describe your issue

I updated as admin / root in YH the app NC. The Backup Script shows an error:
“provision_or_update failed for apt : An error occured inside the script snippet”
Fehlermeldung: ‘Unerwarteter Serverfehler’" [Unexpected server error]

LIST of error messages:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: … debian stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
E: Failed to fetch InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
E: Some index files failed to download. They have been ignored, or old ones used instead.
END of list.

Share relevant logs or error messages

tiyuhoboyi

This thread may help :

You should disable Mind map app (its latest stable version does not seem compatible with nextcloud >31) and retry upgrading.

yunohost app shell nextcloud
php occ app:disable files_mindmap

to remove it if needed

yunohost app shell nextcloud
php occ app:remove files_mindmap
1 Like

Created a new topic here

Return Message: “files_mindmap is not enabled”
Sorry, I did - as I understand - everything right, but: Problem persists.

@Harald_F

yunohost app shell nextcloud
php occ app:disable files_mindmap

=> This was for HoldMyGin

Did you try the following (see my first post) :

sudo rm /etc/apt/trusted.gpg.d/{yarn,extra_php_version}.gpg
sudo yunohost tools regen-conf apt

Yes, I did. (Sorry for bad news.)

Ok. Can you share the latest upgrade log ?

Last try: https://paste.yunohost.org/raw/juputacexa

First popup: https://paste.yunohost.org/raw/tiyuhoboyi

Great, now I am able to post logs!

Did you see Upgrade Nextcloud ? > 33.0.2 failed (ERROR in script snippet) - #2 by otm33

 gpg --show-keys /etc/apt/trusted.gpg.d/*.gpg

Yes. (“I did - as I understand - everything right.)

And cat /etc/apt/sources.list.d/yarn.list?
BTW did you run sudo apt update ?

>
”deb [signed-by=/etc/apt/trusted.gpg.d/yarn.gpg] https://dl.yarnkg.com/debian/ stable main”

“sudo apt update” >

“Alle Pakete sind aktuell.

W: Öffentlicher Schlüssel nicht verfügbar: NO_PUBKEY 62D54FD4003F6525

W: Fehlschlag beim Holen von https://dl.yarnpkg.com/debian/dists/stable/InRelease

This is quite weird…
Let’s try this

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/yarn.gpg > /dev/null

I startet your command.

Then the Upgrade of Nextcloud 33.0.3~ynh1 was finished without any error.

Thank you!