OMV 5.0 - finally out! :-)

  • And when I click on "show details":


    Error #0:
    OMV\ExecException: 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 clamav 2>&1' with exit code '1': orion.local:
    ---------- ID: remove_clamav_clamdscan_cron Function: file.absent Name: /etc/cron.d/openmediavault-clamdscan Result: True Comment: Removed file /etc/cron.d/openmediavault-clamdscan Started: 15:41:50.576316 Duration: 13.5 ms Changes: ---------- removed: /etc/cron.d/openmediavault-clamdscan
    ---------- ID: remove_clamav_clamdscan_cron_scripts Function: module.run Result: True Comment: file.find: ['/var/lib/openmediavault/cron.d/clamdscan-c855889e-0b7d-4995-80b1-d464bdbb132b'] Started: 15:41:50.591626 Duration: 4.754 ms Changes: ---------- file.find: - /var/lib/openmediavault/cron.d/clamdscan-c855889e-0b7d-4995-80b1-d464bdbb132b
    ---------- ID: remove_clamav_daemon_logrotate Function: file.absent Name: /etc/logrotate.d/clamav-daemon Result: True Comment: Removed file /etc/logrotate.d/clamav-daemon Started: 15:41:50.596732 Duration: 2.533 ms Changes: ---------- removed: /etc/logrotate.d/clamav-daemon
    ---------- ID: remove_clamav_freshclam_logrotate Function: file.absent Name: /etc/logrotate.d/clamav-freshclam Result: True Comment: Removed file /etc/logrotate.d/clamav-freshclam Started: 15:41:50.599526 Duration: 2.264 ms Changes: ---------- removed: /etc/logrotate.d/clamav-freshclam
    ---------- ID: configure_clamd_apparmor_profile Function: file.replace Name: /etc/apparmor.d/usr.sbin.clamd Result: True Comment: No changes needed to be made Started: 15:41:50.602060 Duration: 10.997 ms Changes:
    ---------- ID: configure_clamd_apparmor_local_profile Function: file.append Name: /etc/apparmor.d/local/usr.sbin.clamd Result: True Comment: File /etc/apparmor.d/local/usr.sbin.clamd is in correct state Started: 15:41:50.613348 Duration: 14.167 ms Changes:
    ---------- ID: reload_clamd_apparmor_profile Function: cmd.run Name: apparmor_parser -r /etc/apparmor.d/usr.sbin.clamd Result: True Comment: State was not run because none of the onchanges reqs changed Started: 15:41:50.630422 Duration: 0.016 ms Changes:
    ---------- ID: configure_clamav_freshclam Function: file.managed Name: /etc/clamav/freshclam.conf Result: True Comment: File /etc/clamav/freshclam.conf is in the correct state Started: 15:41:50.630599 Duration: 99.593 ms Changes:
    ---------- ID: stop_clamav_freshclam_service_to_force_db_download Function: service.dead Name: clamav-freshclam Result: True Comment: onlyif condition is false Started: 15:41:50.755229 Duration: 3166.416 ms Changes:
    ---------- ID: start_clamav_freshclam_service Function: service.running Name: clamav-freshclam Result: True Comment: The service clamav-freshclam is already running Started: 15:41:53.923199 Duration: 73.728 ms Changes:
    ---------- ID: wait_for_clamav_freshclam_db_download Function: file.exists Name: /var/lib/clamav/main.cvd Result: True Comment: onlyif condition is false Started: 15:41:53.997441 Duration: 32.609 ms Changes:
    ---------- ID: configure_clamav_freshclam_logrotate Function: file.managed Name: /etc/logrotate.d/clamav-freshclam Result: True Comment: File /etc/logrotate.d/clamav-freshclam updated Started: 15:41:54.030549 Duration: 9.486 ms Changes: ---------- diff: New file mode: 0644 user: clamav
    ---------- ID: configure_clamav_daemon Function: file.managed Name: /etc/clamav/clamd.conf Result: True Comment: File /etc/clamav/clamd.conf is in the correct state Started: 15:41:54.040309 Duration: 212.535 ms Changes:
    ---------- ID: start_clamav_daemon_service Function: service.running Name: clamav-daemon Result: False Comment: Service clamav-daemon is already enabled, and is dead Started: 15:41:54.253886 Duration: 152.304 ms Changes:
    ---------- ID: start_clamav_onaccess_service Function: service.running Name: clamav-onaccess Result: False Comment: Service clamav-onaccess is already enabled, and is dead Started: 15:41:54.406719 Duration: 167.456 ms Changes:
    ---------- ID: configure_clamav_clamdscan_cron Function: file.managed Name: /etc/cron.d/openmediavault-clamdscan Result: True Comment: File /etc/cron.d/openmediavault-clamdscan updated Started: 15:41:54.574677 Duration: 43.648 ms Changes: ---------- diff: New file mode: 0644
    ---------- ID: configure_clamav_clamdscan_cron_script_c855889e-0b7d-4995-80b1-d464bdbb132b Function: file.managed Name: /var/lib/openmediavault/cron.d/clamdscan-c855889e-0b7d-4995-80b1-d464bdbb132b Result: True Comment: File /var/lib/openmediavault/cron.d/clamdscan-c855889e-0b7d-4995-80b1-d464bdbb132b updated Started: 15:41:54.618612 Duration: 75.225 ms Changes: ---------- diff: New file mode: 0750
    ---------- ID: configure_clamav_daemon_logrotate Function: file.managed Name: /etc/logrotate.d/clamav-daemon Result: True Comment: File /etc/logrotate.d/clamav-daemon updated Started: 15:41:54.694121 Duration: 6.423 ms Changes: ---------- diff: New file mode: 0644 user: clamav

    Summary for orion.local
    -------------
    Succeeded: 16 (changed=8)
    Failed: 2
    -------------
    Total states run: 18
    Total run time: 4.088 s in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
    #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
    #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusDE...', '/tmp/bgoutput51...')
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
    #12 {main}

  • I'd be happy to uninstall / reinstall clamav if that will solve the problem.


    Edit: I noticed that the transmission server is still running. Is this correct? Should I uninstall it manually? Will it cause any trouble if I just leave it installed?

  • I would uninstall clamav. No idea about transmission.

    omv 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • OK, thanks!


    That took care of the error, but now I can't add new scanning tasks:


    Code
    The configuration object 'conf.system.sharedfolder' is not unique. An object with the property 'name' and value '<Directory>' already exists.
    Error #0:
    OMV\AssertException: The configuration object 'conf.system.sharedfolder' is not unique. An object with the property 'name' and value 'Jan' already exists. in /usr/share/php/openmediavault/config/database.inc:495
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(281): OMV\Config\Database->assertIsUnique(Object(OMV\Config\ConfigObject), 'name')
    #1 [internal function]: Engined\Rpc\ShareMgmt->set(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('set', Array, Array)
    #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ShareMgmt', 'set', Array, Array, 1)
    #5 {main}


    Can I remove these entries manually? If so, where is the file located?

  • Can I remove these entries manually? If so, where is the file located?

    Sounds like you are trying to add another sharedfolder with the same name.

    omv 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • @ryecoaaron


    Planning on upgrading soon, would you recommend the following.

    Steps 2 or 3 necessary or recommended?


    Upgrade:

    1. Backup server using clonezilla (in case need to roll back).
    2. Shutdown Docker images?
    3. Disconnect data drives?
    4. Follows your steps here.

    Current Plugins:

    • omvextrasorg
    • docker-gui
    • snapraid

    Thanks!

  • 1. Absolutely. And you should verify that your backup will restore and work properly before proceeding.

    2. Wouldn't hurt anything.

    3. Not necessary.

    4. Yes.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

  • Okay, I found a procedure that proposed to uninstall php* and then re-install the version needed.

    That uninstalled a lot of OMV too, but after reinstalling it and running the last few commands from the upgrade-script again seems to have solved everything...


    besides that I cannot get it to start:

    omv-salt deploy run nginx returns 0 errors

    omv-salt deploy run phpfpm returns 0 errors

    but

    omv-salt stage run all returns an error what looks like the issues, that I currently have not found out, why I can't install omv-extras

  • why I can't install omv-extras

    You need to purge omv-extras so that it deletes the database config.

    omv 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Thanks ryecoaaron !

    I was already typing, that I solved that problem with exactly what you proposed.


    However, now omv-salt doesn't show any errors anymore, but OMV is still not reachable via browser, nor are any from the old services . Any further suggestion?

  • Any further suggestion?

    What is the output of:

    dpkg -l | grep openm

    systemctl status openmediavault-engined

    omv 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I fxed a fault at systemctl status openmediavault-engined, as ph-mbstring was listed missing. Now that is up and running.

    Still no login. Here is the other output you requested:

  • Still no login.

    Try apt-get -f install since your plugins are partially installed and might be breaking things.

    omv 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I checked that, but apt install -f did not do anything.

    There where problems with omv extra packages and I uninstalled and reinstalled them. Seems to have failed again.

  • I only have the final parts of the omv-extra re-installation, if I scroll back in the terminal buffer...

    So I thought, what works with php might work with omv-extras

    Now everything "looks" green, but as told before, OMV doesn't run, or at least doesn't provide its web interface to me

  • Sure topi , even tried a different machine.


    I get the reply that the page is unsafe and with accepting the exception, I am forwarded to "HTTP ERROR 500"

Participate now!

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