Posts by Mr MagOO

    Hello,

    I failed to install OMV with the script on a clean new Trixie image from raspberry imager.

    I've got this :


    -------------

    Succeeded: 13 (changed=8)

    Failed: 1

    -------------

    Total states run: 14

    Total run time: 2.020 s

    [ERROR ] Command 'netplan' failed with return code: 1

    [ERROR ] stderr:

    ** (generate:42871): WARNING **: 18:31:06.202: Permissions for /lib/netplan/00-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.


    ** (process:42869): WARNING **: 18:31:06.547: Permissions for /lib/netplan/00-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.


    ** (process:42869): WARNING **: 18:31:06.636: Permissions for /lib/netplan/00-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.

    Failed to start NetworkManager.service: Unit NetworkManager.service not found.

    Traceback (most recent call last):

    File "/usr/sbin/netplan", line 23, in <module>

    netplan.main()

    ~~~~~~~~~~~~^^

    File "/usr/share/netplan/netplan_cli/cli/core.py", line 58, in main

    self.run_command()

    ~~~~~~~~~~~~~~~~^^

    File "/usr/share/netplan/netplan_cli/cli/utils.py", line 332, in run_command

    self.func()

    ~~~~~~~~~^^

    File "/usr/share/netplan/netplan_cli/cli/commands/apply.py", line 62, in run

    self.run_command()

    ~~~~~~~~~~~~~~~~^^

    File "/usr/share/netplan/netplan_cli/cli/utils.py", line 332, in run_command

    self.func()

    ~~~~~~~~~^^

    File "/usr/share/netplan/netplan_cli/cli/commands/apply.py", line 297, in command_apply

    utils.systemctl_network_manager('start', sync=sync)

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^

    File "/usr/share/netplan/netplan_cli/cli/utils.py", line 106, in systemctl_network_manager

    return systemctl(action, [NM_SERVICE_NAME], sync) # pragma: nocover (covered in autopkgtest)

    File "/usr/share/netplan/netplan_cli/cli/utils.py", line 118, in systemctl

    subprocess.check_call(command)

    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^

    File "/usr/lib/python3.13/subprocess.py", line 419, in check_call

    raise CalledProcessError(retcode, cmd)

    subprocess.CalledProcessError: Command '['systemctl', 'start', '--no-block', 'NetworkManager.service']' returned non-zero exit status 5.

    [ERROR ] retcode: 1

    [ERROR ] {'pid': 42869, 'retcode': 1, 'stdout': '', 'stderr': '\n** (generate:42871): WARNING **: 18:31:06.202: Permissions for /lib/netplan/00-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.\n\n** (process:42869): WARNING **: 18:31:06.547: Permissions for /lib/netplan/00-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.\n\n** (process:42869): WARNING **: 18:31:06.636: Permissions for /lib/netplan/00-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.\nFailed to start NetworkManager.service: Unit NetworkManager.service not found.\nTraceback (most recent call last):\n File "/usr/sbin/netplan", line 23, in <module>\n netplan.main()\n ~~~~~~~~~~~~^^\n File "/usr/share/netplan/netplan_cli/cli/core.py", line 58, in main\n self.run_command()\n ~~~~~~~~~~~~~~~~^^\n File "/usr/share/netplan/netplan_cli/cli/utils.py", line 332, in run_command\n self.func()\n ~~~~~~~~~^^\n File "/usr/share/netplan/netplan_cli/cli/commands/apply.py", line 62, in run\n self.run_command()\n ~~~~~~~~~~~~~~~~^^\n File "/usr/share/netplan/netplan_cli/cli/utils.py", line 332, in run_command\n self.func()\n ~~~~~~~~~^^\n File "/usr/share/netplan/netplan_cli/cli/commands/apply.py", line 297, in command_apply\n utils.systemctl_network_manager(\'start\', sync=sync)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^\n File "/usr/share/netplan/netplan_cli/cli/utils.py", line 106, in systemctl_network_manager\n return systemctl(action, [NM_SERVICE_NAME], sync) # pragma: nocover (covered in autopkgtest)\n File "/usr/share/netplan/netplan_cli/cli/utils.py", line 118, in systemctl\n subprocess.check_call(command)\n ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^\n File "/usr/lib/python3.13/subprocess.py", line 419, in check_call\n raise CalledProcessError(retcode, cmd)\nsubprocess.CalledProcessError: Command \'[\'systemctl\', \'start\', \'--no-block\', \'NetworkManager.service\']\' returned non-zero exit status 5.'}

    [2025-12-28 18:31:08+0100] [omvinstall] Error applying network changes. Skipping reboot!

    [2025-12-28 18:31:08+0100] [omvinstall] done.


    Done it several times with different sd cards, same fail.

    Could you help me please ?

    Yes, the service page does not show and the black and the red font tells there was no page and a cache problem.

    When I reinstalled from updated scratch, I didn't saw my disks and services page did not show when I installed mini-DLNA service.

    Looks like Fibrou's problems there : latest omv update problems


    I reloaded an old backup and all is OK now, but I won't update ...

    I've got a rpi4 and I'm using a Mac and Safari to access OMV


    Edit : i redo the updates with my backup, and the only errors are :


    Setting up Salt environment ...

    [ERROR ] Command '/usr/bin/patch' failed with return code: 1

    [ERROR ] stdout: patching file /tmp/__salt.tmp.8u0nn4j7 (read from /lib/python3/dist-packages/salt/modules/network.py)

    Reversed (or previously applied) patch detected!

    Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file /tmp/__salt.tmp.5fu0ri63

    [ERROR ] retcode: 1

    [ERROR ] Command '/usr/bin/patch' failed with return code: 1

    [ERROR ] stdout: patching file /tmp/__salt.tmp.j00pa_a6 (read from /lib/python3/dist-packages/salt/fileserver/roots.py)

    Reversed (or previously applied) patch detected!

    Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file /tmp/__salt.tmp.hqtfbo__

    [ERROR ] retcode: 1


    So, i restarted two times to find my disks in OMV and I reloaded the pages with alt-cmd-R (MacOS/Safari).

    You were right, all seems ok now.

    Thank you for your help !:thumbup:

    OK, thank you for your response, I'm running 64Bit to.

    6.0.7-1 update came with "raspberry-sys-mods 20220106" and "base-files 11.1+rpi1+deb11u2" (not sure about this last one)

    Did you install all the last packages ?

    Hi there,

    has anybody tried to install last upgrade to your rpi ?

    It breaks OMV 6.0.7 (service page crash).

    I tried to re-install from scratch, Raspberry OS up to date before I launched OMV6 install script : same problem.

    Hello,
    Totally noob trying to switch my Pi4 from OMV4 to OMV5 ...
    I see that changing the shairport service name makes shairport crash.
    When I stop DLNA and SMB before changing shairport's name, it seems to work but when i restart SMB and DLNA, both are crashing.
    Is it it variable problem?
    Is there a walkaround for this ?


    Thanks