🎃 YunoHost 13.0 / Trixie spooky beta

@emichalak : can you share the output of sudo apt policy openssl ?

openssl:
  Installed: (none)
  Candidate: 3.5.4-1~deb13u1+rpt1
  Version table:
     3.5.4-1~deb13u1+rpt1 500
        500 http://archive.raspberrypi.com/debian trixie/main armhf Packages
        100 /var/lib/dpkg/status
     3.5.1-1 500
        500 http://raspbian.raspberrypi.com/raspbian trixie/main armhf Packages

I installed openssl and tried again to install yunohost but it ends up with the same error and apt policy openssl shows again “Installed: (none)”

@emichalak : can you tried again ? I just release 13.0.1/testing that should fix this issue

Problem with openssl is solved but installation still fails. There is this error after every apt-get command (it appears multiple times while installation):

Running: apt-get install --assume-yes -o Dpkg::Options::=--force-confold -o APT::install-recommends=true yunohost yunohost-admin postfix
===================
Reading package lists...
Building dependency tree...
Reading state information...
yunohost is already the newest version (13.0.1).
postfix is already the newest version (3.10.4-1~deb13u1).
The following packages were automatically installed and are no longer required:
  cloud-guest-utils eatmydata gdisk libeatmydata1 python3-arrow python3-attr
  python3-blinker python3-cached-property python3-configobj python3-dateutil
  python3-fqdn python3-isoduration python3-json-pointer python3-jsonpatch
  python3-jsonschema python3-jsonschema-specifications python3-oauthlib
  python3-referencing python3-rfc3339-validator python3-rfc3986-validator
  python3-rfc3987 python3-rpds-py python3-setuptools-whl python3-typeshed
  python3-uritemplate python3-webcolors
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  yunohost-admin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/6,034 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Setting up yunohost (13.0.1) ...
Job for sssd.service failed because the control process exited with error code.
See "systemctl status sssd.service" and "journalctl -xeu sssd.service" for details.
dpkg: error processing package yunohost (--configure):
 installed yunohost package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 yunohost
E: Sub-process /usr/bin/dpkg returned an error code (1)
[FAIL] Installation of YunoHost packages failed

Can you share the output of journalctl -u sssd.service --no-pager --no-hostname -n 30 ?

Nov 07 16:44:31 sssd[4794]: Could not exec /usr/libexec/sssd/sssd_pam --logger=files, reason: Permission denied
Nov 07 16:44:31 sssd[4785]: Exiting the SSSD. Could not restart critical service [pam].
Nov 07 16:44:31 sssd_ssh[4791]: Shutting down (status = 0)
Nov 07 16:44:31 sssd_sudo[4790]: Shutting down (status = 0)
Nov 07 16:44:31 sssd_nss[4788]: Shutting down (status = 0)
Nov 07 16:44:31 sssd_be[4787]: Shutting down (status = 0)
Nov 07 16:44:31 systemd[1]: sssd.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 16:44:31 systemd[1]: sssd.service: Failed with result 'exit-code'.
Nov 07 16:44:31 systemd[1]: Failed to start sssd.service - System Security Services Daemon.
Nov 07 16:44:31 systemd[1]: sssd.service: Consumed 1.453s CPU time.
Nov 07 16:46:02 systemd[1]: Starting sssd.service - System Security Services Daemon...
Nov 07 16:46:03 sssd[5606]: Starting up
Nov 07 16:46:03 sssd_be[5607]: Starting up
Nov 07 16:46:03 sssd[5609]: Could not exec /usr/libexec/sssd/sssd_pam --logger=files, reason: Permission denied
Nov 07 16:46:03 sssd[5612]: Could not exec /usr/libexec/sssd/sssd_pam --logger=files, reason: Permission denied
Nov 07 16:46:03 sssd_nss[5608]: Starting up
Nov 07 16:46:03 sssd_sudo[5610]: Starting up
Nov 07 16:46:03 sssd_ssh[5611]: Starting up
Nov 07 16:46:04 sssd_be[5607]: Backend is offline
Nov 07 16:46:05 sssd[5613]: Could not exec /usr/libexec/sssd/sssd_pam --logger=files, reason: Permission denied
Nov 07 16:46:09 sssd[5614]: Could not exec /usr/libexec/sssd/sssd_pam --logger=files, reason: Permission denied
Nov 07 16:46:09 sssd[5606]: Exiting the SSSD. Could not restart critical service [pam].
Nov 07 16:46:09 sssd_ssh[5611]: Shutting down (status = 0)
Nov 07 16:46:09 sssd_sudo[5610]: Shutting down (status = 0)
Nov 07 16:46:09 sssd_nss[5608]: Shutting down (status = 0)
Nov 07 16:46:09 sssd_be[5607]: Shutting down (status = 0)
Nov 07 16:46:09 systemd[1]: sssd.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 16:46:09 systemd[1]: sssd.service: Failed with result 'exit-code'.
Nov 07 16:46:09 systemd[1]: Failed to start sssd.service - System Security Services Daemon.
Nov 07 16:46:09 systemd[1]: sssd.service: Consumed 1.456s CPU time.

