šŸŽƒ YunoHost 13.0 / Trixie spooky beta

For some reason since yesterday Jellyfin has crashed and won’t restart:

Jan 16 21:19:23 systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Jan 16 21:19:23 (jellyfin)[5142]: jellyfin.service: Changing to the requested working directory failed: No such file or directory
Jan 16 21:19:23 (jellyfin)[5142]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: No such file or directory
Jan 16 21:19:23 systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
Jan 16 21:19:23 systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Jan 16 21:19:24 systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 1.
Jan 16 21:19:24 systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Also, when I try to update using the admin panel I get an error message:
Failed to compute last apt update time ? [Errno 2] No such file or directory: '/var/cache/apt/pkgcache.bin'

@TiberiusRegenschein @csolisr
You should remove the block nsswitch in /etc/yunohost/regenconf.ymland only keep the nss one.
You could do it with following command: cp -a /etc/yunohost/regenconf.yml /etc/yunohost/regenconf.yml.bak && yq 'del(.nsswitch)' -iy /etc/yunohost/regenconf.yml
(I will open an issue about it)

Thank you very much for taking care, helping me to solve it and also file the issue.

This solved my error message.

On remark: I could not run your command due to yq not being available on my installation. I then manually removed the block as suggested.

Thank you again

Have issue when trying to install outline:

2026-01-30 14:49:28,265: WARNING - janv. 30 14:49:27 nginx[110564]: 2026/01/30 14:49:27 [emerg] 110564#110564: open() "/etc/nginx/proxy_params_no_auth" failed (2: No such file or directory) in /etc/nginx/conf.d/space.maindomain.tld.d/outline.conf:6
2026-01-30 14:49:28,269: WARNING - janv. 30 14:49:27 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE

I workaround the problem doing this:
sudo ln -s /etc/nginx/proxy_params /etc/nginx/proxy_params_no_auth

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

Did you try sudo yunohost tools regen-conf nginx --force?

No. I’ve just tried now and that not seem to solve issue. Have to manualy do sudo ln -s /etc/nginx/proxy_params /etc/nginx/proxy_params_no_auth

thank for your help

/etc/nginx/proxy_params_no_auth should be a copy of /usr/share/yunohost/conf/nginx/proxy_params_no_auth

/usr/share/yunohost/conf/nginx/proxy_params_no_auth does not exist on my system

Humm that’s part of the yunohost package. Are you on version: 13.0.4+202601082230 (yunohost --version)?

I’m on version 13.0.1.

Maybe my install is broken because I’ve add this error when installed yunohost:

Hello, I am using Version 13.0.1 (testing)

Is not updating to YunoHost 13.0.2 … I see updates releases at github up to 13.0.4

I have not see any error.

I had a similar issue after a messy upgrade, what’s the content of /etc/apt/sources.list.d and in particular the yunohost.sources file that should be in there ?

$ /etc/apt/sources.list.d

sury_php.sources yunohost.sources

$ /etc/apt/sources.list.d/yunohost.sources
Types: deb
URIs: YunoHost Repository
Suites: trixie
Components: stable
Signed-By: /etc/apt/trusted.gpg.d/yunohost-trixie.gpg

Try replacing stable with testing and run sudo apt update, I think latest Yunohost release should show up

I am getting this error now>

