Yunohost Upgrade to Buster 4.0 failure

Well, is it running …?

Yes it is running.

Hello Aleks,

When I log into Admin then click on System Update, I get these comments and errors:

Unable to download the default app catalog: Invalid URL https://app.yunohost.org/default/v2/apps.json (does this site exists?)

Updating application catalog…

Something went wrong while updating 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
sources.list:deb-src http://ftp.debian.org/debian buster main contrib
sources.list:deb http://forge.yunohost.org/debian/ buster stable
sources.list:deb http://security.debian.org/debian-security buster/updates main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

W: Some index files failed to download. They have been ignored, or old ones used instead.

W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Temporary failure resolving ‘security.debian.org

W: Failed to fetch http://forge.yunohost.org/debian/dists/buster/InRelease Temporary failure resolving ‘forge.yunohost.org

W: Failed to fetch http://ftp.debian.org/debian/dists/buster/InRelease Temporary failure resolving ‘ftp.debian.org

Fetching available upgrades for system packages…

Yes your DNS resolution is completely broken so that’s “expected” to see those errors as long as it’s not fixed …

Let’s investigate further, does any of these commands returns something ?

dig +short A yunohost.org @127.0.0.1
dig +short A yunohost.org @8.8.8.8
dig +short A yunohost.org @80.67.169.40

Hi Aleks,

Here is what I get when I run those digs.

root@shinevar:~# dig +short A yunohost.org @127.0.0.1
root@shinevar:~# dig +short A yunohost.org @8.8.8.8
80.67.172.144
root@shinevar:~# dig +short A yunohost.org @80.67.169.40
80.67.172.144

Could it be that you have pihole installed maybe ?

Or can you tell if you have vpnclient or hotspot installed ?

Anyway, maybe let’s try if yunohost tools regen-conf dnsmasq solves the issue but I doubt…

Hi Aleks,

No. I do not have pihole, vpnclient or hotspot installed. Here is the result of the command you sent:

yunohost tools regen-conf dnsmasq
Warning: The configuration file ‘/etc/dnsmasq.conf’ has been manually modified and will not be updated
dnsmasq:
applied:
/etc/resolv.dnsmasq.conf:
status: updated
pending:
/etc/dnsmasq.conf:
status: modified

Tried system update then apt-get update, upgrade. but the same failed result.

Hm for some reason /etc/dnsmasq.conf is flagged as manually modified so maybe that’s the root of the issue (though would need to see the diff to understand)

Anyway let’s run the same command (regen-conf) with --force to apply the change :

yunohost tools regen-conf dnsmasq --force

and retry to dig +short A yunohost.org @127.0.0.1

to see if that fixed the issue…

Hello Aleks,

Here is the result of the force and dig:

yunohost tools regen-conf dnsmasq --force
Success! Configuration updated for ‘dnsmasq’
dnsmasq:
applied:
/etc/dnsmasq.conf:
status: force-updated
/etc/resolv.dnsmasq.conf:
status: updated
pending:
root@shinevar:~# dig +short A yunohost.org @127.0.0.1
80.67.172.144

Logged into admin, got no errors when I clicked system update. Well, the DNS issue is resolved. But when I ran the update it failed with this error:

2020-08-28 09:07:57,921: WARNING - E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Below are the full log of the event:

