Hello every one, i changed my harddrive from mit OMV testsetup und in this case i alos upgraded to OMV 7. Before iǘe got remote mount my QNAP in OMV 6, but now I got an error message, and didn´t know how to solve it.
The remote mount uses smb/cifs with standard setup, except the cifs version is configured by version 2.0.
Error message:
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 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: 09:19:40.197812
Duration: 4.331 ms
Changes:
----------
ID: remove_remotemount_mount_files
Function: module.run
Result: True
Comment: file.find: ['/etc/systemd/system/srv-remotemount-qnap.mount']
Started: 09:19:40.202607
Duration: 2.522 ms
Changes:
----------
file.find:
- /etc/systemd/system/srv-remotemount-qnap.mount
----------
ID: remove_remotemount_automount_files
Function: module.run
Result: True
Comment: file.find: []
Started: 09:19:40.205220
Duration: 2.252 ms
Changes:
----------
file.find:
----------
ID: remove_remotemount_cifs_cred_files
Function: module.run
Result: True
Comment: file.find: ['/root/.cifscredentials-51f00544-a3b7-4c22-bd88-5c3e5f312449']
Started: 09:19:40.207556
Duration: 1.357 ms
Changes:
----------
file.find:
- /root/.cifscredentials-51f00544-a3b7-4c22-bd88-5c3e5f312449
----------
ID: remove_remotemount_s3fs_cred_files
Function: module.run
Result: True
Comment: file.find: []
Started: 09:19:40.208995
Duration: 1.253 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: 09:19:40.210327
Duration: 0.433 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: 09:19:40.210839
Duration: 1.626 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: 09:19:40.212989
Duration: 2.487 ms
Changes:
----------
pid:
11714
retcode:
0
stderr:
stdout:
/etc/systemd/system/multi-user.target.wants/srv-remotemount-qnap.mount
----------
ID: configure_remotemount_cifs_creds_51f00544-a3b7-4c22-bd88-5c3e5f312449
Function: file.managed
Name: /root/.cifscredentials-51f00544-a3b7-4c22-bd88-5c3e5f312449
Result: True
Comment: File /root/.cifscredentials-51f00544-a3b7-4c22-bd88-5c3e5f312449 updated
Started: 09:19:40.215569
Duration: 1.671 ms
Changes:
----------
diff:
New file
----------
ID: configure_remotemount_qnap
Function: file.managed
Name: /etc/systemd/system/srv-remotemount-qnap.mount
Result: True
Comment: File /etc/systemd/system/srv-remotemount-qnap.mount updated
Started: 09:19:40.217316
Duration: 86.824 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: systemd-reload_qnap
Function: cmd.run
Name: systemctl daemon-reload
Result: True
Comment: Command "systemctl daemon-reload" run
Started: 09:19:40.304228
Duration: 372.92 ms
Changes:
----------
pid:
11716
retcode:
0
stderr:
stdout:
----------
ID: enable_qnap_remotemount
Function: service.enabled
Name: srv-remotemount-qnap.mount
Result: True
Comment: Service srv-remotemount-qnap.mount has been enabled, and is in the desired state
Started: 09:19:41.337347
Duration: 403.563 ms
Changes:
----------
srv-remotemount-qnap.mount:
True
----------
ID: restart_qnap_remotemount
Function: cmd.run
Name: systemctl restart 'srv-remotemount-qnap.mount'
Result: False
Comment: Command "systemctl restart 'srv-remotemount-qnap.mount'" run
Started: 09:19:41.741027
Duration: 70.678 ms
Changes:
----------
pid:
11771
retcode:
1
stderr:
Job failed. See "journalctl -xe" for details.
stdout:
Summary for debian
thanks for helping me