Hello OMV experts,
as a newbee I installed Raspian Buster and OMV 5 on a RASpi 4. Following the documentation, I managed to create a file system, users, a user group and shared folders with the appropriate permissions (at least, I think so ). But when I try to activate SMB/CIFS I get the following error message after approx. 5 minutes:
Code
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: 08:50:00.859478 Duration: 187.957 ms Changes: ---------- diff: --- +++ @@ -39,52 +39,3 @@ min receivefile size = 16384 getwd cache = yes write cache size = 524288 -#======================= Share Definitions ======================= -[Dokumente] -path = /srv/dev-disk-by-uuid-eba46336-630f-4a3c-9db7-c106e006fd41/Dokumente/ -guest ok = no -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 -valid users = @"Blumes" -invalid users = -read list = -write list = @"Blumes" - -[Fotos] -path = /srv/dev-disk-by-uuid-eba46336-630f-4a3c-9db7-c106e006fd41/Fotos/ -guest ok = no -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 -valid users = @"Blumes" -invalid users = -read list = -write list = @"Blumes" - ---------- ID: configure_samba_shares Function: file.append Name: /etc/samba/smb.conf Result: True Comment: Appended 49 lines Started: 08:50:01.047836 Duration: 324.807 ms Changes: ---------- diff: --- +++ @@ -39,3 +39,52 @@ min receivefile size = 16384 getwd cache = yes write cache size = 524288 +#======================= Share Definitions ======================= +[Dokumente] +path = /srv/dev-disk-by-uuid-eba46336-630f-4a3c-9db7-c106e006fd41/Dokumente/ +guest ok = no +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 +valid users = @"Blumes" +invalid users = +read list = +write list = @"Blumes" + +[Fotos] +path = /srv/dev-disk-by-uuid-eba46336-630f-4a3c-9db7-c106e006fd41/Fotos/ +guest ok = no +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 +valid users = @"Blumes" +invalid users = +read list = +write list = @"Blumes" + ---------- 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: 08:50:01.373064 Duration: 6.457 ms Changes: ---------- ID: remove_samba_recyclebin_cron_scripts Function: module.run Result: True Comment: file.find: [] Started: 08:50:01.381788 Duration: 3.783 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: 08:50:01.385954 Duration: 6.033 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: 08:50:01.393891 Duration: 44.694 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: 08:50:01.439422 Duration: 43.361 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: 08:50:01.487991 Duration: 212.878 ms Changes: ---------- pid: 17796 retcode: 0 stderr: stdout: # Global parameters [global] disable spoolss = Yes encrypt passwords = Yes getwd cache = Yes guest account = nobody log file = /var/log/samba/log.%m logging = syslog log level = 0 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 workgroup = WORKGROUP fruit:aapl = yes aio read size = 16384 aio write size = 16384 create mask = 0777 directory mask = 0777 use sendfile = Yes write cache size = 524288 [Dokumente] create mask = 0664 directory mask = 0775 ea support = No force create mode = 0664 force directory mode = 0775 hide special files = Yes inherit acls = Yes path = /srv/dev-disk-by-uuid-eba46336-630f-4a3c-9db7-c106e006fd41/Dokumente/ read only = No store dos attributes = No valid users = @Blumes write list = @Blumes [Fotos] create mask = 0664 directory mask = 0775 ea support = No force create mode = 0664 force directory mode = 0775 hide special files = Yes inherit acls = Yes path = /srv/dev-disk-by-uuid-eba46336-630f-4a3c-9db7-c106e006fd41/Fotos/ read only = No store dos attributes = No valid users = @Blumes write list = @Blumes ---------- ID: start_samba_service Function: service.running Name: smbd Result: True Comment: Service smbd has been enabled, and is running Started: 08:50:01.757238 Duration: 2503.227 ms Changes: ---------- smbd: True ---------- ID: start_samba_service_nmbd Function: service.running Name: nmbd Result: False Comment: Job for nmbd.service failed because a timeout was exceeded. See "systemctl status nmbd.service" and "journalctl -xe" for details. Started: 08:51:34.483292 Duration: 90249.196 ms Changes: ---------- ID: start_wsdd_service Function: service.running Name: wsdd Result: True Comment: Service wsdd has been enabled, and is running Started: 08:53:04.733657 Duration: 1081.862 ms Changes: ---------- wsdd: True Summary for raspberrypi ------------- Succeeded: 10 (changed=6) Failed: 1 ------------- Total states run: 11 Total run time: 94.664 s
Strange thing is that SMB seems to work afterwards. At least I can access the shared folders from my Mac and I can copy files, create folders, etc. But I cannot use OMV anymore as the process of activating SMB cannot be finished.
What did I do wrong?
In this forum I found the solution to similar problems to clear the browser cache. But that didn't help for me.
Thank you and greetings
Peter