Error #0: 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 samba 2>&1' with exit code '1': debian: ---------- ID: configure_samba_global Function: file.managed Name: /etc/samba/smb.conf Result: True Comment: File /etc/samba/smb.conf updated Started: 02:41:36.161884 Duration: 70.483 ms Changes: ---------- diff: --- +++ @@ -36,50 +36,3 @@ multicast dns register = no # Special configuration for Apple's Time Machine fruit:aapl = yes -#======================= Share Definitions ======================= -[BuckeyeHome] -path = /srv/dev-disk-by-label-BuckeyeHome/BuckeyeHome/ -guest ok = yes -guest only = no -read only = no -browseable = yes -inherit acls = yes -inherit permissions = yes -ea support = no -store dos attributes = no -vfs objects = -printable = no -create mask = 0664 -force create mode = 0664 -directory mask = 0775 -force directory mode = 0775 -hide special files = yes -follow symlinks = yes -hide dot files = yes -read list = -write list = - -[LucasFolder] -path = /srv/dev-disk-by-label-BuckeyeHome/LucasFolder/ -guest ok = no -guest only = no -read only = no -browseable = yes -inherit acls = yes -inherit permissions = yes -ea support = no -store dos attributes = no -vfs objects = -printable = no -create mask = 0664 -force create mode = 0664 -directory mask = 0775 -force directory mode = 0775 -hide special files = yes -follow symlinks = yes -hide dot files = yes -valid users = -invalid users = -read list = -write list = - ---------- ID: configure_samba_shares Function: file.append Name: /etc/samba/smb.conf Result: True Comment: Appended 47 lines Started: 02:41:36.232508 Duration: 132.389 ms Changes: ---------- diff: --- +++ @@ -36,3 +36,50 @@ multicast dns register = no # Special configuration for Apple's Time Machine fruit:aapl = yes +#======================= Share Definitions ======================= +[BuckeyeHome] +path = /srv/dev-disk-by-label-BuckeyeHome/BuckeyeHome/ +guest ok = yes +guest only = no +read only = no +browseable = yes +inherit acls = yes +inherit permissions = yes +ea support = no +store dos attributes = no +vfs objects = +printable = no +create mask = 0664 +force create mode = 0664 +directory mask = 0775 +force directory mode = 0775 +hide special files = yes +follow symlinks = yes +hide dot files = yes +read list = +write list = + +[LucasFolder] +path = /srv/dev-disk-by-label-BuckeyeHome/LucasFolder/ +guest ok = no +guest only = no +read only = no +browseable = yes +inherit acls = yes +inherit permissions = yes +ea support = no +store dos attributes = no +vfs objects = +printable = no +create mask = 0664 +force create mode = 0664 +directory mask = 0775 +force directory mode = 0775 +hide special files = yes +follow symlinks = yes +hide dot files = yes +valid users = +invalid users = +read list = +write list = + ---------- 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: 02:41:36.365041 Duration: 1.729 ms Changes: ---------- ID: remove_samba_recyclebin_cron_scripts Function: module.run Result: True Comment: file.find: [] Started: 02:41:36.367425 Duration: 0.798 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: 02:41:36.368335 Duration: 1.679 ms Changes: ---------- ID: test_samba_service_config Function: cmd.run Name: samba-tool testparm --suppress-prompt Result: False Comment: Command "samba-tool testparm --suppress-prompt" run Started: 02:41:36.370711 Duration: 109.141 ms Changes: ---------- pid: 4897 retcode: 255 stderr: netbios name BUCKEYEHOMESERVER is not a valid netbios name ERROR: Invalid smb.conf stdout: # Global parameters [global] disable spoolss = Yes encrypt passwords = Yes guest account = nobody log file = /var/log/samba/log.%m logging = syslog log level = 0 map to guest = Bad User max log size = 1000 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 workgroup = BUCKEYE HOME fruit:aapl = yes aio read size = 16384 aio write size = 16384 create mask = 0777 directory mask = 0777 use sendfile = Yes [BuckeyeHome] create mask = 0664 directory mask = 0775 ea support = No force create mode = 0664 force directory mode = 0775 guest ok = Yes hide special files = Yes inherit acls = Yes inherit permissions = Yes path = /srv/dev-disk-by-label-BuckeyeHome/BuckeyeHome/ read only = No store dos attributes = No [LucasFolder] create mask = 0664 directory mask = 0775 ea support = No force create mode = 0664 force directory mode = 0775 hide special files = Yes inherit acls = Yes inherit permissions = Yes path = /srv/dev-disk-by-label-BuckeyeHome/LucasFolder/ read only = No store dos attributes = No ---------- ID: start_samba_service Function: service.running Name: smbd Result: False Comment: One or more requisite failed: omv.deploy.samba.default.test_samba_service_config Started: 02:41:36.491129 Duration: 0.008 ms Changes: ---------- ID: start_samba_service_nmbd Function: service.running Name: nmbd Result: False Comment: One or more requisite failed: omv.deploy.samba.default.start_samba_service Started: 02:41:36.491565 Duration: 0.003 ms Changes: ---------- ID: start_wsdd_service Function: service.running Name: wsdd Result: True Comment: The service wsdd is already running Started: 02:41:36.491625 Duration: 45.529 ms Changes: Summary for debian ------------ Succeeded: 6 (changed=4) Failed: 3 ------------ Total states run: 9 Total run time: 361.759 ms/usr/lib/python3/dist-packages/salt/utils/jinja.py:503: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if isinstance(values, collections.Hashable): in /usr/share/php/openmediavault/system/process.inc:182 Stack trace: #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): 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/bgstatusSG...', '/tmp/bgoutputx2...') #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}