Error Fail installing NextCloud

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0
What app is this about: Nextcloud

Describe your issue

Installing nextcloud fails with code 404 with the following logs:

2024-11-29 20:46:14,855: INFO - Installing nextcloud…
2024-11-29 20:46:14,865: INFO - Provisioning sources...
2024-11-29 20:46:14,868: DEBUG - Prefetching asset main: https://download.nextcloud.com/server/releases/nextcloud-29.0.9.tar.bz2 ...
2024-11-29 20:46:15,815: WARNING - Failed to provision sources : Failed to download asset 'main' (https://download.nextcloud.com/server/releases/nextcloud-29.0.9.tar.bz2) for nextcloud: https://download.nextcloud.com/server/releases/nextcloud-29.0.9.tar.bz2:
2024-11-29 20:46:15 ERROR 404: Not Found.

2024-11-29 20:46:15,820: INFO - Deprovisioning sources...
2024-11-29 20:46:15,826: ERROR - Provisioning, deprovisioning, or updating resources for nextcloud failed: Failed to download asset 'main' (https://download.nextcloud.com/server/releases/nextcloud-29.0.9.tar.bz2) for nextcloud: https://download.nextcloud.com/server/releases/nextcloud-29.0.9.tar.bz2:
2024-11-29 20:46:15 ERROR 404: Not Found.

Share relevant logs or error messages

https://paste.yunohost.org/raw/gadazojoli

I have the same error.

And if I try to reach the URL on my workstation : https://download.nextcloud.com/server/releases/nextcloud-29.0.9.tar.bz2

The file doesn’t exist

I found here the reason the update is not available :smile:

Due to a regression in the PDF viewer we had to pull NC 29.0.9 from the download server. Updates to this version are not proposed anymore (but to 30 instead). We will follow up with the regular 29.0.10 next week, along other maintenance releases. RC1s can be expected this Thursday.

So is there anyway to install NextCloud at the moment? How do I tell Yunohost to pull a valid version?

sudo yunohost app install https://github.com/YunoHost-Apps/nextcloud_ynh/tree/29.0.8
or if upgrading from a version below 29.0.8
sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/29.0.8

2 Likes

Fantastic - thanks!

Hi @ericg ,

I’ve the same problem with yunohost 12.0.7 on a Lime2 and Nextcloud 28.0.6~ynh1

The command

yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/29.0.8

Doesn’t go very far : I get the following message :slight_smile:

DANGER! This app requires 512M RAM to install/upgrade but only 484.3M is availab
le right now. Even if this app could run, its installation/upgrade process requi
res a large amount of RAM so your server may freeze and fail miserably. If you a
re willing to take that risk anyway, type 'Yes, I understand'

I understand, indeed ! But don’t know how to deal with it : I can’t add more RAM or ?

Thank you for your help

Hi @harpogit ,
It depends a lot on your environment.
If you can easily add RAM, do so.
If you know that you have enough RAM, it may be some applications take up too much RAM. Find out why.
If you have applications that you don’t use after all, delete them to free up RAM.
You can even restart your server to free up RAM, but if it consumes all the RAM again, it may freeze.