Error when creating shared folder.

  • Hi! When I try to create a shared folder I get this error, I have no idea what causes it.


    Python
    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 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


    and


    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-docker.mount', '/etc/systemd/system/sharedfolders-downloads.mount', '/etc/systemd/system/sharedfolders-media.mount'] Started: 12:21:44.149529 Duration: 1.678 ms Changes: ---------- file.find: - /etc/systemd/system/sharedfolders-appdata.mount - /etc/systemd/system/sharedfolders-docker.mount - /etc/systemd/system/sharedfolders-downloads.mount - /etc/systemd/system/sharedfolders-media.mount ---------- ID: configure_sharedfolder_docker_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-docker.mount Result: True Comment: File /etc/systemd/system/sharedfolders-docker.mount updated Started: 12:21:44.152360 Duration: 4.137 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_sharedfolder_downloads_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-downloads.mount Result: True Comment: File /etc/systemd/system/sharedfolders-downloads.mount updated Started: 12:21:44.156574 Duration: 1.371 ms Changes: ---------- diff: New file mode: 0644 ---------- 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: 12:21:44.158014 Duration: 1.237 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: 12:21:44.159316 Duration: 1.265 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: 12:21:44.160648 Duration: 0.21 ms Changes: ---------- ID: enable_sharedfolder_docker_mount_unit Function: service.enabled Name: sharedfolders-docker.mount Result: True Comment: Service sharedfolders-docker.mount is already enabled, and is in the desired state Started: 12:21:44.165695 Duration: 195.125 ms Changes: ---------- ID: restart_sharedfolder_docker_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-docker.mount failed. See "systemctl status sharedfolders-docker.mount" and "journalctl -xe" for details. Started: 12:21:44.361120 Duration: 26.231 ms Changes: ---------- ID: enable_sharedfolder_downloads_mount_unit Function: service.enabled Name: sharedfolders-downloads.mount Result: True Comment: Service sharedfolders-downloads.mount is already enabled, and is in the desired state Started: 12:21:44.387629 Duration: 17.065 ms Changes: ---------- ID: restart_sharedfolder_downloads_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 12:21:44.404964 Duration: 36.689 ms Changes: ---------- service.restart: True ---------- 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: 12:21:44.441938 Duration: 22.029 ms Changes: ---------- ID: restart_sharedfolder_media_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 12:21:44.464238 Duration: 43.606 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: 12:21:44.508130 Duration: 20.355 ms Changes: ---------- ID: restart_sharedfolder_appdata_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 12:21:44.528702 Duration: 42.767 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: 12:21:44.571843 Duration: 31.579 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: 12:21:44.604236 Duration: 0.005 ms Changes: Summary for debian ------------- Succeeded: 15 (changed=8) Failed: 1 ------------- Total states run: 16 Total run time: 445.349 ms
    Code
    /dev/sda1: UUID="B439-CB89" TYPE="vfat" PARTUUID="57e5708b-410d-46af-8ddc-43d13f                                                                                                             62e5fb"
    /dev/sda2: UUID="e7c55c6d-8e62-4a04-8c0d-58e06f805ba1" TYPE="ext4" PARTUUID="f18                                                                                                             382cf-046d-4887-9d7c-d9f02436c080"
    /dev/sda3: UUID="43955287-4de3-4f3b-99ac-421a783617ed" TYPE="swap" PARTUUID="ecf                                                                                                             dbfeb-d279-4ee5-9283-2a8a5147dd77"
    /dev/sdb1: LABEL="Mega" UUID="6fc8c5ea-cc7c-40d1-906a-af3e9bda7a1f" TYPE="ext4"                                                                                                              PARTUUID="e3b75afc-6e0c-4cb6-9b5e-a1a6d379aa2e"


    All help is appreciated! ^^

    • Offizieller Beitrag

    For OMV 5.x, /sharedfolders can no longer be used.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Do you perhaps have a better guide/video? Everyone seems to suggest techno dad on the forums, but he made a mistake then I guess. I followed his video guide.

    The guide is fine other than the path. Just pick a different path.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Select something like /srv/dev-disk-by-label-nameofamounteddisk/AppData/Docker.

    System Backup Typo alert: Under the Linux section the command should be sudo umount /dev/sda1 NOT sudo unmount /dev/sda1

    Backup Data Disk to Backup Disk on Same Machine: In a Scheduled Job:rsync -av --delete /srv/dev-disk-by-uuid-f8814ed9-9a5c-4e1c-8830-426968c20ea3/ /srv/dev-disk-by-uuid-e67439d5-00a3-4942-bd5f-b84ab86aa850/ Don't forget trailing slashes, and BE CAREFUL. (HT: Getting Started with OMV5)

    Equipment - Thinkserver TS140, NanoPi M4 (v.1), Odroid XU4 (Using DietPi): PiHole

  • I am getting the same errors, however I'm not trying to set up a docker or anything like that. (I haven't even installed the docker plug-in yet).


    I thought I post in the topic, since it seems to be the same issue?


    What exactly am I doing wrong? What would be a proper path to use in my case? (EddyUnion is a UnionFS I just created and want to add a base share folder to)




    Brainfuck
    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-baseshare.mount'] Started: 16:19:48.741242 Duration: 1.546 ms Changes: ---------- file.find: - /etc/systemd/system/sharedfolders-baseshare.mount ---------- ID: configure_sharedfolder_baseshare_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-baseshare.mount Result: True Comment: File /etc/systemd/system/sharedfolders-baseshare.mount updated Started: 16:19:48.744125 Duration: 1.768 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:19:48.745966 Duration: 0.211 ms Changes: ---------- ID: enable_sharedfolder_baseshare_mount_unit Function: service.enabled Name: sharedfolders-baseshare.mount Result: True Comment: Service sharedfolders-baseshare.mount is already enabled, and is in the desired state Started: 16:19:48.751074 Duration: 12.726 ms Changes: ---------- ID: restart_sharedfolder_baseshare_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-baseshare.mount failed. See "systemctl status sharedfolders-baseshare.mount" and "journalctl -xe" for details. Started: 16:19:48.763995 Duration: 12.963 ms Changes: ---------- 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:19:48.777148 Duration: 15.253 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:19:48.792893 Duration: 0.004 ms Changes: Summary for debian ------------ Succeeded: 6 (changed=2) Failed: 1 ------------ Total states run: 7 Total run time: 44.471 ms

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!