Nextcloud (nextcloud) from 31.0.6~ynh1 to 31.0.7~ynh1

What type of hardware are you using: Other(?)
What YunoHost version are you running: 12.0.17
What app is this about: Nextcloud

Describe your issue

CPU: 12th Gen Intel(R) Core™ i9-12900T

I am fairly new to Yunohost/Nextcloud, so I need help with this issue, please.

My upgrade “Nextcloud (nextcloud) from 31.0.6~ynh1 to 31.0.7~ynh1” went wrong, and tell me I should seek help, and that the helpers needed the logfiles applyed below.

When I do the upgrade again it does not produce any output, but give me at template, and transform my mouse to a rotating waiting symbol.

I have read “Nextcloud (nextcloud) from 31.0.6~ynh2 to 31.0.7~ynh1” by Joel and performed:

sudo -u nextcloud php occ db:add-missing-indices
sudo -u nextcloud php occ db:add-missing-columns
sudo -u nextcloud php occ maintenance:repair

But that did not change anything.

My Nextcloud Hub 10 (31.0.6) is still working :slight_smile:

Share relevant logs or error messages

The upgrade produced output in https://paste.yunohost.org/raw/ihizitiyiw and this in /var/log/syslog:

2025-07-21T18:05:19.759212+02:00 host yunohost-api[811]: Traceback (most recent call last):
2025-07-21T18:05:19.759517+02:00 host yunohost-api[811]: File “/usr/lib/python3/dist-packages/moulinette/interfaces/api.py”, line 498, in process
2025-07-21T18:05:19.759565+02:00 host yunohost-api[811]: ret = self.actionsmap.process(arguments, timeout=30, route=_route)
2025-07-21T18:05:19.759596+02:00 host yunohost-api[811]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-21T18:05:19.759626+02:00 host yunohost-api[811]: File “/usr/lib/python3/dist-packages/moulinette/actionsmap.py”, line 579, in process
2025-07-21T18:05:19.759655+02:00 host yunohost-api[811]: return func(**arguments)
2025-07-21T18:05:19.759687+02:00 host yunohost-api[811]: ^^^^^^^^^^^^^^^^^
2025-07-21T18:05:19.759716+02:00 host yunohost-api[811]: File “/usr/lib/python3/dist-packages/yunohost/app.py”, line 708, in app_upgrade
2025-07-21T18:05:19.759744+02:00 host yunohost-api[811]: backup_create(
2025-07-21T18:05:19.759773+02:00 host yunohost-api[811]: File “/usr/lib/python3/dist-packages/yunohost/log.py”, line 486, in func_wrapper
2025-07-21T18:05:19.759802+02:00 host yunohost-api[811]: result = func(*args, **kwargs)
2025-07-21T18:05:19.759830+02:00 host yunohost-api[811]: ^^^^^^^^^^^^^^^^^^^^^
2025-07-21T18:05:19.759858+02:00 host yunohost-api[811]: File “/usr/lib/python3/dist-packages/yunohost/backup.py”, line 2267, in backup_create
2025-07-21T18:05:19.759887+02:00 host yunohost-api[811]: backup_manager.backup()
2025-07-21T18:05:19.759923+02:00 host yunohost-api[811]: File “/usr/lib/python3/dist-packages/yunohost/backup.py”, line 781, in backup
2025-07-21T18:05:19.759952+02:00 host yunohost-api[811]: method.mount_and_backup()
2025-07-21T18:05:19.759981+02:00 host yunohost-api[811]: File “/usr/lib/python3/dist-packages/yunohost/backup.py”, line 1686, in mount_and_backup
2025-07-21T18:05:19.760009+02:00 host yunohost-api[811]: self.backup()
2025-07-21T18:05:19.760037+02:00 host yunohost-api[811]: File “/usr/lib/python3/dist-packages/yunohost/backup.py”, line 1966, in backup
2025-07-21T18:05:19.760065+02:00 host yunohost-api[811]: tar.close()
2025-07-21T18:05:19.760092+02:00 host yunohost-api[811]: File “/usr/lib/python3.11/tarfile.py”, line 1833, in close
2025-07-21T18:05:19.760119+02:00 host yunohost-api[811]: self.fileobj.close()
2025-07-21T18:05:19.760148+02:00 host yunohost-api[811]: OSError: [Errno 112] Host is down

That seems to suggest that you have some folder / mount points that are on another machine maybe ? Can you tell us more about it or do you have no idea what i may be talking about ?

Hi Aleks

Thank you for your answer.

Yes, I have a cifs-mounted Synolygi NAS, that is holding /home/yunohost.backup

ls -l /home/yunohost.backup/archives/nextcloud-pre-upgrade*

-rwxrwx— 1 root admins 339 1 jul 15:26 /home/yunohost.backup/archives/nextcloud-pre-upgrade1.info.json
-rwxrwx— 1 root admins 942817280 1 jul 15:26 /home/yunohost.backup/archives/nextcloud-pre-upgrade1.tar
-rwxrwx— 1 root admins 939632640 21 jul 18:05 /home/yunohost.backup/archives/nextcloud-pre-upgrade2.tar

At 15:26 I tried to create a shell-command that reports when updates are available. I did not notice anything going wrong at that time.

At 18:05 a backup file was created. I can not se that the Synolygi was down.

Thank you once again for your help.

Hi again Aleks

I found this in /var/log/dpkg.log:

2025-07-21 18:04:07 startup archives unpack
2025-07-21 18:04:08 upgrade libgnutls30:amd64 3.7.9-2+deb12u4 3.7.9-2+deb12u5
2025-07-21 18:04:08 status triggers-pending libc-bin:amd64 2.36-9+deb12u10
2025-07-21 18:04:08 status half-configured libgnutls30:amd64 3.7.9-2+deb12u4
2025-07-21 18:04:08 status unpacked libgnutls30:amd64 3.7.9-2+deb12u4
2025-07-21 18:04:08 status half-installed libgnutls30:amd64 3.7.9-2+deb12u4
2025-07-21 18:04:08 status unpacked libgnutls30:amd64 3.7.9-2+deb12u5
2025-07-21 18:04:08 startup packages configure
2025-07-21 18:04:08 configure libgnutls30:amd64 3.7.9-2+deb12u5 <none>
2025-07-21 18:04:08 status unpacked libgnutls30:amd64 3.7.9-2+deb12u5
2025-07-21 18:04:08 status half-configured libgnutls30:amd64 3.7.9-2+deb12u5
2025-07-21 18:04:08 status installed libgnutls30:amd64 3.7.9-2+deb12u5
2025-07-21 18:04:08 startup archives unpack
2025-07-21 18:04:08 upgrade libdjvulibre-text:all 3.5.28-2 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 status half-configured libdjvulibre-text:all 3.5.28-2
2025-07-21 18:04:08 status unpacked libdjvulibre-text:all 3.5.28-2
2025-07-21 18:04:08 status half-installed libdjvulibre-text:all 3.5.28-2
2025-07-21 18:04:08 status unpacked libdjvulibre-text:all 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 upgrade libdjvulibre21:amd64 3.5.28-2+b1 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 status half-configured libdjvulibre21:amd64 3.5.28-2+b1
2025-07-21 18:04:08 status unpacked libdjvulibre21:amd64 3.5.28-2+b1
2025-07-21 18:04:08 status half-installed libdjvulibre21:amd64 3.5.28-2+b1
2025-07-21 18:04:08 status unpacked libdjvulibre21:amd64 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 startup packages configure
2025-07-21 18:04:08 configure libdjvulibre-text:all 3.5.28-2.1~deb12u1 <none>
2025-07-21 18:04:08 status unpacked libdjvulibre-text:all 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 status half-configured libdjvulibre-text:all 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 status installed libdjvulibre-text:all 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 configure libdjvulibre21:amd64 3.5.28-2.1~deb12u1 <none>
2025-07-21 18:04:08 status unpacked libdjvulibre21:amd64 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 status half-configured libdjvulibre21:amd64 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 status installed libdjvulibre21:amd64 3.5.28-2.1~deb12u1
2025-07-21 18:04:08 trigproc libc-bin:amd64 2.36-9+deb12u10 <none>
2025-07-21 18:04:08 status half-configured libc-bin:amd64 2.36-9+deb12u10
2025-07-21 18:04:08 status installed libc-bin:amd64 2.36-9+deb12u10

I hope it helps you, to solve my problem :wink: