Hi , I changed the permissions / user accecss-rights of a shared folder from read-only to read-write, which could not be implemented. I recieve this error message - can someone help me with this / what do I need to do to implement this change?
Thank you!
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 rsync 2>&1' with exit code '1': debian:
----------
ID: configure_rsync_cron
Function: file.managed
Name: /etc/cron.d/openmediavault-rsync
Result: True
Comment: File /etc/cron.d/openmediavault-rsync is in the correct state
Started: 08:17:19.011509
Duration: 92.411 ms
Changes:
----------
ID: remove_rsync_cron_scripts
Function: module.run
Result: True
Comment: file.find: []
Started: 08:17:19.104435
Duration: 0.983 ms
Changes:
----------
file.find:
----------
ID: configure_rsync_cron_script_fc203d15-57d0-4991-a1b8-9e4656cf3e96
Function: file.managed
Name: /var/lib/openmediavault/cron.d/rsync-fc203d15-57d0-4991-a1b8-9e4656cf3e96
Result: False
Comment: Unable to manage file: Jinja error: No such object: //system/shares/sharedfolder[uuid='fc3ed2af-3bb4-4b0f-9b7c-c6ad924fa761']
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 8, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
return __context.call(__obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
return self.loader.run(run_func, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 120, in get_sharedfolder_path
sf_obj = get('conf.system.sharedfolder', uuid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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/shares/sharedfolder[uuid='fc3ed2af-3bb4-4b0f-9b7c-c6ad924fa761']
; line 8
---
[...]
{%- set ssh_keys_dir = salt['pillar.get']('default:OMV_SSH_KEYS_DIR', '/etc/ssh') -%}
{%- set ssh_key_prefix = salt['pillar.get']('default:OMV_SSH_KEY_PREFIX', 'openmediavault-') -%}
{%- set logfile = salt['pillar.get']('default:OMV_RSYNC_LOGFILE', '/var/log/rsync.log') -%}
{%- set runfile = '/run' | path_join(script_prefix ~ job.uuid) -%}
{%- if job.type == 'local' -%}
{%- set srcuri = salt['omv_conf.get_sharedfolder_path'](job.src.sharedfolderref) -%} <======================
{%- set srcmntdir = salt['omv_conf.get_sharedfolder_mount_path'](job.src.sharedfolderref) -%}
{%- set desturi = salt['omv_conf.get_sharedfolder_path'](job.dest.sharedfolderref) -%}
{%- set destmntdir = salt['omv_conf.get_sharedfolder_mount_path'](job.dest.sharedfolderref) -%}
{%- elif job.type == 'remote' -%}
{%- if job.mode == 'push' -%}
[...]
---
Started: 08:17:19.105517
Duration: 110.853 ms
Changes:
----------
ID: configure_rsync_cron_script_b253ef2b-af57-46ea-8c2d-7eb228e3a622
Function: file.managed
Name: /var/lib/openmediavault/cron.d/rsync-b253ef2b-af57-46ea-8c2d-7eb228e3a622
Result: False
Comment: Unable to manage file: Jinja error: No such object: //system/shares/sharedfolder[uuid='183e8e7f-f4f7-4fa2-af8b-395b6028b086']
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 8, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
return __context.call(__obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
return self.loader.run(run_func, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 120, in get_sharedfolder_path
sf_obj = get('conf.system.sharedfolder', uuid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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/shares/sharedfolder[uuid='183e8e7f-f4f7-4fa2-af8b-395b6028b086']
Display More