Hi everyone,
I am encountering an issue with the openmediavault-sftp plugin on OMV 8.x.
When I try to apply configuration changes after setting up the SFTP plugin, I get a 500 - Internal Server Error.
System Information:
- OMV Version: 8.1.0-1 (Synchrony)
- Plugin: openmediavault-sftp 8.0
- Kernel: Linux 6.18.5+deb13-amd64
The Error:
The error message suggests a problem with omv-salt deploy run fstab. It seems like Salt is trying to mount a filesystem but failing because of a device mismatch (it expects the UUID on /dev/sdb but sees it on /dev/sda).
Here is the full error trace:
500 - Internal Server Error
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 fstab 2>&1' with exit code '1':
debian: ---------- ID: create_filesystem_mountpoint_224b6e51-d55d-41cd-bd84-ef5781bb5b25 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_224b6e51-d55d-41cd-bd84-ef5781bb5b25 for file /etc/fstab was charged by text Started: 11:15:28.752357 Duration: 0.647 ms Changes: ---------- ID: mount_filesystem_mountpoint_224b6e51-d55d-41cd-bd84-ef5781bb5b25 Function: mount.mounted Name: /srv/dev-disk-by-uuid-90f5ba3e-a359-4842-af40-b97774309bb3 Result: False Comment: Unable to unmount Started: 11:15:28.753486 Duration: 35.607 ms Changes: ---------- umount: Forced unmount because devices don't match. Wanted: /dev/disk/by-uuid/90f5ba3e-a359-4842-af40-b97774309bb3 (/dev/sdb), current: /dev/sda, /dev/sda, 90f5ba3e-a359-4842-af40-b97774309bb3 ---------- ID: create_sftp_mountpoint_1c6a4987-380f-4643-a46c-73b163da8714 Function: file.accumulated Result: True Comment: Accumulator create_sftp_mountpoint_1c6a4987-380f-4643-a46c-73b163da8714 for file /etc/fstab was charged by text Started: 11:15:28.789219 Duration: 0.699 ms Changes: ---------- ID: mount_sftp_mountpoint_1c6a4987...
Steps taken so far: I have tried rebooting the server. I checked the disks, and they seem to be mounted correctly in the Storage tab, but the plugin configuration triggers this salt error.
Has anyone experienced this device mismatch issue with the SFTP plugin on OMV 8? Any advice on how to fix the salt state or fstab entry?
Thanks in advance for your help!