I'm running my OMV 5.6.24-1 on a RasPi4 for more than a year with the sole purpose of sharing my media library across a bunch of USB disks.
It's fully updated regularly with all available patches, and everything is configured as simple as possible.
Today I needed to change an option under SMB/CIFS > Advanced settings, but every time I try to apply the new settings, I get the error below. Even just changing Log Level from "None" to "Normal" throws the same error.
I also have a similar OMV running an older version 5.6.2-1 just for testing which does not have this issue, so I'm suspecting there's some bug with the latest build.
Code
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 --no-color samba 2>&1' with exit code '1': raspberrypi:
----------
ID: configure_samba_global
Function: file.managed
Name: /etc/samba/smb.conf
Result: True
Comment: File /etc/samba/smb.conf updated
Started: 21:42:36.799235
Duration: 201.061 ms
Changes:
----------
diff:
---
+++
@@ -46,125 +46,3 @@
usershare path =
local master = no
disable netbios = yes
-min protocol = SMB2
-#======================= Share Definitions =======================
-[MY SHARED VOLUMES]
-
...
----------
ID: configure_samba_shares
Function: file.append
Name: /etc/samba/smb.conf
Result: True
Comment: Appended 121 lines
Started: 21:42:37.000703
Duration: 578.8 ms
Changes:
----------
diff:
---
+++
@@ -46,3 +46,124 @@
usershare path =
local master = no
disable netbios = yes
+#======================= Share Definitions =======================
+[MY SHARED VOLUMES]
+
...
----------
ID: configure_samba_recyclebin_cron
Function: file.managed
Name: /etc/cron.daily/openmediavault-samba-recycle
Result: True
Comment: File /etc/cron.daily/openmediavault-samba-recycle is in the correct state
Started: 21:42:37.579892
Duration: 9.723 ms
Changes:
----------
ID: remove_samba_recyclebin_cron_scripts
Function: module.run
Result: True
Comment: file.find: []
Started: 21:42:37.591593
Duration: 4.212 ms
Changes:
----------
file.find:
----------
ID: configure_default_wsdd
Function: file.managed
Name: /etc/default/wsdd
Result: True
Comment: File /etc/default/wsdd is in the correct state
Started: 21:42:37.596192
Duration: 5.537 ms
Changes:
----------
ID: divert_default_wsdd
Function: omv_dpkg.divert_add
Name: /etc/default/wsdd
Result: True
Comment: Leaving 'local diversion of /etc/default/wsdd to /etc/default/wsdd.distrib'
Started: 21:42:37.603249
Duration: 43.726 ms
Changes:
----------
ID: divert_samba_smb_config
Function: omv_dpkg.divert_add
Name: /etc/samba/smb.conf
Result: True
Comment: Leaving 'local diversion of /etc/samba/smb.conf to /etc/samba/smb.conf.distrib'
Started: 21:42:37.647842
Duration: 44.517 ms
Changes:
----------
ID: test_samba_service_config
Function: cmd.run
Name: samba-tool testparm --suppress-prompt
Result: True
Comment: Command "samba-tool testparm --suppress-prompt" run
Started: 21:42:37.697642
Duration: 445.984 ms
Changes:
----------
pid:
2588
retcode:
0
stderr:
You have some share names that are longer than 12 characters. These may not be accessible to some older clients. (Eg. Windows9x, WindowsMe, and not listed in smbclient in Samba 3.0.)
stdout:
# Global parameters
[global]
allow insecure wide links = Yes
disable netbios = Yes
disable spoolss = Yes
encrypt passwords = Yes
getwd cache = Yes
guest account = nobody
log file = /var/log/samba/log.%m
logging = syslog
log level = 2
max log size = 1000
min receivefile size = 16384
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passdb backend = tdbsam
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
printcap name = /dev/null
server string = %h server
socket options = TCP_NODELAY IPTOS_LOWDELAY
unix extensions = Yes
usershare path =
workgroup = WORKGROUP
fruit:aapl = yes
aio read size = 16384
aio write size = 16384
create mask = 0777
directory mask = 0777
follow symlinks = Yes
use sendfile = Yes
wide links = Yes
write cache size = 524288
[MY SHARED VOLUMES]
(...)
----------
ID: start_samba_service
Function: service.running
Name: smbd
Result: True
Comment: Service restarted
Started: 21:42:38.311905
Duration: 3680.499 ms
Changes:
----------
smbd:
True
----------
ID: start_samba_service_nmbd
Function: service.running
Name: nmbd
Result: False
Comment: Failed to start nmbd.service: Unit nmbd.service is masked.
Started: 21:42:42.161642
Duration: 166.005 ms
Changes:
----------
ID: start_wsdd_service
Function: service.running
Name: wsdd
Result: True
Comment: Service wsdd is already enabled, and is running
Started: 21:42:42.328786
Duration: 318.902 ms
Changes:
----------
wsdd:
True
Summary for raspberrypi
-------------
Succeeded: 10 (changed=6)
Failed: 1
-------------
Total states run: 11
Total run time: 5.499 s in /usr/share/php/openmediavault/system/process.inc:196
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus7H...', '/tmp/bgoutput3U...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Alles anzeigen
Any help is much appreciated!
Thank you.