Hello,
I'm triyng to mount a remote smb share from my Synology NAS under OMV Storage → Remote Mounts
But I can't apply those settings, because of the error bellow :
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color remotemount 2>&1' with exit code '1': debian:
----------
...
I confirm that the User/Password works fine on another system, and the options are the one I used on a LXC Proxmox to mount some shares from this Synology NAS.
How can I fix this error?
Thanks in advance,
Have a nice day.
Ps: the log given in OMV UI part1:
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color remotemount 2>&1' with exit code '1': debian:
----------
ID: configure_remote_dir
Function: file.directory
Name: /srv/remotemount
Result: True
Comment: The directory /srv/remotemount is in the correct state
Started: 10:51:18.463487
Duration: 7.02 ms
Changes:
----------
ID: remove_remotemount_mount_files
Function: module.run
Result: True
Comment: file.find: ['/etc/systemd/system/srv-remotemount-Syno_Backup_OMV_Asustor.mount']
Started: 10:51:18.471243
Duration: 7.38 ms
Changes:
----------
file.find:
- /etc/systemd/system/srv-remotemount-Syno_Backup_OMV_Asustor.mount
----------
ID: remove_remotemount_automount_files
Function: module.run
Result: True
Comment: file.find: []
Started: 10:51:18.478830
Duration: 6.154 ms
Changes:
----------
file.find:
----------
ID: remove_remotemount_cifs_cred_files
Function: module.run
Result: True
Comment: file.find: ['/root/.cifscredentials-27f61590-e6b8-4722-abe1-8f1d3e07eb64']
Started: 10:51:18.485125
Duration: 83.914 ms
Changes:
----------
file.find:
- /root/.cifscredentials-27f61590-e6b8-4722-abe1-8f1d3e07eb64
----------
ID: remove_remotemount_s3fs_cred_files
Function: module.run
Result: True
Comment: file.find: []
Started: 10:51:18.569223
Duration: 83.065 ms
Changes:
----------
file.find:
----------
ID: remove_remotemount_davfs_cred_file
Function: file.absent
Name: /etc/davfs2/secrets
Result: True
Comment: Removed file /etc/davfs2/secrets
Started: 10:51:18.652466
Duration: 0.757 ms
Changes:
----------
removed:
/etc/davfs2/secrets
----------
ID: configure_remotemount_davfs_cred_file
Function: file.managed
Name: /etc/davfs2/secrets
Result: True
Comment: File /etc/davfs2/secrets updated
Started: 10:51:18.653348
Duration: 2.878 ms
Changes:
----------
diff:
New file
----------
ID: systemd_delete_dead_symlinks
Function: cmd.run
Name: find /etc/systemd/system/multi-user.target.wants -xtype l -print -delete
Result: True
Comment: Command "find /etc/systemd/system/multi-user.target.wants -xtype l -print -delete" run
Started: 10:51:18.657099
Duration: 3.919 ms
Changes:
----------
pid:
41972
retcode:
0
stderr:
stdout:
/etc/systemd/system/multi-user.target.wants/srv-remotemount-Syno_Backup_OMV_Asustor.mount
----------
ID: configure_remotemount_cifs_creds_27f61590-e6b8-4722-abe1-8f1d3e07eb64
Function: file.managed
Name: /root/.cifscredentials-27f61590-e6b8-4722-abe1-8f1d3e07eb64
Result: True
Comment: File /root/.cifscredentials-27f61590-e6b8-4722-abe1-8f1d3e07eb64 updated
Started: 10:51:18.661193
Duration: 2.655 ms
Changes:
----------
diff:
New file
----------
ID: configure_remotemount_Syno_Backup_OMV_Asustor
Function: file.managed
Name: /etc/systemd/system/srv-remotemount-Syno_Backup_OMV_Asustor.mount
Result: True
Comment: File /etc/systemd/system/srv-remotemount-Syno_Backup_OMV_Asustor.mount updated
Started: 10:51:18.663983
Duration: 28.217 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: systemd-reload_Syno_Backup_OMV_Asustor
Function: cmd.run
Name: systemctl daemon-reload
Result: True
Comment: Command "systemctl daemon-reload" run
Started: 10:51:18.692351
Duration: 478.904 ms
Changes:
----------
pid:
41974
retcode:
0
stderr:
stdout:
----------
ID: enable_Syno_Backup_OMV_Asustor_remotemount
Function: service.enabled
Name: srv-remotemount-Syno_Backup_OMV_Asustor.mount
Result: True
Comment: Service srv-remotemount-Syno_Backup_OMV_Asustor.mount has been enabled, and is in the desired state
Started: 10:51:19.190734
Duration: 668.623 ms
Changes:
----------
srv-remotemount-Syno_Backup_OMV_Asustor.mount:
True
----------
ID: restart_Syno_Backup_OMV_Asustor_remotemount
Function: cmd.run
Name: systemctl restart 'srv-remotemount-Syno_Backup_OMV_Asustor.mount'
Result: False
Comment: Command "systemctl restart 'srv-remotemount-Syno_Backup_OMV_Asustor.mount'" run
Started: 10:51:19.859552
Duration: 2063.537 ms
Changes:
----------
pid:
42093
retcode:
1
stderr:
Job failed. See "journalctl -xe" for details.
stdout:
Summary for debian
-------------
Succeeded: 12 (changed=12)
Failed: 1
-------------
Total states run: 13
Total run time: 3.437 s
[ERROR ] Command 'systemctl' failed with return code: 1
[ERROR ] stderr: Job failed. See "journalctl -xe" for details.
[ERROR ] retcode: 1
[ERROR ] {'pid': 42093, 'retcode': 1, 'stdout': '', 'stderr': 'Job failed. See "journalctl -xe" for details.'}
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color remotemount 2>&1' with exit code '1': debian:
----------
ID: configure_remote_dir
Function: file.directory
Name: /srv/remotemount
Result: True
Comment: The directory /srv/remotemount is in the correct state
Started: 10:51:18.463487
Duration: 7.02 ms
Changes:
----------
ID: remove_remotemount_mount_files
Function: module.run
Result: True
Comment: file.find: ['/etc/systemd/system/srv-remotemount-Syno_Backup_OMV_Asustor.mount']
Started: 10:51:18.471243
Duration: 7.38 ms
Changes:
----------
file.find:
- /etc/systemd/system/srv-remotemount-Syno_Backup_OMV_Asustor.mount
----------
ID: remove_remotemount_automount_files
Function: module.run
Result: True
Comment: file.find: []
Started: 10:51:18.478830
Duration: 6.154 ms
Changes:
----------
file.find:
----------
ID: remove_remotemount_cifs_cred_files
Function: module.run
Result: True
Comment: file.find: ['/root/.cifscredentials-27f61590-e6b8-4722-abe1-8f1d3e07eb64']
Started: 10:51:18.485125
Duration: 83.914 ms
Changes:
----------
file.find:
- /root/.cifscredentials-27f61590-e6b8-4722-abe1-8f1d3e07eb64
----------
ID: remove_remotemount_s3fs_cred_files
Function: module.run
Result: True
Comment: file.find: []
Started: 10:51:18.569223
Duration: 83.065 ms
Changes:
----------
file.find:
----------
ID: remove_remotemount_davfs_cred_file
Function: file.absent
Name: /etc/davfs2/secrets
Result: True
Comment: Removed file /etc/davfs2/secrets
Started: 10:51:18.652466
Duration: 0.757 ms
Changes:
----------
removed:
/etc/davfs2/secrets
----------
ID: configure_remotemount_davfs_cred_file
Function: file.managed
Name: /etc/davfs2/secrets
Result: True
Comment: File /etc/davfs2/secrets updated
Started: 10:51:18.653348
Duration: 2.878 ms
Changes:
----------
diff:
New file
Display More