Problems installing OMV on debian buster (stable)

  • Hi, someone can help me with the following issue?


    openmediavault : depends: salt-minion (>= 3000.2) but 2018.3.4+dfsg1-6+deb10u2 is to be installed

  • You must not have the omv repos added. Are you using the install script? https://github.com/OpenMediaVa…-Developers/installScript

    omv 6.0.35-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.2 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I'm running Armbian on Amlogic SBC. The installation finish at all but whith NGINX errors and ask reboot. When I reboot de SBC, the web portal doesn't work. I check opened ports at SBC IP address and find out that FTP, Samba, smtp, netbios-ssn and microsoft-ds are ok but http port is closed. I get the output of the current status and output messages of nginx and it returned this:


    ● nginx.service - A high performance web server and a reverse proxy server

    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: en

    Active: failed (Result: exit-code) since Wed 2021-03-31 22:17:44 -05; 5min ag

    Docs: man:nginx(8)

    Process: 3081 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process


    Mar 31 22:17:41 odroidc4 systemd[1]: Starting A high performance web server and

    Mar 31 22:17:44 odroidc4 nginx[3081]: nginx: [emerg] socket() [::]:80 failed (97

    Mar 31 22:17:44 odroidc4 nginx[3081]: nginx: configuration file /etc/nginx/nginx

    Mar 31 22:17:44 odroidc4 systemd[1]: nginx.service: Control process exited, code

    Mar 31 22:17:44 odroidc4 systemd[1]: nginx.service: Failed with result 'exit-cod

    Mar 31 22:17:44 odroidc4 systemd[1]: Failed to start A high performance web serv

    lines 1-12/12 (END)...skipping...

    ● nginx.service - A high performance web server and a reverse proxy server

    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)

    Active: failed (Result: exit-code) since Wed 2021-03-31 22:17:44 -05; 5min ago

    Docs: man:nginx(8)

    Process: 3081 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)


    Mar 31 22:17:41 odroidc4 systemd[1]: Starting A high performance web server and a reverse proxy server...

    Mar 31 22:17:44 odroidc4 nginx[3081]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)

    Mar 31 22:17:44 odroidc4 nginx[3081]: nginx: configuration file /etc/nginx/nginx.conf test failed

    Mar 31 22:17:44 odroidc4 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE

    Mar 31 22:17:44 odroidc4 systemd[1]: nginx.service: Failed with result 'exit-code'.

    Mar 31 22:17:44 odroidc4 systemd[1]: Failed to start A high performance web server and a reverse proxy server.

  • Output from the install script would have been helpful. Try:


    sudo omv-salt deploy run nginx phpfpm

    sudo systemctl restart nginx

    sudo systemctl restart php7.3-fpm

    and post the output of:

    dpkg -l | grep openm

    omv 6.0.35-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.2 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Welcome to Armbian 21.02.3 Buster with Linux 4.9.236-BPI-M5-Kernel


    System load: 18% Up time: 2 min

    Memory usage: 8% of 3.29G IP: 192.168.0.100

    CPU temp: 55°C Usage of /: 30% of 6.6G


    [ 0 security updates available, 25 updates total: apt upgrade ]

    Last check: 2021-04-02 10:19


    Last login: Fri Apr 2 10:04:49 2021

    jhortwo@odroidc4:~$ sudo omv-salt deploy run nginx phpfpm

    [sudo] password for jhortwo:

    WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds

    WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds

    WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds

    WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds

    ^C

    Aborted!

    jhortwo@odroidc4:~$ sudo systemctl restart nginx

    Job for nginx.service failed because the control process exited with error code.

    See "systemctl status nginx.service" and "journalctl -xe" for details.

    jhortwo@odroidc4:~$ sudo systemctl restart php7.3-fpm

    jhortwo@odroidc4:~$ dpkg -l | grep openm

    iU openmediavault 5.6.2-1 all openmediavault - The open network attached storage solution

    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive

    jhortwo@odroidc4:~$ ^C

    jhortwo@odroidc4:~$ systemctl status nginx.service

    ● nginx.service - A high performance web server and a reverse proxy server

    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)

    Active: failed (Result: exit-code) since Fri 2021-04-02 10:23:08 -05; 1min 8s ago

    Docs: man:nginx(8)

    Process: 4064 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/F


    abr 02 10:23:08 odroidc4 systemd[1]: Starting A high performance web server and a reverse proxy server...

    abr 02 10:23:08 odroidc4 nginx[4064]: nginx: [emerg] socket() [::]:80 failed (97: Address family not support

    abr 02 10:23:08 odroidc4 nginx[4064]: nginx: configuration file /etc/nginx/nginx.conf test failed

    abr 02 10:23:08 odroidc4 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE

    abr 02 10:23:08 odroidc4 systemd[1]: nginx.service: Failed with result 'exit-code'.

    abr 02 10:23:08 odroidc4 systemd[1]: Failed to start A high performance web server and a reverse proxy serve


    jhortwo@odroidc4:~$ journalctl -xe

    -- Subject: A stop job for unit php7.3-fpm.service has finished

    -- Defined-By: systemd

    -- Support: https://www.debian.org/support

    --

    -- A stop job for unit php7.3-fpm.service has finished.

    --

    -- The job identifier is 613 and the job result is done.

    abr 02 10:23:39 odroidc4 systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...

    -- Subject: A start job for unit php7.3-fpm.service has begun execution

    -- Defined-By: systemd

    -- Support: https://www.debian.org/support

    --

    -- A start job for unit php7.3-fpm.service has begun execution.

    --

    -- The job identifier is 613.

    abr 02 10:23:39 odroidc4 systemd[1]: Started The PHP 7.3 FastCGI Process Manager.

    -- Subject: A start job for unit php7.3-fpm.service has finished successfully

    -- Defined-By: systemd

    -- Support: https://www.debian.org/support

    --

    -- A start job for unit php7.3-fpm.service has finished successfully.

    --

    -- The job identifier is 613.

    abr 02 10:23:39 odroidc4 sudo[4177]: pam_unix(sudo:session): session closed for user root

    abr 02 10:23:39 odroidc4 kernel: cectx ff80023c.aocec: bad iniator with self 0x0

    abr 02 10:23:50 odroidc4 kernel: cectx ff80023c.aocec: bad iniator with self 0x0

    abr 02 10:23:52 odroidc4 salt-minion[3026]: [ERROR ] DNS lookup or connection check of 'salt' failed.

    abr 02 10:23:52 odroidc4 salt-minion[3026]: [ERROR ] Master hostname: 'salt' not found or not responsive.

    abr 02 10:24:00 odroidc4 kernel: cectx ff80023c.aocec: bad iniator with self 0x0

    abr 02 10:24:10 odroidc4 kernel: cectx ff80023c.aocec: bad iniator with self 0x0

    abr 02 10:24:20 odroidc4 kernel: cectx ff80023c.aocec: bad iniator with self 0x0

    abr 02 10:24:27 odroidc4 salt-minion[3026]: [ERROR ] DNS lookup or connection check of 'salt' failed.

    abr 02 10:24:27 odroidc4 salt-minion[3026]: [ERROR ] Master hostname: 'salt' not found or not responsive.

    abr 02 10:24:30 odroidc4 kernel: cectx ff80023c.aocec: bad iniator with self 0x0

  • If you get an error on the first command, there is little reason to move on. Something with your saltstack installation is making it look for a master. It should never do that when using the OMV install. Assuming you didn't setup something saltstack of your own, what is the output of: dpkg -l | grep salt

    omv 6.0.35-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.2 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Welcome to Armbian 21.02.3 Buster with Linux 4.9.236-BPI-M5-Kernel


    System load: 23% Up time: 1 min

    Memory usage: 8% of 3.29G IP: 192.168.0.100

    CPU temp: 42°C Usage of /: 30% of 6.6G


    [ 0 security updates available, 25 updates total: apt upgrade ]

    Last check: 2021-04-02 21:57


    Last login: Fri Apr 2 10:38:16 2021 from 192.168.0.135

    jhortwo@odroidc4:~$ dpkg -l | grep salt

    ii salt-common 3002.2+ds-1 all shared libraries that salt requires for all packages

    ii salt-minion 3002.2+ds-1 all client package for salt, the distributed remote execution system

    jhortwo@odroidc4:~$

  • I can't explain how your system got in this state. I would re-flash the SD card and follow the guide again Installing OMV5 on Raspberry PI's, Armbian SBC's, & i386 32-bit platforms

    omv 6.0.35-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.2 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!