home.social

#selfhosters — Public Fediverse posts

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

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

  2. Microfronends as a #decentralized alternative to #npm.

    While i can smush everything into a #monoRepo, i wanted to explore the idea of using #Microfrontends as a kind-of self managed alternative to #npm.

    Microfronends have been around for a while and i've come across many different approaches. I want to share how im using microfrontends in my project.

    Im using #Webpack 5 #moduleFederation to create the #microfrontend. there are some interesting features that i dont think are being mentioned elsewhere:

    - Dynamic Remotes: Modules can be loaded from various endpoints. We can use a custom function to ping different URLs and determine the fastest one for loading the required module.

    - #Selfhosters can manage modules independently, enhancing control over updates and #security on #opensource projects.

    - Development Experience: By using dynamic-remotes and running modules locally during development, it can speed up testing and iteration.

    - Scalability: The approach allows for #CDN scaling with module deployments on multiple cloud providers. currently, my redundencies are on AWS S3 + github-pages... but i can see how this can be scaled to more cloud providers.

    Im aiming for the architecture to look like the following. Let me know your thoughts on my approach and if its something you would consider for your project.

    positive-intentions.com/blog/d

    positive-intentions.com/blog/s

    #Microfrontends #JavaScript #WebDevelopment #Frontend #ModuleFederation #DynamicRemotes #SelfHosting #DevExperience #Scalability #AWS #GitHubPages #CDN #OpenSource

  3. #Selfhosters and knowledgable #LVM2 people I need your help. I currently have 4 hdds with physical LVM2 volumes hosted on a mini-pc and this is mounted as a logical volume to hold all my media and home server stuff.
    I want to move the four drives to a new machine but am not sure the best way to go about this.
    Any help or boosts for reach are appreciated.
    #selfhosting #xfs #storage #linux #linuxhelp

  4. Look at this little cutie ❤️
    This #rackmount #ups will keep my #selfhosted #nextcloud instance running in case of blackout and shutdown all the gear gracefully before the #battery runs out of juice!

    #rack #selfhost #selfhosters #powerwalker #bluewalker
  5. Just #deployed the status #display #prototype in the #rack. Will leave it running for a few days to see if there is any flaw... if it runs okay, then i'll make a #circuitboard and mount it to a rack panel.
    It is extremely simple, here's the documentation: https://github.com/penguin86/selfhost-utils/blob/master/esp32-lcd/README.md
    Will add the circuit board in the future.

    #selfhost #selfhosters #monitor #lcd #esp32