2020-08-28 09:07:57,148: INFO - Now upgrading ‘regular’ (non-yunohost-related) packages…
2020-08-28 09:07:57,406: DEBUG - Running apt command :
DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt-get --fix-broken --show-upgraded --assume-yes --quiet -o=Dpkg::Use-Pty=0 -o Dpkg::Options::="–force-confold" -o Dpkg::Options::="–force-confmiss" -o Dpkg::Options::="–force-confdef" dist-upgrade
2020-08-28 09:07:57,518: INFO - + Reading package lists…
2020-08-28 09:07:57,620: INFO - + Building dependency tree…
2020-08-28 09:07:57,620: INFO - + Reading state information…
2020-08-28 09:07:57,921: INFO - + Calculating upgrade…
2020-08-28 09:07:57,921: WARNING - E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
2020-08-28 09:07:57,921: INFO - + Some packages could not be installed. This may mean that you have
2020-08-28 09:07:57,922: INFO - + requested an impossible situation or if you are using the unstable
2020-08-28 09:07:57,922: INFO - + distribution that some required packages have not yet been created
2020-08-28 09:07:57,922: INFO - + or been moved out of Incoming.
2020-08-28 09:07:57,922: INFO - + The following information may help to resolve the situation:
2020-08-28 09:07:57,922: INFO - +
2020-08-28 09:07:57,922: INFO - + The following packages have unmet dependencies:
2020-08-28 09:07:57,922: INFO - + debhelper : Depends: dh-autoreconf (>= 17~) but it is not going to be installed
2020-08-28 09:07:57,923: INFO - + moulinette : Depends: python-argcomplete but it is not going to be installed
2020-08-28 09:07:57,923: INFO - + Depends: python-bottle (>= 0.12) but it is not going to be installed
2020-08-28 09:07:57,923: INFO - + Depends: python-gevent-websocket but it is not going to be installed
2020-08-28 09:07:57,923: INFO - + Depends: python-ldap but it is not going to be installed
2020-08-28 09:07:57,923: INFO - + Depends: python-tz but it is not going to be installed
2020-08-28 09:07:57,923: INFO - + Depends: python-yaml but it is not going to be installed
2020-08-28 09:07:57,923: INFO - + ssowat : Depends: nginx-extras (>= 1.6.2) but it is not going to be installed
2020-08-28 09:07:57,924: INFO - + yunohost : Depends: python-requests but it is not going to be installed
2020-08-28 09:07:57,924: INFO - + Depends: python-openssl but it is not going to be installed
2020-08-28 09:07:57,924: INFO - + Depends: python-jinja2 but it is not going to be installed
2020-08-28 09:07:57,925: INFO - + Depends: python-packaging but it is not going to be installed
2020-08-28 09:07:57,925: INFO - + Depends: python-publicsuffix but it is not going to be installed
2020-08-28 09:07:57,925: INFO - + Depends: dnsutils but it is not going to be installed
2020-08-28 09:07:57,926: INFO - + Depends: bind9utils but it is not going to be installed
2020-08-28 09:07:57,926: INFO - + Depends: libnss-ldapd but it is not going to be installed
2020-08-28 09:07:57,926: INFO - + Depends: unscd but it is not going to be installed
2020-08-28 09:07:57,926: INFO - + Depends: libpam-ldapd but it is not going to be installed
2020-08-28 09:07:57,926: INFO - + Depends: avahi-daemon but it is not going to be installed
2020-08-28 09:07:57,926: INFO - + Depends: libnss-mdns but it is not going to be installed
2020-08-28 09:07:57,926: INFO - + Depends: mailutils but it is not going to be installed
2020-08-28 09:07:58,490: WARNING - Could not upgrade packages: apache2-bin, apt, apt-transport-https, apt-utils, avahi-daemon, bind9-host, bind9utils, binutils, build-essential, busybox, ca-certificates, coreutils, curl, dash, dirmngr, dmsetup, dnsutils, dovecot-antispam, dovecot-core, dovecot-imapd, dovecot-ldap, dovecot-lmtpd, dovecot-managesieved, dovecot-sieve, dpkg, e2fslibs, e2fsprogs, g++, gcc, ghostscript, gir1.2-glib-2.0, gir1.2-packagekitglib-1.0, git, git-man, gnupg, gnupg-agent, gpgv, iproute2, iptables, isc-dhcp-client, ldap-utils, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, libapt-pkg5.0, libblkid1, libbsd0, libc-bin, libc-dev-bin, libc6, libc6-dev, libcups2, libcupsimage2, libcurl3-gnutls, libdbd-mysql-perl, libdbi-perl, libdevmapper1.02.1, libexpat1, libexpat1-dev, libfcgi-perl, libfdisk1, libfuse2, libgirepository-1.0-1, libglib2.0-0, libglib2.0-bin, libgnutls30, libgs9, libgs9-common, libgssapi-krb5-2, libgssapi-perl, libhtml-parser-perl, libio-socket-ssl-perl, libip4tc0, libip6tc0, libiptc0, libk5crypto3, libkrb5-3, libkrb5support0, libldap-2.4-2, liblocale-gettext-perl, libmailutils5, libmount1, libnet-dns-perl, libnet-ssleay-perl, libnetaddr-ip-perl, libnginx-mod-http-auth-pam, libnginx-mod-http-cache-purge, libnginx-mod-http-dav-ext, libnginx-mod-http-echo, libnginx-mod-http-fancyindex, libnginx-mod-http-geoip, libnginx-mod-http-headers-more-filter, libnginx-mod-http-image-filter, libnginx-mod-http-lua, libnginx-mod-http-ndk, libnginx-mod-http-perl, libnginx-mod-http-subs-filter, libnginx-mod-http-uploadprogress, libnginx-mod-http-upstream-fair, libnginx-mod-http-xslt-filter, libnginx-mod-mail, libnginx-mod-nchan, libnginx-mod-stream, libnss-myhostname, libp11-kit0, libpackagekit-glib2-18, libpam-modules, libpam-modules-bin, libpam-systemd, libpopt0, libpython-all-dev, libpython-dev, libpython-stdlib, libpython2.7, libpython2.7-dev, libpython2.7-minimal, libpython2.7-stdlib, libpython3-stdlib, libsmartcols1, libsocket6-perl, libsqlite3-0, libssl1.1, libsystemd0, libterm-readkey-perl, libtext-charwidth-perl, libtext-iconv-perl, libudev1, libuuid1, libxml2, libxtables12, locales, login, logrotate, mailutils, mailutils-common, make, man-db, mount, nano, netcat-openbsd, nginx-common, nginx-extras, opendkim-tools, openssh-client, openssh-server, openssh-sftp-server, openssl, packagekit, packagekit-tools, perl, perl-base, php-curl, php-fpm, php-gd, php-intl, php-ldap, php-mbstring, php-mysql, php-xml, php-zip, postfix, postfix-ldap, postfix-pcre, postfix-sqlite, procps, python, python-all, python-all-dev, python-apt, python-cryptography, python-dev, python-minimal, python-openssl, python2.7, python2.7-dev, python2.7-minimal, python3, python3-apt, python3-dbus, python3-gi, python3-minimal, python3-pycurl, python3-systemd, python3-tk, redis-server, redis-tools, rspamd, rsyslog, slapd, sudo-ldap, systemd, systemd-sysv, udev, util-linux, util-linux-locales, wget, whois

