home.social

#yunohosthelp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #yunohosthelp, aggregated by home.social.

  1. 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

  2. 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