Errore #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': /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): debian: ---------- ID: configure_samba_global Function: file.managed Name: /etc/samba/smb.conf Result: True Comment: File /etc/samba/smb.conf updated Started: 18:27:14.214537 Duration: 55.695 ms Changes: ---------- diff: --- +++ @@ -36,26 +36,3 @@ multicast dns register = no # Special configuration for Apple's Time Machine fruit:aapl = yes -#======================= Share Definitions ======================= -[NAS] -path = /srv/dev-disk-by-label-NAS/NAS/ -guest ok = yes -guest only = no -read only = no -browseable = yes -inherit acls = yes -inherit permissions = no -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 = "anna" - ---------- ID: configure_samba_shares Function: file.append Name: /etc/samba/smb.conf Result: True Comment: Appended 23 lines Started: 18:27:14.270370 Duration: 75.028 ms Changes: ---------- diff: --- +++ @@ -36,3 +36,26 @@ multicast dns register = no # Special configuration for Apple's Time Machine fruit:aapl = yes +#======================= Share Definitions ======================= +[NAS] +path = /srv/dev-disk-by-label-NAS/NAS/ +guest ok = yes +guest only = no +read only = no +browseable = yes +inherit acls = yes +inherit permissions = no +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 = "anna" + ---------- 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: 18:27:14.345547 Duration: 1.83 ms Changes: ---------- ID: remove_samba_recyclebin_cron_scripts Function: module.run Result: True Comment: file.find: [] Started: 18:27:14.349716 Duration: 0.944 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: 18:27:14.350937 Duration: 1.746 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: 18:27:14.353411 Duration: 137.184 ms Changes: ---------- pid: 8810 retcode: 255 stderr: netbios name GTOPENMEDIAVAULT 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 = WORKGROUP fruit:aapl = yes aio read size = 16384 aio write size = 16384 create mask = 0777 directory mask = 0777 use sendfile = Yes [NAS] 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 path = /srv/dev-disk-by-label-NAS/NAS/ read only = No store dos attributes = No write list = anna ---------- 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: 18:27:14.507931 Duration: 0.009 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: 18:27:14.508357 Duration: 0.005 ms Changes: ---------- ID: start_wsdd_service Function: service.running Name: wsdd Result: True Comment: Service wsdd has been enabled, and is running Started: 18:27:14.508431 Duration: 569.992 ms Changes: ---------- wsdd: True Summary for debian ------------ Succeeded: 6 (changed=5) Failed: 3 ------------ Total states run: 9 Total run time: 842.433 ms 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/bgstatusqw...', '/tmp/bgoutputAO...') #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}