Hi there, I have some problems after I have changed the zfs pool in my omv installation. I did not replicate all the shares and as far as I understand some are even referenced by UUID so I have a feeling that I did not done my homework properly please help
This is the output of the error message:
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color samba 2>&1' with exit code '1': debian:
----------
ID: configure_samba_global
Function: file.managed
Name: /etc/samba/smb.conf
Result: True
Comment: File /etc/samba/smb.conf is in the correct state
Started: 19:59:52.979238
Duration: 64.234 ms
Changes:
----------
ID: configure_samba_shares
Function: file.append
Name: /etc/samba/smb.conf
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 497, in render_jinja_tmpl
output = template.render(**decoded_context)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "<template>", line 34, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 465, in call
return __context.call(__obj, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__
return self.loader.run(run_func, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as
return _func_or_method(*args, **kwargs)
File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 121, in get_sharedfolder_path
mp_obj = get('conf.system.filesystem.mountpoint', sf_obj['mntentref'])
File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 41, in get
objs = db.get(id_, identifier)
File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 85, in get
query.execute()
File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 746, in execute
raise DatabaseQueryNotFoundException(
openmediavault.config.database.DatabaseQueryNotFoundException: No such object: //system/fstab/mntent[uuid='f3f2bff6-bb0f-4407-8e96-659b1875cddc']
Alles anzeigen
many thanks!