Applied OMV update 5.0.11, now when saving configs, erroring with: unable to resolve 'UUID=20005550-3d0c-4d82-9ec5-7e4abb396640' debian: Data failed to compile

    • OMV 5.x (beta)
    • Resolved
    • Update

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Applied OMV update 5.0.11, now when saving configs, erroring with: unable to resolve 'UUID=20005550-3d0c-4d82-9ec5-7e4abb396640' debian: Data failed to compile

      I am new to OMV, and have hads no real issues until I applied the OMV 5.0.11 update, after that update I am receiving the following anytime I make a config change, mount a drive, add a NIC, etc.:


      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 collectd 2>&1' with exit code '1': findfs: unable to resolve 'UUID=20005550-3d0c-4d82-9ec5-7e4abb396640'debian: Data failed to compile:

      ---------- Rendering SLS 'base:omv.deploy.collectd.plugins.disk' failed: Jinja error: Command '['findfs', 'UUID=20005550-3d0c-4d82-9ec5-7e4abb396640']' returned non-zero exit status 1.Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 393, in render_jinja_tmpl output = template.render(**decoded_context) File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise raise value.with_traceback(tb) File "<template>", line 49, in top-level template code File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 165, in get_fs_parent_device_file return fs.get_parent_device_file() File "/usr/lib/python3/dist-packages/openmediavault/fs/__init__.py", line 163, in get_parent_device_file device = pyudev.Devices.from_device_file(context, self.device_file) File "/usr/lib/python3/dist-packages/openmediavault/fs/__init__.py", line 127, in device_file ['findfs', 'UUID={}'.format(self._id)] File "/usr/lib/python3/dist-packages/openmediavault/subprocess.py", line 63, in check_output return subprocess.check_output(*popenargs, **kwargs) File "/usr/lib/python3.7/subprocess.py", line 395, in check_output **kwargs).stdout File "/usr/lib/python3.7/subprocess.py", line 487, in run output=stdout, stderr=stderr)subprocess.CalledProcessError: Command '['findfs', 'UUID=20005550-3d0c-4d82-9ec5-7e4abb396640']' returned non-zero exit status 1.; line 49---[...] # "dir": "/srv/dev-disk-by-id-scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-part1", # "freq": 0, # "fsname": "008530ff-a134-4264-898d-9ce30eeab927", # } {% if salt['mount.is_mounted'](mountpoint.dir) %} {% set disk = salt['omv_utils.get_fs_parent_device_file'](mountpoint.fsname) %} <====================== # Extract the device name from '/dev/xxx'. {% set _ = disks.append(disk[5:]) %} {% endif %}{% endfor %}# Append the root filesystem.[...]--- in /usr/share/php/openmediavault/system/process.inc:182Stack trace:#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()#1 /usr/share/openmediavault/engined/rpc/config.inc(164): 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/bgstatusKD...', '/tmp/bgoutputoI...')#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#7 /usr/share/openmediavault/engined/rpc/config.inc(186): 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 have tried several suggestions within the forums with no success, any and all assistance is greatly appreciated. ?(
    • Please execute the following command and post the output.

      Shell-Script

      1. # blkid
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Okay, here is the output from blkid (thank you for the assist)

      /dev/sdi1: UUID="99FA-43F2" TYPE="vfat" PARTUUID="54d25a3e-fa74-4e53-bc6f-a3e84a618941"
      /dev/sdi2: UUID="9d11ad09-087b-47a1-9a74-07feb7242639" TYPE="ext4" PARTUUID="d40b5223-73d3-4caa-bca5-68453582ed67"
      /dev/sdi3: UUID="da792d56-1a1d-41b8-a30c-8c7b7dd0b190" TYPE="swap" PARTUUID="70336956-3757-4adc-aba1-6b6c7a728a10"
      /dev/sdj1: LABEL="Mega" UUID="15cb5421-3585-4c14-8044-ff61479abf23" TYPE="ext4" PARTUUID="2c0ee77e-f5c2-41cd-a448-07004a3b76c0"
      /dev/sdk1: LABEL_FATBOOT="SP UFD U3" LABEL="SP UFD U3" UUID="F871-4FE0" TYPE="vfat" PARTUUID="d4dd1f34-01"
      /dev/sdg1: LABEL="Sea2" UUID="b6a08aa6-3ba8-4f45-87ac-895f65ce5e30" TYPE="ext4" PARTUUID="8bdb71e9-0c1e-4aef-8e90-9a29ad6a128d"
      /dev/sdf1: LABEL="Sea1" UUID="03058734-e115-481c-a487-149104a34b00" TYPE="ext4" PARTUUID="c5711bc0-ea37-4484-a96e-f7f36392f792"
      /dev/sda1: LABEL="Sea3" UUID="be4a4443-3ed2-4e7e-9562-aa888f4a5087" TYPE="ext4" PARTUUID="c8f00f98-fd7d-447f-8e79-84142013f7f1"
      /dev/sdh1: LABEL="SeaParity" UUID="b2415523-ecef-44ff-aa8b-1f481bfcb6f7" TYPE="ext4" PARTUUID="5b30e738-6593-40ce-b0fa-ac4666bf4ccd"
      /dev/sde1: LABEL="HitachiParity" UUID="5a290932-0b64-4a43-be08-b14b036366f2" TYPE="ext4" PARTUUID="c228ceb1-7e3f-4985-998b-c292749fae83"
      /dev/sdd1: LABEL="Hitachi3" UUID="1bb744e2-fba2-4c78-a320-e0abed60d2e2" TYPE="ext4" PARTUUID="90403866-513e-4c6b-ae5e-16e0bae7294c"
      /dev/sdb1: LABEL="Hitachi1" UUID="f84ffdb4-7700-4a65-8291-2ee595d85831" TYPE="ext4" PARTUUID="9eeec0c1-41b2-4218-a287-307e2f7460d3"
      /dev/sdc1: LABEL="Hitachi2" UUID="6ce4a721-4f0c-4cd9-a333-c3e679aaca23" TYPE="ext4" PARTUUID="7a591bff-30f9-476a-8fbf-4e5c5c07b340"
    • If I do a cat of fstab, I see the following: (appears the UUID that can not be found above is referenced there as fuse.mergerfs see highlighted in green)

      # /etc/fstab: static file system information.
      #
      # Use 'blkid' to print the universally unique identifier for a
      # device; this may be used with UUID= as a more robust way to name devices
      # that works even if disks are added and removed. See fstab(5).
      #
      # <file system> <mount point> <type> <options> <dump> <pass>
      # / was on /dev/sdi2 during installation
      UUID=9d11ad09-087b-47a1-9a74-07feb7242639 / ext4 noatime,nodiratime,discard,errors=remount-ro 0 1
      # /boot/efi was on /dev/sdi1 during installation
      UUID=99FA-43F2 /boot/efi vfat umask=0077 0 1
      /dev/sdi3 none swap sw 0 0
      # >>> [openmediavault]
      /dev/disk/by-label/Mega /srv/dev-disk-by-label-Mega ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,discard,acl 0 2
      /dev/disk/by-label/Sea1 /srv/dev-disk-by-label-Sea1 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      /dev/disk/by-label/Sea2 /srv/dev-disk-by-label-Sea2 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      /dev/disk/by-label/Sea3 /srv/dev-disk-by-label-Sea3 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      /dev/disk/by-label/SeaParity /srv/dev-disk-by-label-SeaParity ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      /dev/disk/by-label/Hitachi1 /srv/dev-disk-by-label-Hitachi1 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      /dev/disk/by-label/Hitachi2 /srv/dev-disk-by-label-Hitachi2 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      /dev/disk/by-label/Hitachi3 /srv/dev-disk-by-label-Hitachi3 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      /dev/disk/by-label/HitachiParity /srv/dev-disk-by-label-HitachiParity ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      /srv/dev-disk-by-label-Sea1:/srv/dev-disk-by-label-Sea2:/srv/dev-disk-by-label-Sea3:/srv/dev-disk-by-label-Hitachi1:/srv/dev-disk-by-label-Hitachi2:/srv/dev-disk-by-label-Hitachi3 /srv/20005550-3d0c-4d82-9ec5-7e4abb396640 fuse.mergerfs defaults,allow_other,direct_io,use_ino,category.create=mfs,minfreespace=4G 0 0
      # <<< [openmediavault]
    • You have mounted a filesystem (UUID=20005550-3d0c-4d82-9ec5-7e4abb396640) that does not exist anymore. Try to delete it in the filesystem page.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Oh, then do not delete it. In this case it seems to be a bug.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Fixed in openmediavault-diskstat 5.0.2, see github.com/openmediavault/open…2f10fff48b5cb37d38cfe49d9.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Applied changes to disk.sls (cat of file below), error changed and Mergefs does not mount now:

      {% set disks = [] %}
      # Get the configured mount points.
      {% set mountpoints = salt['omv_conf.get_by_filter'](
      'conf.system.filesystem.mountpoint',
      {'operator': 'and', 'arg0': {'operator': 'equals', 'arg0': 'hidden', 'arg1: '0'}, 'arg1': {'operator': 'not', 'arg0': {'operator': 'stringContains', 'arg0': 'opts', 'arg1': 'bind'}}}) %}

      # Filter mounted file systems.
      {% for mountpoint in mountpoints %}
      # Example:
      # {
      # "dir": "/srv/dev-disk-by-id-scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-part1",
      # "freq": 0,
      # "fsname": "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-part1",
      # "hidden": false,
      # "opts": "defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl",
      # "passno": 2,
      # "type": "ext4",
      # "uuid": "dd838a0f-d39c-4158-afc0-1622bf8cde78"
      # }
      # or
      # {
      # "dir": "/srv/dev-disk-by-id-scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-part1",
      # "freq": 0,
      # "fsname": "008530ff-a134-4264-898d-9ce30eeab927",
      # }
      {% if salt['mount.is_mounted'](mountpoint.dir) %}
      {% set disk = salt['omv_utils.get_fs_parent_device_file'](mountpoint.fsname) %}
      # Extract the device name from '/dev/xxx'.
      {% set _ = disks.append(disk[5:]) %}
      {% endif %}
      {% endfor %}

      # Append the root filesystem.
      {% set root_fs = salt['omv_utils.get_root_filesystem']() %}
      {% set disk = salt['omv_utils.get_fs_parent_device_file'](root_fs) %}
      {% set _ = disks.append(disk[5:]) %}

      configure_collectd_conf_disk_plugin:
      file.managed:
      - name: "/etc/collectd/collectd.conf.d/disk.conf"
      - source:
      - salt://{{ slspath }}/files/collectd-disk.j2
      - template: jinja
      - context:
      disks: {{ disks | unique | json }}

      Error I receive is below:

      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 collectd 2>&1' with exit code '1': debian: Data failed to compile:----------

      Rendering SLS 'base:omv.deploy.collectd.plugins.disk' failed: Jinja syntax error: expected token ':', got 'integer'; line 28---[...]{% set disks = [] %}# Get the configured mount points.{% set mountpoints = salt['omv_conf.get_by_filter']( 'conf.system.filesystem.mountpoint', {'operator': 'and', 'arg0': {'operator': 'equals', 'arg0': 'hidden', 'arg1: '0'}, 'arg1': {'operator': 'not', 'arg0': {'operator': 'stringContains', 'arg0': 'opts', 'arg1': 'bind'}}}) %} <======================# Filter mounted file systems.{% for mountpoint in mountpoints %} # Example: # {[...]--- in /usr/share/php/openmediavault/system/process.inc:182Stack trace:#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()#1 /usr/share/openmediavault/engined/rpc/config.inc(164): 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/bgstatus3f...', '/tmp/bgoutputTJ...')#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#7 /usr/share/openmediavault/engined/rpc/config.inc(186): 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 assume the lines

      {'operator': 'and', 'arg0': {'operator': 'equals', 'arg0': 'hidden', 'arg1: '0'}, 'arg1': {'operator': 'not', 'arg0': {'operator': 'stringContains', 'arg0': 'opts', 'arg1': 'bind'}}}) %}

      must be a one-liner.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Okay, I re-entered the updated lines to the disk.lsl file, rebooted and that seems to have addressed the error in OMV when applying changes, however the fuse.mergefs file system is showing online but not mounting and that is where all my data and file share reside. Should I manually mount the file system or is something else required?

      Thanks again :)

    • Same issue as reported, but I'm unable to resolve with the above fix.

      Brainfuck Source Code

      1. Error #0:
      2. 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 collectd 2>&1' with exit code '1': debian:
      3. Data failed to compile:
      4. ----------
      5. Rendering SLS 'base:omv.deploy.collectd.plugins.disk' failed: Problem running salt function in Jinja template: A valid link was not specified.; line 54
      6. ---
      7. [...]
      8. {% if salt['mount.is_mounted'](mountpoint.dir) %}
      9. {% set parent_device_file = salt['omv_utils.get_fs_parent_device_file'](mountpoint.fsname) %}
      10. {% if parent_device_file %}
      11. # Get the canonical device file to extract the device name. The collectd disk
      12. # plugin wants this format: https://collectd.org/wiki/index.php/Plugin:Disk
      13. {% set canonical_parent_device_file = salt['file.readlink'](parent_device_file, True) %} <======================
      14. # Extract the device name from '/dev/xxx'.
      15. {% set _ = disks.append(canonical_parent_device_file[5:]) %}
      16. {% endif %}
      17. {% endif %}
      18. {% endfor %}
      19. [...]
      20. --- in /usr/share/php/openmediavault/system/process.inc:182
      21. Stack trace:
      22. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
      23. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
      24. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
      25. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      26. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      27. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusxe...', '/tmp/bgoutputzn...')
      28. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      29. #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      30. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
      31. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      32. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      33. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      34. #12 {main}
      Display All

      Running version 5.2.1-1, and unionfilesystems v5.0.2

      Additionally, blkid:

      Source Code

      1. /dev/sda1: UUID="d1058e63-3ed6-421c-86bb-f542ba88220a" TYPE="ext4" PARTUUID="ea251f6b-01"
      2. /dev/sda5: UUID="eacea850-7f5a-40d4-877f-f2657260cfe6" TYPE="swap" PARTUUID="ea251f6b-05"
      3. /dev/sdb1: LABEL="data1" UUID="8128de93-6fec-40e6-ab2b-e1cb339f8fa4" TYPE="ext4" PARTUUID="192e1182-e85f-4282-b391-c575f97f91d5"
      4. /dev/sdc1: LABEL="data2" UUID="eb206320-60a3-48cf-a0e3-a70ecbf2c5d4" TYPE="ext4" PARTUUID="8f29305e-ab79-4357-a4e1-0e8805b10936"
      5. /dev/sdd1: LABEL="parity1" UUID="f3bd9609-89ba-4ff6-885c-6c02394a1da8" TYPE="ext4" PARTUUID="b839cfe0-d95e-4157-b836-96ea427e1600"
    • fasteasyfree wrote:

      Same issue as reported, but I'm unable to resolve with the above fix.
      Also having the same issue on fresh install started today.

      Brainfuck Source Code

      1. The configuration has been changed. You must apply the changes in order for them to take effect.
      2. openmediavault.local
      3. An error has occured
      4. Error #0:
      5. 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 collectd 2>&1' with exit code '1': debian:
      6. Data failed to compile:
      7. ----------
      8. Rendering SLS 'base:omv.deploy.collectd.plugins.disk' failed: Problem running salt function in Jinja template: A valid link was not specified.; line 54
      9. ---
      10. [...]
      11. {% if salt['mount.is_mounted'](mountpoint.dir) %}
      12. {% set parent_device_file = salt['omv_utils.get_fs_parent_device_file'](mountpoint.fsname) %}
      13. {% if parent_device_file %}
      14. # Get the canonical device file to extract the device name. The collectd disk
      15. # plugin wants this format: https://collectd.org/wiki/index.php/Plugin:Disk
      16. {% set canonical_parent_device_file = salt['file.readlink'](parent_device_file, True) %} <======================
      17. # Extract the device name from '/dev/xxx'.
      18. {% set _ = disks.append(canonical_parent_device_file[5:]) %}
      19. {% endif %}
      20. {% endif %}
      21. {% endfor %}
      22. [...]
      23. --- in /usr/share/php/openmediavault/system/process.inc:182
      24. Stack trace:
      25. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
      26. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
      27. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
      28. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      29. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      30. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusZN...', '/tmp/bgoutputes...')
      31. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      32. #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      33. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
      34. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      35. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      36. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      37. #12 {main}
      Display All



      Running OMV version 5.2.1-1, diskstats 5.0.2-1 and unionfilesystems 5.1

      Source Code

      1. root@openmediavault:~# blkid
      2. /dev/sdi1: UUID="DF59-3EFE" TYPE="vfat" PARTUUID="441631ea-e750-4d92-8610-13d179ae997d"
      3. /dev/sdi2: UUID="75e2223a-8c08-463f-99e4-a5e75a3fb067" TYPE="ext4" PARTUUID="415f8ba2-947b-45f9-85a4-269b004fcfe2"
      4. /dev/sdi3: UUID="ca4be511-fe0c-412a-b57f-d68205ea5abc" TYPE="swap" PARTUUID="954eab6d-fdb9-4e5f-b2f4-b95ad2b9b762"
      5. /dev/sdc1: LABEL="disk3" UUID="41f5051b-cc5b-4599-9d4b-678cf314f168" TYPE="ext4" PARTUUID="98ac1e2d-6eea-45ae-83ef-6965f983891e"
      6. /dev/sdg1: LABEL="disk7" UUID="100377dd-fd52-437e-ad9d-41bb61517ec7" TYPE="ext4" PARTUUID="798c3b7f-3be8-45ad-986a-ae0a45fd9a42"
      7. /dev/sdb1: LABEL="disk2" UUID="3a1784bf-4b6c-42aa-976c-3f6f70900abe" TYPE="ext4" PARTUUID="8266b0d5-bd31-4f23-8038-b8785a0f701e"
      8. /dev/sdh1: LABEL="disk8" UUID="6026b9cf-8533-4dfa-9da5-52d4c779c008" TYPE="ext4" PARTUUID="099de5a4-9109-4879-aa1c-6980362b57d4"
      9. /dev/sde1: LABEL="disk5" UUID="ae5520a6-9c8c-49f8-b19b-9479d177953a" TYPE="ext4" PARTUUID="f5e44ef4-922c-4488-8bb1-5871d68b495f"
      10. /dev/sda1: LABEL="disk1" UUID="5735b435-0be0-4691-a32e-66a62c6849ff" TYPE="ext4" PARTUUID="a622158f-5058-4459-a092-c4e0a0499827"
      11. /dev/sdf1: LABEL="disk6" UUID="568ae093-9bbd-4575-b208-94ace9f6a153" TYPE="ext4" PARTUUID="63e7a2c2-d3ca-46d5-84e0-028298ea903e"
      12. /dev/sdd1: LABEL="disk4" UUID="b77f1d9f-f689-4a34-96cd-f9636783d9b7" TYPE="ext4" PARTUUID="19d187f9-ce29-461c-802d-9d730b8b48ac"
      Display All

      Thanks!