Error installing OMV5 on RPI4/RPI3

  • Hi


    I am trying to install OMV5 on RPI4 and RPI3 using this guide https://raw.githubusercontent.…ing_OMV5_on_an%20R-PI.pdf


    I get the same errors on RPI4 SSD boot and on RPI3 SDCARD boot, I have had it working about a year ago with no errors,

    its a clean install using 2021-03-04-raspios-buster-armhf-lite.img.


    Thanks in advance...


    pi@raspberrypi:~ $ wget -O - https://github.com/OpenMediaVault-Plugin-Developers /installScript/raw/master/install | sudo bash

    --2021-04-07 11:19:58-- https://github.com/OpenMediaVault-Plugin-Developers/ins tallScript/raw/master/install


  • ryecoaaron

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 43200

    Your hostname is invalid. The postfix package is failing to install because of it.

    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!

  • greenomv

    Hat den Titel des Themas von „Erros installing OMV5 on RPI4/RPI3“ zu „Error installing OMV5 on RPI4/RPI3“ geändert.
    • Offizieller Beitrag

    What is the output of: hostname -f

    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

    setting myhostname: raspberrypi.43200

    I can't explain why postfix is having this problem then. This isn't something OMV can fix. I would try rebooting after changing hostname to have local in it.

    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!

  • Found a solution ...


    for some reason myhostname was raspiberry.43200...

    changed it to omvpi3.local...


    Edit /etc/postfix/main.cf file by using:

    Code
    sudo nano /etc/postfix/main.cf

    Now, change:

    Code
    myhostname =

    to

    Code
    myhostname = your_hostname #name of your hostname

    Now reboot your system and run:

    Code
    sudo apt install -f
    • Offizieller Beitrag

    Found a solution ...

    I'm still curious why this needed to be done. I have installed many times on an RPi and never needed to do this. Did you configure things before running the install script?

    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 have installed many times on an RPi and never needed to do this

    I can also say the same. I've lost count of the amount of times installing the RaspiOS and then use the script and only fails I use to have is a bad WiFi connection.




    pi@raspberrypi:~ $ wget -O - https://github.com/OpenMediaVault-Plugin-Developers /installScript/raw/master/install | sudo bash

    If you run this as "pi", you need to prepend "sudo" to the command:

    OpenMediaVault-Plugin-Developers/installScript: script that installs omv-extras and openmediavault if not installed already. (github.com)

  • Yes I am aware of that, it was a cut and paste error..., but I could have used sudo -i first...

    but it would not change anything..

    • Offizieller Beitrag

    Can't get where the .43200 is coming from

    Must be a bug in the postfix package. I would change the hostname in the install script but that would require main.cf to be there first. Maybe file a bug report with Debian?

    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!

Jetzt mitmachen!

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