Closed eikowagenknecht closed 3 years ago
I edited /etc/fstab to
/usr/share/openhab /srv/openhab-sys none bind 0 0
/etc/openhab /srv/openhab-conf none bind 0 0
/var/lib/openhab /srv/openhab-userdata none bind 0 0
/var/log/openhab /srv/openhab-logs none bind 0 0
/usr/share/openhab/addons /srv/openhab-addons none bind 0 0
and /etc/samba/smb.conf to
#=================== Custom Share Definitions ====================
[openHAB-share]
comment=openHAB combined folders
path=/srv
writeable=yes
public=no
create mask=0664
directory mask=0775
veto files = /Thumbs.db/.DS_Store/._.DS_Store/.apdisk/._*/
delete veto files = yes
[openHAB-conf]
comment=openHAB site configuration
path=/etc/openhab
writeable=yes
public=no
create mask=0664
directory mask=0775
veto files = /Thumbs.db/.DS_Store/._.DS_Store/.apdisk/._*/
delete veto files = yes
and that mostly fixed it (still have duplicate entries in smb view, probably need to remove some folders under /srv)
After almost finishing the installation, I get an error message. Debug log:
Samba mounts don't work until a system restart and then still link to the old directories.
Pathes after the update:
How to fix this manually?