As suggested in Trixie: Error 500 "POST" /yunohost/api/apps
Edited file “/usr/lib/python3/dist-packages/yunohost/utils/system.py”
from:
61 @cache
62 def debian_version_id() -> str:
63 return int(os_release()["VERSION_ID"]) # type: ignore[return-value]
to:
61 @cache
62 def debian_version_id() -> Literal[12, 13]:
63 return int(os_release()["VERSION_ID"].strip('"'))
install now fails with:
File "/usr/lib/python3/dist-packages/yunohost/utils/system.py", line 63, in debian_version_id
return int(os_release()["VERSION_ID"].strip('"'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '"13"'
Temporarily edited /etc/os-release
From:
VERSION_ID=“13”
To:
VERSION_ID=13
and now the install proceeds but eventually fails with another, unrelated error
see https://paste.yunohost.org/raw/piwoyowufi
Manually installed php8.4-fpm:
sudo apt install php8.4-fpm
and now the Wordpress install succeeded and is working fine.
Thank you.