Does it ever stops T_T

Let’s run

apt-mark unhold yunohost
apt-mark unhold moulinette
apt-mark unhold ssowat
apt-mark unhold yunohost-admin
apt install yunohost moulinette ssowat yunohost-admin
1 Like

Hello Aleks,

Happy Friday!

Ran all you requested. The apt install seemed to work well. Did get some “manually modified” errors on some .conf files and my.cnf. Then I logged into admin and system update. This did not run, maybe what we did via command line did the job? Anyway, here is the log via yunopaste:

args:
apps: null
system: true
ended_at: 2020-08-28 17:43:13.564232
error: Could not upgrade all the packages
operation: tools_upgrade
related_to: []
started_at: 2020-08-28 17:43:10.934120
success: false
yunohost_version: 4.0.4

============

2020-08-28 12:43:10,939: INFO - Now upgrading ‘regular’ (non-yunohost-related) packages…
2020-08-28 12:43:12,738: DEBUG - Running apt command :
DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt-get --fix-broken --show-upgraded --assume-yes --quiet -o=Dpkg::Use-Pty=0 -o Dpkg::Options::="–force-confold" -o Dpkg::Options::="–force-confmiss" -o Dpkg::Options::="–force-confdef" dist-upgrade
2020-08-28 12:43:12,849: INFO - + Reading package lists…
2020-08-28 12:43:12,951: INFO - + Building dependency tree…
2020-08-28 12:43:12,951: INFO - + Reading state information…
2020-08-28 12:43:13,252: INFO - + Calculating upgrade…
2020-08-28 12:43:13,252: WARNING - E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
2020-08-28 12:43:13,253: INFO - + Some packages could not be installed. This may mean that you have
2020-08-28 12:43:13,253: INFO - + requested an impossible situation or if you are using the unstable
2020-08-28 12:43:13,253: INFO - + distribution that some required packages have not yet been created
2020-08-28 12:43:13,253: INFO - + or been moved out of Incoming.
2020-08-28 12:43:13,253: INFO - + The following information may help to resolve the situation:
2020-08-28 12:43:13,254: INFO - +
2020-08-28 12:43:13,254: INFO - + The following packages have unmet dependencies:
2020-08-28 12:43:13,254: INFO - + debhelper : Depends: dh-autoreconf (>= 17~) but it is not going to be installed
2020-08-28 12:43:13,254: INFO - + moulinette : Depends: python-argcomplete but it is not going to be installed
2020-08-28 12:43:13,254: INFO - + Depends: python-bottle (>= 0.12) but it is not going to be installed
2020-08-28 12:43:13,255: INFO - + Depends: python-gevent-websocket but it is not going to be installed
2020-08-28 12:43:13,255: INFO - + Depends: python-ldap but it is not going to be installed
2020-08-28 12:43:13,255: INFO - + Depends: python-tz but it is not going to be installed
2020-08-28 12:43:13,255: INFO - + Depends: python-yaml but it is not going to be installed
2020-08-28 12:43:13,255: INFO - + ssowat : Depends: nginx-extras (>= 1.6.2) but it is not going to be installed
2020-08-28 12:43:13,256: INFO - + yunohost : Depends: python-requests but it is not going to be installed
2020-08-28 12:43:13,256: INFO - + Depends: python-openssl but it is not going to be installed
2020-08-28 12:43:13,256: INFO - + Depends: python-jinja2 but it is not going to be installed
2020-08-28 12:43:13,257: INFO - + Depends: python-packaging but it is not going to be installed
2020-08-28 12:43:13,257: INFO - + Depends: python-publicsuffix but it is not going to be installed
2020-08-28 12:43:13,258: INFO - + Depends: dnsutils but it is not going to be installed
2020-08-28 12:43:13,258: INFO - + Depends: bind9utils but it is not going to be installed
2020-08-28 12:43:13,258: INFO - + Depends: libnss-ldapd but it is not going to be installed
2020-08-28 12:43:13,258: INFO - + Depends: unscd but it is not going to be installed
2020-08-28 12:43:13,258: INFO - + Depends: libpam-ldapd but it is not going to be installed
2020-08-28 12:43:13,259: INFO - + Depends: avahi-daemon but it is not going to be installed
2020-08-28 12:43:13,259: INFO - + Depends: libnss-mdns but it is not going to be installed
2020-08-28 12:43:13,259: INFO - + Depends: mailutils but it is not going to be installed
2020-08-28 12:43:13,563: WARNING - Could not upgrade packages: apache2-bin, apt, apt-transport-https, apt-utils, avahi-daemon, bind9-host, bind9utils, binutils, build-essential, busybox, ca-certificates, coreutils, curl, dash, dirmngr, dmsetup, dnsutils, dovecot-antispam, dovecot-core, dovecot-imapd, dovecot-ldap, dovecot-lmtpd, dovecot-managesieved, dovecot-sieve, dpkg, e2fslibs, e2fsprogs, g++, gcc, ghostscript, gir1.2-glib-2.0, gir1.2-packagekitglib-1.0, git, git-man, gnupg, gnupg-agent, gpgv, iproute2, iptables, isc-dhcp-client, ldap-utils, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, libapt-pkg5.0, libblkid1, libbsd0, libc-bin, libc-dev-bin, libc6, libc6-dev, libcups2, libcupsimage2, libcurl3-gnutls, libdbd-mysql-perl, libdbi-perl, libdevmapper1.02.1, libexpat1, libexpat1-dev, libfcgi-perl, libfdisk1, libfuse2, libgirepository-1.0-1, libglib2.0-0, libglib2.0-bin, libgnutls30, libgs9, libgs9-common, libgssapi-krb5-2, libgssapi-perl, libhtml-parser-perl, libio-socket-ssl-perl, libip4tc0, libip6tc0, libiptc0, libk5crypto3, libkrb5-3, libkrb5support0, libldap-2.4-2, liblocale-gettext-perl, libmailutils5, libmount1, libnet-dns-perl, libnet-ssleay-perl, libnetaddr-ip-perl, libnginx-mod-http-auth-pam, libnginx-mod-http-cache-purge, libnginx-mod-http-dav-ext, libnginx-mod-http-echo, libnginx-mod-http-fancyindex, libnginx-mod-http-geoip, libnginx-mod-http-headers-more-filter, libnginx-mod-http-image-filter, libnginx-mod-http-lua, libnginx-mod-http-ndk, libnginx-mod-http-perl, libnginx-mod-http-subs-filter, libnginx-mod-http-uploadprogress, libnginx-mod-http-upstream-fair, libnginx-mod-http-xslt-filter, libnginx-mod-mail, libnginx-mod-nchan, libnginx-mod-stream, libnss-myhostname, libp11-kit0, libpackagekit-glib2-18, libpam-modules, libpam-modules-bin, libpam-systemd, libpopt0, libpython-all-dev, libpython-dev, libpython-stdlib, libpython2.7, libpython2.7-dev, libpython2.7-minimal, libpython2.7-stdlib, libpython3-stdlib, libsmartcols1, libsocket6-perl, libsqlite3-0, libssl1.1, libsystemd0, libterm-readkey-perl, libtext-charwidth-perl, libtext-iconv-perl, libudev1, libuuid1, libxml2, libxtables12, locales, login, logrotate, mailutils, mailutils-common, make, man-db, mount, nano, netcat-openbsd, nginx-common, nginx-extras, opendkim-tools, openssh-client, openssh-server, openssh-sftp-server, openssl, packagekit, packagekit-tools, perl, perl-base, php-curl, php-fpm, php-gd, php-intl, php-ldap, php-mbstring, php-mysql, php-xml, php-zip, postfix, postfix-ldap, postfix-pcre, postfix-sqlite, procps, python, python-all, python-all-dev, python-apt, python-cryptography, python-dev, python-minimal, python-openssl, python2.7, python2.7-dev, python2.7-minimal, python3, python3-apt, python3-dbus, python3-gi, python3-minimal, python3-pycurl, python3-systemd, python3-tk, redis-server, redis-tools, rspamd, rsyslog, slapd, sudo-ldap, systemd, systemd-sysv, udev, util-linux, util-linux-locales, wget, whois

