Two errors during installation of openmediavault (5.5.17-2) on ODROID-HC2 hardware and Debian GNU/Linux 10 (buster) with Linux 4.14.195-odroidxu4 image.

  • Hello,


    I encountered two errors during installation of openmediavault (5.5.17-2) on ODROID-HC2 hardware and

    Debian GNU/Linux 10 (buster) with Linux 4.14.195-odroidxu4 image.


    Could you be so kind and can you help me solve this issue?

    Is this issue essential for the NAS service?


    My installation procedure:

    Clear, new Armbian_20.08.1_Odroidxu4_buster_legacy_4.14.195.img.xz

    armbian-config (section system -> DTB and chosed optimized board configuration for Odroid HC1.)

    apt-get update --fix-missing

    apt-get upgrade

    reboot

    wget -O - https://github.com/OpenMediaVa…Script/raw/master/install | sudo bash


    During the installation the following message appeared:


    Creating configuration database ...

    Setting up Salt environment ...

    Setting up system ...

    [ERROR ] {'out': 'highstate', 'ret': {'odroidxu4': ["ID 'update_initramfs' in SLS 'omv.deploy.initramfs.default' contains a short declaration (cmd.run) with a trailing colon. When not passing any arguments to a state, the colon must be omitted."]}}

    [ERROR ] {'out': 'highstate', 'ret': {'odroidxu4': {'file_|-fix_root_path_permissions_|-/_|-directory': {'name': '/', 'changes': {}, 'result': True, 'comment': 'The directory / is in the correct state', '__sls__': 'omv.setup.fixmode.default', '__run_num__': 0, 'start_time': '19:48:04.166126', 'duration': 3.563, '__id__': 'fix_root_path_permissions'}, 'file_|-fix_etc_path_permissions_|-/etc_|-directory': {'name': '/etc', 'changes': {}, 'result': True, 'comment': 'The directory /etc is in the correct state', '__sls__': 'omv.setup.fixmode.default', '__run_num__': 1, 'start_time': '19:48:04.170026', 'duration': 2.309, '__id__': 'fix_etc_path_permissions'}, 'cmd_|-udevadm_reload_rules_|-udevadm control --reload-rules_|-run': {'name': 'udevadm control --reload-rules', 'changes': {'pid': 21032, 'retcode': 0, 'stdout': '', 'stderr': ''}, 'result': True, 'comment': 'Command "udevadm control --reload-rules" run', '__sls__': 'omv.setup.fstab.default', '__run_num__': 2, 'start_time': '19:48:04.174062', 'duration': 29.264, '__id__': 'udevadm_reload_rules'}, 'cmd_|-udevadm_trigger_|-udevadm trigger_|-run': {'name': 'udevadm trigger', 'changes': {'pid': 21033, 'retcode': 0, 'stdout': '', 'stderr': ''}, 'result': True, 'comment': 'Command "udevadm trigger" run', '__sls__': 'omv.setup.fstab.default', '__run_num__': 3, 'start_time': '19:48:04.205148', 'duration': 273.826, '__id__': 'udevadm_trigger'}, 'service_|-start_fstrim_timer_|-fstrim.timer_|-running': {'name': 'fstrim.timer', 'changes': {'fstrim.timer': True}, 'result': True, 'comment': 'Service fstrim.timer has been enabled, and is running', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 4, 'start_time': '19:48:04.500490', 'duration': 1356.179, '__id__': 'start_fstrim_timer'}, 'file_|-enable_discard_in_lvm_conf_|-/etc/lvm/lvm.conf_|-replace': {'name': '/etc/lvm/lvm.conf', 'changes': {'diff': '--- \n+++ \n@@ -282,7 +282,7 @@\n \t# benefit from discards, but SSDs and thinly provisioned LUNs\n \t# generally do. If enabled, discards will only be issued if both the\n \t# storage and kernel provide support.\n-\tissue_discards = 0\n+\tissue_discards = 1\n \n \t# Configuration option devices/allow_changes_with_duplicate_pvs.\n \t# Allow VG modification while a PV appears on multiple devices.\n'}, 'result': True, 'comment': 'Changes were made', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 5, 'start_time': '19:48:05.857506', 'duration': 190.384, '__id__': 'enable_discard_in_lvm_conf'}, 'salt_|-update_initramfs_|-update_initramfs_|-state': {'name': 'update_initramfs', 'changes': {'out': 'highstate', 'ret': {'odroidxu4': ["ID 'update_initramfs' in SLS 'omv.deploy.initramfs.default' contains a short declaration (cmd.run) with a trailing colon. When not passing any arguments to a state, the colon must be omitted."]}}, 'comment': 'Run failed on minions: odroidxu4', 'result': False, '__sls__': 'omv.setup.initramfs.default', '__run_num__': 6, 'start_time': '19:48:06.054409', 'duration': 967.078, '__id__': 'update_initramfs'}, 'locale_|-generate_C.UTF-8_locale_|-C.UTF-8_|-present': {'name': 'C.UTF-8', 'changes': {}, 'result': True, 'comment': 'Locale C.UTF-8 is already present', '__sls__': 'omv.setup.locale.default', '__run_num__': 7, 'start_time': '19:48:07.039286', 'duration': 21.468, '__id__': 'generate_C.UTF-8_locale'}, 'cmd_|-set_system_locale_|-update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8_|-run': {'name': 'update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8', 'changes': {'pid': 21128, 'retcode': 0, 'stdout': '*** update-locale: Warning: LANGUAGE (en_US.UTF-8) is not compatible with LC_ALL (C.UTF-8). Disabling it.', 'stderr': ''}, 'result': True, 'comment': 'Command "update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8" run', '__sls__': 'omv.setup.locale.default', '__run_num__': 8, 'start_time': '19:48:07.061353', 'duration': 86.253, '__id__': 'set_system_locale'}, 'file_|-symlink_systemd_resolvconf_|-/etc/resolv.conf_|-symlink': {'name': '/etc/resolv.conf', 'changes': {'new': '/etc/resolv.conf'}, 'result': True, 'comment': 'Created new symlink /etc/resolv.conf -> /run/systemd/resolve/resolv.conf', '__sls__': 'omv.setup.resolvconf.default', '__run_num__': 9, 'start_time': '19:48:07.148199', 'duration': 4259.997, '__id__': 'symlink_systemd_resolvconf'}, 'file_|-create_root_bashrc_|-/root/.bashrc_|-managed': {'changes': {'mode': '0600'}, 'comment': '', 'name': '/root/.bashrc', 'result': True, '__sls__': 'omv.setup.shell.10root_bashrc', '__run_num__': 10, 'start_time': '19:48:11.408714', 'duration': 4.609, '__id__': 'create_root_bashrc'}, 'file_|-configure_root_bashrc_|-/root/.bashrc_|-prepend': {'name': '/root/.bashrc', 'changes': {'diff': '--- \n+++ \n@@ -1,3 +1,11 @@\n+# Added by openmediavault (https://www.openmediavault.org).\n+if ! shopt -oq posix; then\n+ if [ -f /usr/share/bash-completion/bash_completion ]; then\n+ . /usr/share/bash-completion/bash_completion\n+ elif [ -f /etc/bash_completion ]; then\n+ . /etc/bash_completion\n+ fi\n+fi\n # ~/.bashrc: executed by bash(1) for non-login shells.\n # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)\n # for examples\n'}, 'result': True, 'comment': 'Prepended 8 lines', '__sls__': 'omv.setup.shell.10root_bashrc', '__run_num__': 11, 'start_time': '19:48:11.413602', 'duration': 14.744, '__id__': 'configure_root_bashrc'}, 'file_|-configure_root_inputrc_|-/root/.inputrc_|-managed': {'changes': {'diff': 'New file'}, 'comment': 'File /root/.inputrc updated', 'name': '/root/.inputrc', 'result': True, '__sls__': 'omv.setup.shell.20root_inputrc', '__run_num__': 12, 'start_time': '19:48:11.428634', 'duration': 7.128, '__id__': 'configure_root_inputrc'}, 'file_|-modify_root_profile_|-/root/.profile_|-replace': {'name': '/root/.profile', 'changes': {'diff': '--- \n+++ \n@@ -6,4 +6,4 @@\n fi\n fi\n \n-mesg n || true\n+test -t 0 && mesg n || true\n'}, 'result': True, 'comment': 'Changes were made', '__sls__': 'omv.setup.shell.30root_profile', '__run_num__': 13, 'start_time': '19:48:11.436031', 'duration': 5.214, '__id__': 'modify_root_profile'}}}}

    Deploying service configurations ...

    Processing system modifications ...


    Thank You in advance!

    Regards

  • KM0201

    Hat das Thema freigeschaltet.
  • Yes, initramfs-tools were included in the image.


    Code
    root@odroidxu4:~# dpkg -l | grep initramfs-tools
    ii  initramfs-tools                    0.133+deb10u1                       all          generic modular initramfs generator (automation)
    ii  initramfs-tools-core               0.133+deb10u1                       all          generic modular initramfs generator (core tools)
    root@odroidxu4:~# dpkg -l | grep dracut
    root@odroidxu4:~#


    I made an experiment and I installed dracut instead of initramfs-tools.



    It seems that openmediavault is working properly with dracut.

    I didn't see any errors and failures during the installation process.


    Thank you very much for help!

  • I attached 3 Files:


    odroid-log31.txt - full log from installation on Linux 4.14.195-odroidxu4. Original initramfs-tools. ERROR

    odroid-log33.txt - full log from installation on Linux 4.14.195-odroidxu4. initramfs-tools replaced by dracut. SUCCESS

    diag001.txt - result of salt-call (openmediavault installed on dracut)


    Regards

  • I have a similar problem, I am deploying a NAS image on debian 10 basis, the installation of OMV5 fails inside an chroot environment, it is salt-call that hangs after 2 seconds of run, that must be a new issue because I already deployed an Image in June this year !


    Code
    ps aux | grep salt
    root     25115  9.4  1.7  98356 36212 pts/1    S+   09:39   0:02 /usr/bin/python3 /usr/bin/salt-call --local --retcode-passthrough --no-color state.orchestrate omv.stage.prepare
    root     25359  0.0  0.0   6720   548 pts/2    S+   09:39   0:00 grep salt
    • Offizieller Beitrag

    I have a similar problem, I am deploying a NAS image on debian 10 basis, the installation of OMV5 fails inside an chroot environment, it is salt-call that hangs after 2 seconds of run, that must be a new issue because I already deployed an Image in June this year !

    I am surprised you ever got OMV salt calls to work in chroot. That is why I wrote the install script.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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

    I am using the install script !

    Were you using inside chroot though?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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

    Yes, so I am really out of luck with it ?

    Yep. Volker and I worked on this months ago. Never found a solution.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!