How can I update Yunohost 13.0 for this version?

If you mean a fresh install, the install script should pick up the new version automatically

If you mean an existing install, just the usual process via the webadmin, or from the command line with something like yunohost tools update && yunohost tools upgrade system, or if you want to bypass yunohost entirely, use apt update && apt full-upgrade

You mean updating the beta 13 version over a fresh install ? I’d be curious too, to know if the beta is a “fixed” commit, or if it’s a branch getting fixes and updates cna be applied to a test deployment…

Updating a testing VM:

yunohost tools update
yunohost tool upgrade system
https://paste.yunohost.org/raw/hivutawadi

One error I saw:

2025-11-07 19:27:42,939: INFO - + Setting up sssd-ad-common (2.10.1-2+b1) ...
2025-11-07 19:27:43,056: DEBUG - Created symlink /etc/systemd/system/sssd.service.wants/sssd-pac.socket → /lib/systemd/system/sssd-pac.socket.
2025-11-07 19:27:43,367: DEBUG - sssd-pac.service is a disabled or a static unit, not starting it.
2025-11-07 19:27:43,385: WARNING - Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 148.

But it mainly finishes with an error with Pydantic, and I discover that my /etc/apt/sources.d/yunohost.list mentions both testing and unstable…

Logs
Setting up yunohost (13.0.1+202511071530) ...
Regenerating configuration, this might take a while...
Traceback (most recent call last):
  File "/usr/bin/yunohost", line 108, in <module>
    main()
    ~~~~^^
  File "/usr/bin/yunohost", line 97, in main
    yunohost.cli(
    ~~~~~~~~~~~~^
        debug=opts.debug,
        ^^^^^^^^^^^^^^^^^
    ...<4 lines>...
        parser=parser,
        ^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/yunohost/__init__.py", line 59, in cli
    ret = moulinette.cli(
        args,
    ...<4 lines>...
        top_parser=parser,
    )
  File "/usr/lib/python3/dist-packages/moulinette/__init__.py", line 143, in cli
    ).run(args, output_as=output_as, timeout=timeout)
      ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/cli.py", line 530, in run
    ret = self.actionsmap.process(args, timeout=timeout)
  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 1878, in app_ssowatconf
    from .settings import settings_get
  File "/usr/lib/python3/dist-packages/yunohost/settings.py", line 31, in <module>
    from .utils.configpanel import ConfigPanel, parse_filter_key
  File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 31, in <module>
    from pydantic import BaseModel, ConfigDict, ValidationError, field_validator
ImportError: cannot import name 'field_validator' from 'pydantic' (/usr/lib/python3/dist-packages/pydantic/__init__.py). Did you mean: 'root_validator'?
dpkg: error processing package yunohost (--configure):
 installed yunohost package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 yunohost

