#YunoHostHelp

2025-05-16

So my suspicion is that #Phanpy was somehow corrupted.

I'm not sure, however, if that's a symptom of a deeper issue, or the root cause itself.

Has anyone experienced a similar issue? If so, what were the steps to fixing it?

#YunoHost #yunohosthelp #yunohosters #yunohostadmin #phanpy #phanpysocial #phanpysocialdev #FediHelp #Fediverse #GoToSocial #GoToSocialAdmin #TechHelp #TechHelpNeeded #ServerHelp #Help

2025-05-15

So over to the command line. First, a sudo apt update.

Debian fetches the updates as it should. It says:

"Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it."

Apt list --upgradable mentions: monarx-agent/bookworm 4.2.72-master amd64 [upgradable from: 4.2.62-master]

Okay, so with that done, let's try the three commands YunoHost recommended:

sudo apt install --fix-broken produces the following output:

"Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up yunohost (12.0.16) ...
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(
File "/usr/lib/python3/dist-packages/yunohost/__init__.py", line 41, in cli
ret = moulinette.cli(
^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/__init__.py", line 140, in cli
).run(args, output_as=output_as, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/interfaces/cli.py", line 521, in run
ret = self.actionsmap.process(args, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 579, in process
return func(**arguments)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/app.py", line 1755, in app_ssowatconf
local_manifest = _get_manifest_of_app(setting_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/app.py", line 2269, in _get_manifest_of_app
manifest = _convert_v1_manifest_to_v2(manifest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/app.py", line 2397, in _convert_v1_manifest_to_v2
install_questions = manifest["arguments"]["install"]
~~~~~~~~^^^^^^^^^^^^^
KeyError: 'arguments'
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)"

Typing sudo dpkg --configure -a gives us the following:

Setting up yunohost (12.0.16) ...
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(
File "/usr/lib/python3/dist-packages/yunohost/__init__.py", line 41, in cli
ret = moulinette.cli(
^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/__init__.py", line 140, in cli
).run(args, output_as=output_as, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/interfaces/cli.py", line 521, in run
ret = self.actionsmap.process(args, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 579, in process
return func(**arguments)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/app.py", line 1755, in app_ssowatconf
local_manifest = _get_manifest_of_app(setting_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/app.py", line 2269, in _get_manifest_of_app
manifest = _convert_v1_manifest_to_v2(manifest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/app.py", line 2397, in _convert_v1_manifest_to_v2
install_questions = manifest["arguments"]["install"]
~~~~~~~~^^^^^^^^^^^^^
KeyError: 'arguments'
dpkg: error processing package yunohost (--configure):
installed yunohost package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
yunohost"

And let's try sudo dpkg --audit:

"The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
yunohost manageable and configured self-hosting server"

Okay.

So.

Any idea what's going on here?

What should I try next to fix this?

(3/3)

#YunoHost #GoToSocial #Fediverse #FediHelp #Linux #SelfHost #SelfHosters #SelfHostedSoftware #python #yunohosthelp @yunohost @yunohost

Reading package lists... Done                          
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
2025-05-15

Some bad news. Something's gone horribly awry with my #YunoHost deployment. Any help with this would be greatly appreciated!

This is a two-part issue. First, the smaller of the two issues: Phanpy has gone AWOL. It's visible in some places, but not others.

Phany is listed as an app on the front page of the YunoHost UI.

But go into Admin, and it's not listed as an installed app.

Go to the URL it was installed at, and it's just a blank screen.

And yet. When I SSH in, and see what's in the /etc/yunohost/apps folder, Phanpy's files are still clearly installed on the server.

Now, here's where the Phanpy situation is a big issue... [1/3]

#Fedihelp #Mastodon #GoToSocial #Phanpy #Linux #LinuxHelp #SysAdmin #YunoHostAdmin #YunoHosters #YunoHostHelp

Home screen of YunoHost, clearly showing Phanpy as an installed app.List of applications. Note Phanpy isn't listed.Phanpy's files are still there in /etc/yunohost/apps

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst