# Failed uprade Nextcloud 33.0.3~ynh1 -\> 33.0.4~ynh1

**URL:** <https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384>\
**Category:** Support apps\
**Tags:** nextcloud, english\
**Created:** [June 1, 2026, 7:28am UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384 "2026-06-01T07:28:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Etienne-1998](https://forum.yunohost.org/user_avatar/forum.yunohost.org/etienne-1998/32/12665_2.png) [@Etienne-1998](https://forum.yunohost.org/u/Etienne-1998)\
**Post date:** [June 1, 2026, 7:28am UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/1 "2026-06-01T07:28:31Z")

</div>

**What app is this about, and its version** : Nextcloud 33.0.4~ynh1  
**What YunoHost version are you running** : 12.1.40.1  
**What type of hardware are you using** : Raspberry Pi 3, 4+

### Describe your issue

Hello,

The last upgrade of nextcloud ends up in an apt error while updating this part. Can’t really see why there’s certification error as for me apt is supposed to manage this so I could use some help 🙂

By the way it’s not the same issue as [Upgrade Nextcloud ? \> 33.0.2 failed (ERROR in script snippet)](https://forum.yunohost.org/t/upgrade-nextcloud-33-0-2-failed-error-in-script-snippet/42314)

### Share relevant logs or error messages

Info: Now upgrading nextcloud…  
Info: Creating a safety backup prior to the upgrade  
Info: Collecting files to be backed up for nextcloud…  
Info: Declaring files to be backed up…  
Info: /home/yunohost.app/nextcloud will not be saved, because ‘BACKUP\_CORE\_ONLY’ is set.  
Info: /var/log/nextcloud will not be saved, because ‘BACKUP\_CORE\_ONLY’ is set.  
Info: Backing up the MySQL database…  
Info: Backup script completed for nextcloud. (YunoHost will then actually copy those files to the archive).  
Info: Creating a backup archive from the collected files…  
Info: The archive will contain about 4.6GB of data.  
Success! Backup created: nextcloud-pre-upgrade2  
Info: Backup nextcloud-pre-upgrade1 was deleted because it is replaced by a newer backup nextcloud-pre-upgrade2  
Info: Updating sources…  
Info: Updating system\_user…  
Info: Updating install\_dir…  
Info: Updating data\_dir…  
Info: Updating permissions…  
Info: Updating ports…  
Info: Updating apt…  
Warning: E: Failed to fetch [https://packages.sury.org/php/dists/bookworm/InRelease](https://packages.sury.org/php/dists/bookworm/InRelease) 503 certificate has expired [IP: 2a04:4e42::820 443]  
Warning: E: Some index files failed to download. They have been ignored, or old ones used instead.  
Error: provision\_or\_update failed for apt : An error occured inside the script snippet  
Info: The operation ‘Upgrade the ‘nextcloud’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20260601-072052-app\_upgrade-nextcloud’ to get help  
Warning: Here’s an extract of the logs before the crash. It might help debugging the error:  
Info: DEBUG - + return 0  
Info: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update --error-on=any  
Info: DEBUG - Hit:1 [Index of /debian](http://deb.debian.org/debian) bookworm InRelease  
Info: DEBUG - Hit:2 [Index of /debian-security](http://deb.debian.org/debian-security) bookworm-security InRelease  
Info: DEBUG - Hit:3 [Index of /debian](http://deb.debian.org/debian) bookworm-updates InRelease  
Info: DEBUG - Hit:5 [Index of /debian](http://archive.raspberrypi.com/debian) bookworm InRelease  
Info: DEBUG - Get:6 [Index of linux/debian/](https://download.docker.com/linux/debian) bookworm InRelease [46.6 kB]  
Info: DEBUG - Hit:7 [https://dl.yarnpkg.com/debian](https://dl.yarnpkg.com/debian) stable InRelease  
Info: DEBUG - Hit:4 [Index of /debian/](https://forge.yunohost.org/debian) bookworm InRelease  
Info: DEBUG - Ign:8 [https://packages.sury.org/php](https://packages.sury.org/php) bookworm InRelease  
Info: DEBUG - Hit:9 [https://mkvtoolnix.download/debian](https://mkvtoolnix.download/debian) bookworm InRelease  
Info: DEBUG - Ign:8 [https://packages.sury.org/php](https://packages.sury.org/php) bookworm InRelease  
Info: DEBUG - Ign:8 [https://packages.sury.org/php](https://packages.sury.org/php) bookworm InRelease  
Info: DEBUG - Err:8 [https://packages.sury.org/php](https://packages.sury.org/php) bookworm InRelease  
Info: DEBUG - 503 certificate has expired [IP: 2a04:4e42::820 443]  
Info: DEBUG - Fetched 46.6 kB in 7s (6265 B/s)  
Info: DEBUG - Reading package lists…  
Info: WARNING - E: Failed to fetch [https://packages.sury.org/php/dists/bookworm/InRelease](https://packages.sury.org/php/dists/bookworm/InRelease) 503 certificate has expired [IP: 2a04:4e42::820 443]  
Info: WARNING - E: Some index files failed to download. They have been ignored, or old ones used instead.  
Info: DEBUG - + ynh\_exit\_properly  
Warning: Failed to update apt : The operation ‘Upgrade the ‘nextcloud’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20260601-072052-app\_upgrade-nextcloud’ to get help  
Info: Reverting sources…  
Info: Reverting system\_user…  
Info: Reverting install\_dir…  
Info: Reverting data\_dir…  
Info: Reverting permissions…  
Info: Reverting ports…  
Info: Reverting apt…  
Warning: E: Failed to fetch [https://packages.sury.org/php/dists/bookworm/InRelease](https://packages.sury.org/php/dists/bookworm/InRelease) 503 certificate has expired [IP: 2a04:4e42:600::820 443]  
Warning: E: Some index files failed to download. They have been ignored, or old ones used instead.  
Error: provision\_or\_update failed for apt : An error occured inside the script snippet  
Info: The operation ‘Provisioning/deprovisioning/updating a resource’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20260601-072120-resource\_snippet-nextcloud’ to get help  
Warning: Here’s an extract of the logs before the crash. It might help debugging the error:  
Info: DEBUG - + return 0  
Info: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update --error-on=any  
Info: DEBUG - Hit:1 [Index of /debian](http://deb.debian.org/debian) bookworm InRelease  
Info: DEBUG - Hit:2 [Index of /debian-security](http://deb.debian.org/debian-security) bookworm-security InRelease  
Info: DEBUG - Hit:3 [Index of /debian](http://deb.debian.org/debian) bookworm-updates InRelease  
Info: DEBUG - Get:4 [Index of linux/debian/](https://download.docker.com/linux/debian) bookworm InRelease [46.6 kB]  
Info: DEBUG - Hit:6 [Index of /debian](http://archive.raspberrypi.com/debian) bookworm InRelease  
Info: DEBUG - Hit:7 [https://dl.yarnpkg.com/debian](https://dl.yarnpkg.com/debian) stable InRelease  
Info: DEBUG - Hit:5 [Index of /debian/](https://forge.yunohost.org/debian) bookworm InRelease  
Info: DEBUG - Ign:8 [https://packages.sury.org/php](https://packages.sury.org/php) bookworm InRelease  
Info: DEBUG - Hit:9 [https://mkvtoolnix.download/debian](https://mkvtoolnix.download/debian) bookworm InRelease  
Info: DEBUG - Ign:8 [https://packages.sury.org/php](https://packages.sury.org/php) bookworm InRelease  
Info: DEBUG - Ign:8 [https://packages.sury.org/php](https://packages.sury.org/php) bookworm InRelease  
Info: DEBUG - Err:8 [https://packages.sury.org/php](https://packages.sury.org/php) bookworm InRelease  
Info: DEBUG - 503 certificate has expired [IP: 2a04:4e42:600::820 443]  
Info: DEBUG - Fetched 46.6 kB in 7s (6250 B/s)  
Info: DEBUG - Reading package lists…  
Info: WARNING - E: Failed to fetch [https://packages.sury.org/php/dists/bookworm/InRelease](https://packages.sury.org/php/dists/bookworm/InRelease) 503 certificate has expired [IP: 2a04:4e42:600::820 443]  
Info: WARNING - E: Some index files failed to download. They have been ignored, or old ones used instead.  
Info: DEBUG - + ynh\_exit\_properly  
Error: Failed to rollback apt : The operation ‘Provisioning/deprovisioning/updating a resource’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20260601-072120-resource\_snippet-nextcloud’ to get help  
Error: Provisioning, deprovisioning, or updating resources for nextcloud failed: The operation ‘Upgrade the ‘nextcloud’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20260601-072052-app\_upgrade-nextcloud’ to get help  
Error: None

---

<div class="post-metadata">

**Author:** ![BrunoK](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/b/7bcc69/32.png) [@BrunoK](https://forum.yunohost.org/u/BrunoK)\
**Post date:** [June 1, 2026, 7:52am UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/2 "2026-06-01T07:52:59Z")

</div>

this was probably a temporarily unreachable server or a dns problem or similar.

I had the same problem, and now , after a retry, it worked for me.

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [June 1, 2026, 8:53am UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/3 "2026-06-01T08:53:25Z")

</div>

cf [Error 503 certificate has expired [IP : 2a04:4e42:8e::820 443]](https://forum.yunohost.org/t/error-503-certificate-has-expired-ip-2a048e-820-443/42383), the problem is fixed now upstream

---

<div class="post-metadata">

**Author:** ![Etienne-1998](https://forum.yunohost.org/user_avatar/forum.yunohost.org/etienne-1998/32/12665_2.png) [@Etienne-1998](https://forum.yunohost.org/u/Etienne-1998)\
**Post date:** [June 1, 2026, 10:45am UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/4 "2026-06-01T10:45:18Z")

</div>

Yup my bad it’s ok now

Thx !

---

<div class="post-metadata">

**Author:** ![Moto1987](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@Moto1987](https://forum.yunohost.org/u/Moto1987)\
**Post date:** [June 2, 2026, 9:46am UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/5 "2026-06-02T09:46:54Z")

</div>

I am still having trouble installing the update. I’ve been trying for three days now, and every time it aborts and reports a script error.

[paste.yunohost.org/raw/esuwiyoziq](https://paste.yunohost.org/raw/esuwiyoziq)

---

<div class="post-metadata">

**Author:** ![Moto1987](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@Moto1987](https://forum.yunohost.org/u/Moto1987)\
**Post date:** [June 5, 2026, 6:11am UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/6 "2026-06-05T06:11:20Z")

</div>

Can no one here help with the update problem?

---

<div class="post-metadata">

**Author:** ![Etienne-1998](https://forum.yunohost.org/user_avatar/forum.yunohost.org/etienne-1998/32/12665_2.png) [@Etienne-1998](https://forum.yunohost.org/u/Etienne-1998)\
**Post date:** [June 5, 2026, 6:24pm UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/7 "2026-06-05T18:24:37Z")

</div>

I think you’ll need to open your own ticket as it don’t seems to be the same problem as me.

Plus, logs are in german so I think it would really help on another ticket with the german tag.

---

<div class="post-metadata">

**Author:** ![JfmbLinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jfmblinux/32/11238_2.png) [@JfmbLinux](https://forum.yunohost.org/u/JfmbLinux)\
**Post date:** [June 5, 2026, 9:35pm UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/8 "2026-06-05T21:35:46Z")

</div>

There’s a warning,

```auto
 WARNING - Config is set to be read-only via option "config_is_read_only".

```

Have you tried this ?

```auto
nano /var/www/nextcloud/config/config.php

'config_is_read_only' => false, => true

systemctl restart php8.4-fpm.service

```

---

<div class="post-metadata">

**Author:** ![Moto1987](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@Moto1987](https://forum.yunohost.org/u/Moto1987)\
**Post date:** [June 8, 2026, 6:08am UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/9 "2026-06-08T06:08:07Z")

</div>

Thank you, that was indeed the problem.

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [June 23, 2026, 6:08am UTC](https://forum.yunohost.org/t/failed-uprade-nextcloud-33-0-3-ynh1-33-0-4-ynh1/42384/10 "2026-06-23T06:08:48Z")

</div>

Closed on June 23, 2026, 6:08am UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
