New install in Raspberry PI 2B not working

  • Hello,

    I've installed OMV on my Raspberry Pi 2 Model B Rev 1.1 but I soon as alter anything I get this error below. I download a fresh Raspberry pi os lite following the instructions from the OMV site.


    error


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': raspberrypi: ---------- ID: create_filesystem_mountpoint_41cb7d8b-f112-4c02-842e-cc260a6bf963 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_41cb7d8b-f112-4c02-842e-cc260a6bf963 for file /etc/fstab was charged by text Started: 18:20:46.927906 Duration: 9.131 ms Changes: ---------- ID: mount_filesystem_mountpoint_41cb7d8b-f112-4c02-842e-cc260a6bf963 Function: mount.mounted Name: /srv/dev-disk-by-uuid-4E21-0000 Result: False Comment: mount: /srv/dev-disk-by-uuid-4E21-0000: unknown filesystem type 'exfat'. Started: 18:20:46.944663 Duration: 456.083 ms Changes: ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: No changes needed to be made Started: 18:20:47.406812 Duration: 32.26 ms Changes: Summary for raspberrypi ------------ Succeeded: 2 Failed: 1 ------------ Total states run: 3 Total run time: 497.474 ms

    • Offizieller Beitrag

    I don't have an RPi2 running at the moment but pretty sure exfat is not enabled in the RPi kernel. It definitely isn't on an RPi4

    $ zgrep -i exfat /proc/config.gz

    # CONFIG_EXFAT_FS is not set

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Run this first sudo modprobe configs and then the zgrep.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • pi@raspberrypi:~ $ sudo modprobe configs

    pi@raspberrypi:~ $ zgrep -i exfat /proc/config.gz

    # CONFIG_EXFAT_FS is not set


    You're right, Would this be just an issue with the PI2 or is it an change is the pi image I wonder

    • Offizieller Beitrag

    ou're right, Would this be just an issue with the PI2 or is it an change is the pi image I wonder

    That module is disabled in the kernel. You would have to compile a custom kernel. It is easier to just not use exfat.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Having fiddled about with drives. I decided to start over, back to basics. what I did..

    1. Download lite image raspberry pi zip

    2. Check SHA 256

    3. Unzip and burn to mSD using Etcher

    4. Put SSH file or mSD

    5. Stick in Pi2 and power up

    6. SSH in and run script sudo wget -O - https://github.com/OpenMediaVa…Script/raw/master/install | sudo bash

    7. Login and change network DNS servers to 8.8.8.8

    8. Save and apply

    9. And the error below pops up


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color systemd-networkd 2>&1' with exit code '1': raspberrypi: ---------- ID: remove_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 10:40:50.223031 Duration: 15.571 ms Changes: ---------- file.find: ---------- ID: remove_empty_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 10:40:50.239763 Duration: 10.747 ms Changes: ---------- file.find: ---------- ID: remove_netplan_config_files Function: module.run Result: True Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/20-openmediavault-eth0.yaml'] Started: 10:40:50.251597 Duration: 14.339 ms Changes: ---------- file.find: - /etc/netplan/10-openmediavault-default.yaml - /etc/netplan/20-openmediavault-eth0.yaml ---------- ID: configure_etc_network_interfaces Function: file.managed Name: /etc/network/interfaces Result: True Comment: File /etc/network/interfaces is in the correct state Started: 10:40:50.280295 Duration: 277.639 ms Changes: ---------- ID: symlink_systemd_resolvconf Function: file.symlink Name: /etc/resolv.conf Result: True Comment: Symlink /etc/resolv.conf is present and owned by root:root Started: 10:40:50.559081 Duration: 14825.789 ms Changes: ---------- ID: configure_netplan_default Function: file.managed Name: /etc/netplan/10-openmediavault-default.yaml Result: True Comment: File /etc/netplan/10-openmediavault-default.yaml updated Started: 10:41:05.386325 Duration: 96.478 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_netplan_ethernet_eth0 Function: file.managed Name: /etc/netplan/20-openmediavault-eth0.yaml Result: True Comment: File /etc/netplan/20-openmediavault-eth0.yaml updated Started: 10:41:05.484209 Duration: 288.181 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: apply_netplan_config Function: cmd.run Name: netplan apply Result: False Comment: Command "netplan apply" run Started: 10:41:05.773973 Duration: 1024.88 ms Changes: ---------- pid: 1602 retcode: 78 stderr: /etc/netplan/20-openmediavault-eth0.yaml:5:20: Error in network definition: Invalid MAC address '', must be XX:XX:XX:XX:XX:XX macaddress: ^ stdout: Summary for raspberrypi ------------ Succeeded: 7 (changed=6) Failed: 1 ------------ Total states run: 8 Total run time: 16.554 s

    • Offizieller Beitrag

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Yes, implicitly fine until ...


    pi@raspberrypi:~ $ sudo apt-get update

    Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]

    Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]

    Hit:3 https://apt.sonarr.tv/debian stretch InRelease

    Hit:4 https://download.mono-project.com/repo/debian stable-raspbianbuster InRele ase

    Hit:5 https://deb.nodesource.com/node_12.x buster InRelease

    Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [351 kB]

    Get:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]

    Fetched 13.4 MB in 1min 33s (145 kB/s)

    Reading package lists... Done


    pi@raspberrypi:~ $ sudo apt-get upgrade -y

    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.


    Then I did the sudo dpkg --configure -a which gave


    pi@raspberrypi:~ $ sudo dpkg --configure -a

    Setting up initramfs-tools (0.133+deb10u1) ...

    update-initramfs: deferring update (trigger activated)

    Setting up mono-roslyn (6.12.0.107-0xamarin13+raspbian10b1) ...

    Mono precompiling /usr/lib/mono/4.5/csc.exe for arm (LLVM disabled due to missing SSE4.1)...

    Mono precompiling /usr/lib/mono/4.5/vbc.exe for arm (LLVM disabled due to missing SSE4.1)...

    Mono precompiling /usr/lib/mono/4.5/VBCSCompiler.exe for arm (LLVM disabled due to missing SSE4.1)...

    Mono precompiling /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll for arm (LLVM disabled due to missing SSE4.1)...


    It disconnects, I reconnect tried the same sudo dpkg --configure -a which obviously does the same as above.




    Hang on, I think something weird happened ? where the heck does in get Sonarr.tv from at Hit 3 etc ??

    Did I accidentally flash the wrong image :-/

    • Offizieller Beitrag

    Did I accidentally flash the wrong image :-/

    If you have mono of the system, I'm guessing you used the desktop image instead of the lite image.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I think I may have SSH'd into the wrong PI because it all worked this time with the correct PI - another reason to change passwords ! and not have side by side IP's in Putty. I have four PI's all PI 2B's and one PI 1 I think is, that runs FreePBX

    I'll go and play with OMV and Docker now and get Sonarr, Lidarr, Jackett etc running on it rather than one of the other PI's - which keeps crashing under heavy load.


    Just found out plugging my exfat USB key in gets me back to the error at the start - and the error won't go away when unplugged. Message to self don't plug exfat drive into it !

  • macom

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!