Warning: W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. OpenPGP signature verification failed: https://repo.yunoho st.org/debian trixie InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Error: Failed to parse keyring ā€œ/etc/apt/trusted.gpg.d/yunohost-trixie.gpgā€ Caused by: 0 : Reading ā€œ/etc/apt/trusted.gpg.d/yunohost-trixie.gpgā€: No such file or directory (os error 2) 1: No such file or directory (os error 2)
Warning: W: Failed to fetch https://repo.yunohost.org/debian/dists/trixie/InRelease Sub-process / usr/bin/sqv returned an error code (1), error message is: Error: Failed to parse keyring ā€œ/etc/apt /trusted.gpg.d/yunohost-trixie.gpgā€ Caused by: 0: Reading ā€œ/etc/apt/trusted.gpg.d/yunohost-tr ixie.gpgā€: No such file or directory (os error 2) 1: No such file or directory (os error 2)
Warning: W: Some index files failed to download. They have been ignored, or old ones used instead.
Error: 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 Index of /debian trixie main contrib non-free non-free-firmware
sources.list:deb Index of /debian trixie-updates main contrib non-free non-free-firmwa re
sources.list:deb Index of /debian-security trixie-security main contrib non-free non- free-firmware
sources.list.d/yunohost.sources:Types: deb
sources.list.d/yunohost.sources:URIs: YunoHost Repository
sources.list.d/yunohost.sources:Suites: trixie
sources.list.d/yunohost.sources:Components: testing
sources.list.d/yunohost.sources:Signed-By: /etc/apt/trusted.gpg.d/yunohost-trixie.gpg
sources.list.d/sury_php.sources:Types: deb
sources.list.d/sury_php.sources:URIs: Index of /php/
sources.list.d/sury_php.sources:Suites: trixie
sources.list.d/sury_php.sources:Components: main
sources.list.d/sury_php.sources:Signed-By: /usr/share/keyrings/sury_php.gpg
Info: Updating application catalog…
Success! The application catalog has been updated!
Info: Nothing to do. Everything is already up-to-date.
apps:
important_yunohost_upgrade: False
last_apps_catalog_update: 0
last_apt_update: 0
pending_migrations:
system:

That’s weird if you did not have this error before.
Can you confirm /etc/apt/trusted.gpg.d/yunohost-trixie.gpg does not exist ?

Disclaimer : I did the following steps on my server after a messy upgrade to Yunohost 13, and it worked. But I’m no expert (read : I have no real idea what I’m doing). Tip : backup any file before modifying them (cp file_i_m_gonna_break file_i_m_gonna_break.bak)

Try, from the server, downloading yunohost_trixie.asc from YunoHost Repository (for example with wget https://repo.yunohost.org/keys/yunohost_trixie.asc).

Put it in /etc/apt/trusted.gpg.d/.

Rename it to yunohost-trixie.asc (replace the underscore with a dash).

Then dearmor it with gpg --dearmor yunohost-trixie.asc.

The output file might be named yunohost-trixie.asc.gpg, in that case rename it to yunohost-trixie.gpg (to match the apt source file).

And try updating.

2 Likes

That work, Thank You!

1 Like

Unfortunately the migration fails for me because it seems like aptitude is not found? :thinking:

Log

Argh! I fear I made a mistake. Even if the migration was failing, I updated all the packages. Now I lost ssh access, and I cannot even access YunoHost settings because of this error message:

unable to load function yunohost.settings_list because: No module named ā€˜pydantic_core._pydantic_core’

The migration error, now, seems related to La Suite Meet (see log). I would remove it, as I don’t need it much, I cannot even access the app, because of this this error:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 430, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 580, in process
    return func(**arguments)
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yunohost/app.py", line 2234, in app_config_get
    AppConfigPanel, AppCoreConfigPanel = _get_AppConfigPanel()
                                         ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yunohost/app.py", line 2267, in _get_AppConfigPanel
    from .utils.configpanel import ConfigPanel
  File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 31, in <module>
    from pydantic import BaseModel, Extra, ValidationError, validator
  File "/usr/lib/python3/dist-packages/pydantic/__init__.py", line 421, in __getattr__
    module = import_module(module_name, package=package)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pydantic/main.py", line 29, in <module>
    import pydantic_core
  File "/usr/lib/python3/dist-packages/pydantic_core/__init__.py", line 6, in <module>
    from ._pydantic_core import (
ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'

Apparently, it’s all related to pydantic_core._pydantic_core.

Sorry for the spamming… I will share this last thing and then wait for a reply. Actually I managed to connect via SSH, hopefully it was just a glitch. So I managed to uninstall lasuite-meet, but now the issue with the migration seems to be still happening…

Log.

I think I realized what I did wrong: I have updated all the packages to their Trixie version, but for the migration to happen I have to use their Bookworm version… How can I solve this? :scream: