Alles anzeigenHi,
I don't want to hijack this thread, but need help here.
I have a similar issue.
Can't created new share folders after a new pool is created, and I also can't connect to existing share folders via samba.
I even modified the sharefolders-media.mount in /etc/systemd/system to reflect the changes, but no luck.
PythonAlles anzeigenError #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 systemd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping, namedtuple debian: Data failed to compile: ---------- Rendering SLS 'base:omv.deploy.systemd.10sharedfolders' failed: Jinja error: No such object: //system/fstab/mntent[uuid='ba3f52d4-34d4-41ae-b585-6818bc72c3c8'] Traceback (most recent call last): File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 715, in execute self._response = self._response[0] IndexError: list index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 394, 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 37, in top-level template code File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 129, in get_sharedfolder_mount_path mp_obj = get('conf.system.filesystem.mountpoint', sf_obj['mntentref']) File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 39, 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 720, in execute raise DatabaseQueryNotFoundException(self.xpath, self.model) openmediavault.config.database.DatabaseQueryNotFoundException: No such object: //system/fstab/mntent[uuid='ba3f52d4-34d4-41ae-b585-6818bc72c3c8'] ; line 37 --- [...] - iname: "{{ sharedfolders_dir_escaped }}-*.mount" - delete: "f" {% if sharedfolders_dir_enabled | to_bool %} {% for sharedfolder in sharedfolder_config %} {% set mntdir = salt['omv_conf.get_sharedfolder_mount_path'](sharedfolder.uuid) %} <====================== {% set what = salt['omv_conf.get_sharedfolder_path'](sharedfolder.uuid) %} {% set where = sharedfolders_dir | path_join(sharedfolder.name) %} {% set unit_name = salt['cmd.run']('systemd-escape --path --suffix=mount ' ~ where) %} configure_sharedfolder_{{ sharedfolder.name }}_mount_unit_file: [...] --- 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/bgstatus0t...', '/tmp/bgoutput0i...') #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}
Looks like it cannot find the : Jinja error: No such object: //system/fstab/mntent[uuid='ba3f52d4-34d4-41ae-b585-6818bc72c3c8']
if it's not in /etc/fstab
then look in /etc/openmediavault/config.xml
if it's missing in fstab you may need to delete it in config.xml
a reboot might also fix it