All app updates and Installs fail with "500" Internal Server Issue: Could not fetch sources files, is the URL correct?

,

Hey everyone,
yunohost has been great for the last months. Sadly, It has been redered useless for the past few days and I don’t know what to do anymore :frowning:

The only solved, related issue I found had problems with the french locale, my locale is en_US.UTF-8, so that does not seem to be the problem.

My YunoHost server

Hardware: VPS bought online
YunoHost version: x.x.x
I have access to my server : Through SSH & through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain: I did Change cipher compatibility configuration and use a seperate Redis database as a cache for matomo.

Description of my issue

I’m trying to update and install apps, but I always get an “500” Internal Server Error. The webadmin just spills this error for every app:

admin@host:~$ sudo yunohost app install castopod --debug
218  DEBUG initializing base actions map parser for cli
223  DEBUG loading actions map namespace 'yunohost'
238  DEBUG building parser...
251  DEBUG building parser took 0.013s
252  DEBUG acquiring lock...
271  DEBUG lock has been acquired
297  DEBUG loading python module yunohost.app took 0.026s
298  DEBUG processing action [10742.1]: yunohost.app.install with args={'app': 'castopod', 'label': None, 'args': None, 'no_remove_on_failure': False, 'force': False}
369  DEBUG Downloading...
606  DEBUG action [10742.1] executed in 0.308s
607  DEBUG lock has been released
607  ERROR Could not fetch sources files, is the URL correct?
admin@host:~$ sudo yunohost tools upgrade apps --debug
127  DEBUG initializing base actions map parser for cli
129  DEBUG loading actions map namespace 'yunohost'
131  DEBUG building parser...
139  DEBUG building parser took 0.008s
140  DEBUG acquiring lock...
153  DEBUG lock has been acquired
179  DEBUG loading python module yunohost.tools took 0.025s
179  DEBUG processing action [11741.1]: yunohost.tools.upgrade with args={'target': 'apps', 'apps': False, 'system': False}
827  DEBUG initializing ldap interface
1785 INFO The following apps will be upgraded: mautrix_whatsapp, netdata, element, my_webapp__2, grav, matomo
1785 INFO Now upgrading mautrix_whatsapp...
1828 DEBUG Downloading...
1998 WARNING unable to upgrade apps: Could not fetch sources files, is the URL correct?
1998 ERROR Some apps could not be upgraded
2002 DEBUG action [11741.1] executed in 1.822s
2002 DEBUG lock has been released

There is no log to share, or at least I did not find one in the webadmin under “tools/logs”

Best regards

okay nevermind, while looking though some more topics this one solved my issue. → sudo apt-get install libcurl3-gnutls=7.64.0-4+deb10u2

leaving it open for now, to see if I encounter any other errors.

1 Like

so to be clear, this is a temporary workaround, not a fix.
stuff works for a while, then the error returns.

Uhokay, can you try to run cd /tmp/ && git clone https://github.com/YunoHost-Apps/hextris_ynh ? (I’m just taking hextris as a random example)

Same thing with cd /tmp/ && curl https://app.yunohost.org/default/v2/apps.json (here also, taking apps.json as a random file to download)

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