Are you sure it worked well … can you copy paste what it returned ?

Aleks,

Unfortunately I ran the command from Putty and I closed Putty. But, I did copy those manual errors. Here they are:

Warning: The configuration file ‘/etc/nslcd.conf’ has been manually modified and will not be updated
Success! Configuration updated for ‘dnsmasq’
Warning: The configuration file ‘/etc/fail2ban/jail.conf’ has been manually modified and will not be updated
Warning: The configuration file ‘/etc/mysql/my.cnf’ has been manually modified and will not be updated
Warning: The configuration file ‘/etc/ldap/schema/mailserver.schema’ has been manually modified and will not be updated
Warning: The configuration file ‘/etc/ldap/schema/sudo.schema’ has been manually modified and will not be updated
Warning: The configuration file ‘/etc/ssh/sshd_config’ has been manually modified and will not be updated

Running the command again, here is what you get:

apt install yunohost moulinette ssowat yunohost-admin
Reading package lists… Done
Building dependency tree
Reading state information… Done
moulinette is already the newest version (4.0.3).
ssowat is already the newest version (4.0.3+202007291517).
yunohost is already the newest version (4.0.4).
yunohost-admin is already the newest version (4.0.3).
0 upgraded, 0 newly installed, 0 to remove and 197 not upgraded.

