Cannot upgrade YunoHost or install several apps after CouchDB installation failure | RESOLVED

Hi Everyone,

I apologize in advance for the multifaceted nature of this problem.

I tried installing CouchDB the other day, and it failed, with the following warnings / errors:

2021-07-09 21:23:26,504: ERROR - Unable to install couchdb: An error occurred inside the app installation script

&

2021-07-09 21:23:20,183: WARNING - gpg: key 379CE192D401AB61: public key "Bintray (by JFrog) <bintray@bintray.com>" imported
2021-07-09 21:23:20,192: WARNING - gpg: Total number processed: 1
2021-07-09 21:23:20,193: WARNING - gpg:               imported: 1

&

2021-07-09 21:37:25,036: WARNING - E: Failed to fetch https://apache.bintray.com/couchdb-deb/dists/buster/InRelease  403  Forbidden [IP: 35.157.24.53 443]
2021-07-09 21:37:25,038: WARNING - E: The repository 'https://apache.bintray.com/couchdb-deb buster InRelease' is not signed.

Since this failure, several apps have failed to install at all, or have failed to install correctly, including Wekan, OnlyOffice, FramaForms, and one or two more that I have forgotten. In addition, I cannot upgrade YunoHost. The error message I receive when trying to upgrade is as follows:

Error: "500" Internal Server Error

Action: "PUT" /yunohost/api/update/all

Error message:
Unable to update the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb http://ftp.debian.org/debian buster main contrib non-free sources.list:deb http://ftp.debian.org/debian buster-updates main contrib non-free sources.list:deb http://security.debian.org buster/updates main contrib non-free sources.list.d/wekan.list:deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ buster stable sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ buster main sources.list.d/grafana.list:deb https://packages.grafana.com/oss/deb stable main sources.list.d/couchdb.list:deb https://apache.bintray.com/couchdb-deb buster main

While processing the action the server said:
Fetching available upgrades for system packages...
E: Failed to fetch https://apache.bintray.com/couchdb-deb/dists/buster/InRelease 403 Forbidden [IP: 3.124.176.138 443]
E: The repository 'https://apache.bintray.com/couchdb-deb buster InRelease' is not signed.

My YunoHost server:

Hardware: VPS bought online
YunoHost version: 4.2.6.1
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 ? : no

TLDR Description of my issue:

CouchDB install failed after failure to fetch binaries. Warning messages resulting from said failure now preventing installation of other apps and upgrade of YunoHost.

I’m not sure whether CouchDB is just a dependency for a ton of stuff, or if the install just messed something up. In any case, I don’t have the knowledge or skill necessary to update the CouchDB install script myself, so I would really appreciate any help or insight!

Fixed update error by removing /etc/apt/sources.list.d/couchdb.list from server - still unable to install couchDB

1 Like

The YunoHost CouchDB package issue causing installation failure is resolved in the latest testing branch.

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