I hit a bug when logging into yunohost admin page

Hi! I’ve had this yunohost server running for 3 or 4 days now and I love it! SO GREAT! Take my money! lol

I’ve installed and uninstalled apps and settled on Seafile, Lychee, and Wordpress. Thank you so much for your hard work! I spent last week trying to install Pixelfed in a docker container on my alpine server and just could NOT make it work, as I don’t know docker well, or NGINX, or docker networking, or PHP… But it all just works with yunohost. Very impressive!

ANYWAYS, I ran into a bug today. :frowning:

:uk:/:us: Message template (english)

My YunoHost server

Hardware:
Ryzen 3 2200g, I forget the mainboard, no videocard, 2TB HDD RAID, onboard Realtek NIC, extra Intel network card

YunoHost version: 11.2.20.1

I have access to my server : Direct access, keyboard, mouse, XOrg, Chromium browser. Running on my LAN. I also have SSH server access.

Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? :slight_smile:
yes - Debian 11 netinstall image from Debian CD archive, minimal install, no extras or desktop environments, just XOrg, Openbox, Chromium, xterm. Installed per directions for VPS install with Debian provided.

Description of my issue

https://paste.yunohost.org/ucoqupatep.sql

When I log into the yunohost admin page, I get an error. I recently upgraded from 11.2.19 → 11.2.20.1. I can’t seem to roll-back the package to determine if that is the issue.

:shrug: Let me know if I can help. I’m a Linux wiz, not good with full-stack app development. I’m ok with Java, C, TCL/TK.

1 Like

Welcome!

Some side comments first, you should not run a desktop environment alongside a server that supposed to be headless. I’ve seen issues with Raspberry Pi, maybe it’s not the case with a x86_64 architecture. :slight_smile:

Now, onto your issue. You seem to be the only one (so far :sweat_smile:) to report it, so I am more encline to think something happened on your server. Usually when Python libs are complaining about modules having no attributes, it’s because something installed itself in the distribution packages that YunoHost uses, without creating a virtual environment to prevent clashes.

Does that ring a bell? Have you manually installed a Python software?

Not that I know of.

Everything was working well. I was about to move the server to the front room with the UPS and routers when I installed bridge-utils. I changed network configuration in /etc/network/interfaces so I could plug the ethernet into the Intel card instead of onboard NIC and plug a laptop in to SSH in without needing another switch port. I think that’s when this issue started.

Also now, I cannot SSH in any longer. SSH will get as far as asking for my password, but always fails. Hmmm. The system date/time is right (or matches my cell phone anyways.)

The yunohost apps are still working.

(Checks /var/log/auth.log) Nevermind SSH. Skill issue. SSH works fine with the yunohost admin user (who is not named admin). I kept trying the Debian system admin user (who also is not named admin).

Okay, I found time to work on this some more today. I thought I would reinstall the Yunohost package to restore files that might have been overwritten? ‘apt update’ gives me a new version ‘11.2.20.2’, so I update Yunohost and apt pukes, which I’ve never seen before.

It seems to me the missing symbol ‘X509_V_FLAG_NOTIFY_POLICY’ should be in openssl package, but I am not the expert here lol. I will snoop around and try to find it.

https://paste.yunohost.org/uzawefajaz.sql

Well, I found this:

Which implies I’m having issues with package versions of ‘python3-cryptography’ and ‘python3-openssl’, so I’ll try to pin older versions and see what happens.

I tried adding Trixie as a repository and installing the latest python3-openssl and python3-cryptography, and all dependencies like new libc6. Yunohost was still stuck on its previous configure phase so I removed and reinstalled yunohost. Reinstall completed but complained that /etc/yunhost/installed was empty or “mysteriously disappeared”. Yunohost admin page wouldn’t load.

:shrug: I’ll wait for the migration to Debian 12 thx

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