Hope this helps. Thanks a bunch for your help on this.

Wokay then idk let’s try to savagely upgrade all dem packages explicitly:

apt install apache2-bin apt apt-transport-https apt-utils avahi-daemon bind9-host bind9utils binutils build-essential busybox ca-certificates coreutils curl dash dirmngr dmsetup dnsutils dovecot-antispam dovecot-core dovecot-imapd dovecot-ldap dovecot-lmtpd dovecot-managesieved dovecot-sieve dpkg e2fslibs e2fsprogs g++ gcc ghostscript gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 git git-man gnupg gnupg-agent gpgv iproute2 iptables isc-dhcp-client ldap-utils libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libapt-pkg5.0 libblkid1 libbsd0 libc-bin libc-dev-bin libc6 libc6-dev libcups2 libcupsimage2 libcurl3-gnutls libdbd-mysql-perl libdbi-perl libdevmapper1.02.1 libexpat1 libexpat1-dev libfcgi-perl libfdisk1 libfuse2 libgirepository-1.0-1 libglib2.0-0 libglib2.0-bin libgnutls30 libgs9 libgs9-common libgssapi-krb5-2 libgssapi-perl libhtml-parser-perl libio-socket-ssl-perl libip4tc0 libip6tc0 libiptc0 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 liblocale-gettext-perl libmailutils5 libmount1 libnet-dns-perl libnet-ssleay-perl libnetaddr-ip-perl libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-nchan libnginx-mod-stream libnss-myhostname libp11-kit0 libpackagekit-glib2-18 libpam-modules libpam-modules-bin libpam-systemd libpopt0 libpython-all-dev libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libsmartcols1 libsocket6-perl libsqlite3-0 libssl1.1 libsystemd0 libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl libudev1 libuuid1 libxml2 libxtables12 locales login logrotate mailutils mailutils-common make man-db mount nano netcat-openbsd nginx-common nginx-extras opendkim-tools openssh-client openssh-server openssh-sftp-server openssl packagekit packagekit-tools perl perl-base php-curl php-fpm php-gd php-intl php-ldap php-mbstring php-mysql php-xml php-zip postfix postfix-ldap postfix-pcre postfix-sqlite procps python python-all python-all-dev python-apt python-cryptography python-dev python-minimal python-openssl python2.7 python2.7-dev python2.7-minimal python3 python3-apt python3-dbus python3-gi python3-minimal python3-pycurl python3-systemd python3-tk redis-server redis-tools rspamd rsyslog slapd sudo-ldap systemd systemd-sysv udev util-linux util-linux-locales wget whois