Edit: it turns out that Pydantic stayed at v1.10:

apt search python3-pydantic
python3-pydantic/stable 2.10.6-2 all [upgradable from: 1.10.4-1]

Edit2: Fixed with aptitude upgrade python3-pydantic then aptitude upgrade python3-email-validator. NGINX does not start:

nginx -t
2025/11/07 20:16:32 [emerg] 20217#20217: module "/usr/share/nginx/modules/ndk_http_module.so" version 1022001 instead of 1026003 in /etc/nginx/modules-enabled/10-mod-http-ndk.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed

Edit 3: Fixed by systemctl disable nginx then apt --fix-broken install. But then

nginx -t
2025/11/07 22:31:12 [warn] 28512#28512: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/appgenerator.test.vpn.internal.conf:34
2025/11/07 22:31:12 [warn] 28512#28512: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/appgenerator.test.vpn.internal.conf:35
2025/11/07 22:31:12 [warn] 28512#28512: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/ci.test.vpn.internal.conf:34
2025/11/07 22:31:12 [warn] 28512#28512: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/ci.test.vpn.internal.conf:35
2025/11/07 22:31:12 [warn] 28512#28512: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/dex.test.vpn.internal.conf:34
2025/11/07 22:31:12 [warn] 28512#28512: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/dex.test.vpn.internal.conf:35
2025/11/07 22:31:12 [emerg] 28512#28512: "server_tokens" directive is duplicate in /etc/nginx/conf.d/global.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed

Edit 4: fixed after yunohost tools upgrade system then yunohost tools regen-conf nginx.
But there are many warnings about http2 directive.

I mean to upgrade from YunoHost 13.0 to 13.0.1. I tried:

yunohost tools update
yunohost tool upgrade system

But it doesn’t work for me (says that it’s already updated).

Do you mean 13.0.1? There is no 13.1 as of today 2025-11-07.

Yes, sorry.

and what’s the output of yunohost --version ?

yunohost: 
  repo: testing
  version: 13.0.0
yunohost-admin: 
  repo: testing
  version: 13.0.0
yunohost-portal: 
  repo: testing
  version: 13.0.0
moulinette: 
  repo: testing
  version: 13.0.0
ssowat: 
  repo: testing
  version: 13.0.0

the beta is a “branch” and/or an upgrade “channel”, you can upgrade an existing install just like a regular install to get fixes etc, and you can also disable the “testing” keyword in the appropriate file in /etc/apt/sources.list.d/ once the stable version gets released to stop receiving upgrades from the testing channel and therefore “be on stable”

1 Like

I’m getting these errors when installing an app that needs a PostgreSQL database:

Info: Provisioning database...
Warning: WARNING:  database "postgres" has a collation version mismatch
Warning: DETAIL:  The database was created using collation version 2.36, but the operating system provides version 2.41.
Warning: HINT:  Rebuild all objects in this database that use the default collation and run ALTER DATABASE postgres REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.

Same thing for database “template1”. Running the suggested commands fixed the issue.

Have same issue :

2025-11-09 21:07:01,380 DEBUG    yunohost.hook.<lambda> - ++ jq -r '.users | .[] | .username'
2025-11-09 21:07:01,384 DEBUG    yunohost.hook.<lambda> - ++ yunohost user list --quiet --output-as json
2025-11-09 21:07:01,678 WARNING  yunohost.hook.<lambda> - jq: parse error: Invalid numeric literal at line 1, column 10
2025-11-09 21:07:01,710 DEBUG    yunohost.hook.<lambda> - + for file in /etc/yunohost/{*.yml,*.yaml,*.json,mysql,psql}

Full log here: https://paste.yunohost.org/dixotuzube.yaml

Hello Trixie-Folks,
i can not install Mastodon on Debian 13.
Here is the Log:
https://paste.yunohost.org/raw/xivadixape