openmediavault-sftp plugin: 500 Internal Server Error (Salt deploy fstab failed / device mismatch)

  • 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:

    Code
    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!


  • votdev

    Approved the thread.
    • New
    • Official Post

    The error isn't from the sftp plugin itself. Can you post the entire error? cut&paste from the bell in the top right. Or better just, post all of the output from


    sudo omv-salt deploy run fstab


    Do you have sharedfolders on the OS drive?

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


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


    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!

  • The error isn't from the sftp plugin itself. Can you post the entire error? cut&paste from the bell in the top right. Or better just, post all of the output from


    sudo omv-salt deploy run fstab


    Do you have sharedfolders on the OS drive?


    Sure, here is the error.

    • New
    • Official Post

    You will need to reboot because the filesystem systemd is trying to remount has changed but it is in use.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


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


    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!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!