Hey Aleks,

The savage install went savage, looks like most of the packages installed. Nginx-extras did not install. Here is the output:

nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-08-28 18:18:07 CDT; 5ms ago
Docs: man:nginx(8)
Process: 27873 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Aug 28 18:18:07 shinevar.nohost.me systemd[1]: Starting A high performance web server and a reverse proxy server…
Aug 28 18:18:07 shinevar.nohost.me nginx[27873]: nginx: [emerg] BIO_new_file("/usr/share/yunohost/other/ffdhe2048.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(’/usr/share/yunohost/other/ffdhe2048.pem’,‘r’) error:2006D080:BIO routines:BIO_new_file:no such file)
Aug 28 18:18:07 shinevar.nohost.me nginx[27873]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 28 18:18:07 shinevar.nohost.me systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Aug 28 18:18:07 shinevar.nohost.me systemd[1]: nginx.service: Failed with result ‘exit-code’.
Aug 28 18:18:07 shinevar.nohost.me systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-extras (–configure):
installed nginx-extras package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
nginx-extras

I am going to reboot and check admin.

Okay, after the reboot the admin will not come up. It says loading… and pacman keeps gobbling.

We are making progress?

Wat da heck this file supposed to be here from the yunohost package T_T …
Let’s just … apt install yunohost --reinstall
The nginx -t should be happy … then systemctl restart nginx

How can so many things go wrong, what the hell with computers ~_~

Hey Aleks,

Apparently a lot can go wrong! Ran the reinstall, seemed to go well. But nginx service will not start. Here is the output:

systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-08-28 21:19:00 CDT; 6s ago
Docs: man:nginx(8)
Process: 2363 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Aug 28 21:19:00 shinevar.nohost.me systemd[1]: Starting A high performance web server and a reverse proxy server…
Aug 28 21:19:00 shinevar.nohost.me nginx[2363]: nginx: [emerg] BIO_new_file("/usr/share/yunohost/other/ffdhe2048.pem") failed (SSL: erro
Aug 28 21:19:00 shinevar.nohost.me nginx[2363]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 28 21:19:00 shinevar.nohost.me systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Aug 28 21:19:00 shinevar.nohost.me systemd[1]: nginx.service: Failed with result ‘exit-code’.
Aug 28 21:19:00 shinevar.nohost.me systemd[1]: Failed to start A high performance web server and a reverse proxy server.
lines 1-12/12 (END)

That makes no sense because that filled is supposed to be installed by the yunohost .deb -_- … But whatever, let’s

nano /usr/share/yunohost/other/ffdhe2048.pem

and copy-paste the content from https://github.com/YunoHost/yunohost/blob/dev/data/other/ffdhe2048.pem

and nginx -t

then systemctl restart nginx

Hello Aleks,

Copied the .pem, niginx -t worked, niginx service is started. The admin site still saying “loading” and pacman gobbling. Good news is the user portal is working! We are getting close…

Ralph

A new development, I tried to refresh the admin page and am now getting a 403 Forbidden Nginx.