Beiträge von siddharth_bhal

    I am getting below errors. I installed remote mount plugin and tried to mount samba share. Due to incorrect password this error started. Now even after I have removed the plugin, its not going away. I have tried restarting system multiple time as well used omv-firstaid but without any success. Please help.

    Python
    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: ---------- ID: remove_sharedfolder_mount_unit_files Function: module.run Result: True Comment: file.find: ['/etc/systemd/system/sharedfolders-appdata.mount', '/etc/systemd/system/sharedfolders-data.mount', '/etc/systemd/system/sharedfolders-dockerdata.mount', '/etc/systemd/system/sharedfolders-media.mount'] Started: 16:47:34.932237 Duration: 3.46 ms Changes: ---------- file.find: - /etc/systemd/system/sharedfolders-appdata.mount - /etc/systemd/system/sharedfolders-data.mount - /etc/systemd/system/sharedfolders-dockerdata.mount - /etc/systemd/system/sharedfolders-media.mount ---------- ID: configure_sharedfolder_media_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-media.mount Result: True Comment: File /etc/systemd/system/sharedfolders-media.mount updated Started: 16:47:34.936984 Duration: 2.234 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_sharedfolder_appdata_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-appdata.mount Result: True Comment: File /etc/systemd/system/sharedfolders-appdata.mount updated Started: 16:47:34.939299 Duration: 1.552 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_sharedfolder_dockerdata_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-dockerdata.mount Result: True Comment: File /etc/systemd/system/sharedfolders-dockerdata.mount updated Started: 16:47:34.940928 Duration: 1.495 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_sharedfolder_data_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-data.mount Result: True Comment: File /etc/systemd/system/sharedfolders-data.mount updated Started: 16:47:34.942498 Duration: 1.545 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: sharedfolder_mount_units_systemctl_daemon_reload Function: module.run Name: service.systemctl_reload Result: True Comment: Started: 16:47:34.944118 Duration: 0.23 ms Changes: ---------- ID: enable_sharedfolder_media_mount_unit Function: service.enabled Name: sharedfolders-media.mount Result: True Comment: Service sharedfolders-media.mount is already enabled, and is in the desired state Started: 16:47:34.949909 Duration: 210.369 ms Changes: ---------- ID: restart_sharedfolder_media_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 16:47:35.160577 Duration: 34.405 ms Changes: ---------- service.restart: True ---------- ID: enable_sharedfolder_appdata_mount_unit Function: service.enabled Name: sharedfolders-appdata.mount Result: True Comment: Service sharedfolders-appdata.mount is already enabled, and is in the desired state Started: 16:47:35.195214 Duration: 12.014 ms Changes: ---------- ID: restart_sharedfolder_appdata_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 16:47:35.207766 Duration: 27.368 ms Changes: ---------- service.restart: True ---------- ID: enable_sharedfolder_dockerdata_mount_unit Function: service.enabled Name: sharedfolders-dockerdata.mount Result: True Comment: Service sharedfolders-dockerdata.mount is already enabled, and is in the desired state Started: 16:47:35.235464 Duration: 16.6 ms Changes: ---------- ID: restart_sharedfolder_dockerdata_mount_unit Function: module.run Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 1933, in call **cdata['kwargs']) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1951, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 631, in _decorate return self._call_function(kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 334, in _call_function raise error File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 321, in _call_function return self._function(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 294, in run func_args=kwargs.get(func)) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 358, in _call_function mret = __salt__[name](*arg_type, **func_kw) File "/usr/lib/python3/dist-packages/salt/modules/systemd_service.py", line 906, in restart raise CommandExecutionError(_strip_scope(ret['stderr'])) salt.exceptions.CommandExecutionError: Job for sharedfolders-dockerdata.mount failed. See "systemctl status sharedfolders-dockerdata.mount" and "journalctl -xe" for details. Started: 16:47:35.252368 Duration: 55.716 ms Changes: ---------- ID: enable_sharedfolder_data_mount_unit Function: service.enabled Name: sharedfolders-data.mount Result: True Comment: Service sharedfolders-data.mount is already enabled, and is in the desired state Started: 16:47:35.308369 Duration: 82.239 ms Changes: ---------- ID: restart_sharedfolder_data_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 16:47:35.391000 Duration: 33.282 ms Changes: ---------- service.restart: True ---------- ID: configure_tmp_mount_unit_file Function: file.managed Name: /etc/systemd/system/tmp.mount Result: True Comment: File /etc/systemd/system/tmp.mount is in the correct state Started: 16:47:35.424496 Duration: 24.286 ms Changes: ---------- ID: tmp_mount_unit_systemctl_daemon_reload Function: module.run Name: service.systemctl_reload Result: True Comment: State was not run because none of the onchanges reqs changed Started: 16:47:35.449193 Duration: 0.003 ms Changes: Summary for debian ------------- Succeeded: 15 (changed=8) Failed: 1 ------------- Total states run: 16 Total run time: 506.798 ms

    Here is how I resolved: As I suspected it was "Docker Storage" path issue. I assume updating Docker Storage path from UI wasn't working for me. I manually edit the file /etc/docker/daemon.json and updated location.

    @ryecoaaron I am facing same problem. For me apt-get -f install isn't working as well.


    I am getting following error when trying to start dockerd:
    Nov 18 14:35:22 omvbhal.local dockerd[5956]: failed to start daemon: error while opening volume store metadata database: no such device


    I thinks its a different issues. Little more context: I am using unionfs on OMV 5 and yesterday upgraded uinonfs plugin to 5.0.1. After upgrade, I observed sharedfolders/xyz were properly mounted and showing same data in /srv/<pool id>/xyz. But today I restarted system and since then I am facing docker installation issue as well as /sharedfolders aren't being populated.


    I believe, path provided as "Docker Storage" in ui has to be a shared folder.
    I have tried using "Docker storage" path on the lines of:
    - /sharedfolders/dockers
    - /srv/<pool id>/dockers
    - /srv/dev-by-disk-name-xxx/dockers (used direct path to remove unionfs issues)


    I also have tried apt-get purge openmediavault-omvextrasorg and reinstalling docker-ce, but same problem.


    Haven't tried to use "Docker Storage" as /var/lib/docker since OMV installation is on USB drive.