Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The “syslog” option is deprecated
Processing section “[homes]”
Processing section “[printers]”
Processing section “[print$]”
Processing section “[openHAB-share]”
Processing section “[openHAB-conf]”
Processing section “[OpenHAB Config]”
WARNING: No path in service OpenHAB Config - making it unavailable!
NOTE: Service OpenHAB Config is flagged unavailable.
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
Can you be a little more specific? I have run through the set up on the instruction webpage as well has tried a few permission commands that I found on the forums.
I even tried a fresh setup from the config tool.
At this point I can’t remember how I bricked the last one. I edited a file and that caused a crash. I did a fresh install from download onto the formatted SD card.
Openhabian Image install? If so, you shouldn’t have issues with permissions. Did you have a backup that you tried to reinstall on the fresh install?
In the error messages above use ls -al on the location and post the output.
Example
ls -al /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.items.Item.json
EDIT: Checking my server the files giving the error are owned my openhab so you can use sudo chown openhab:openhabian /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.items.Item.json to change owners if needed. Permissions are -rw-rw-r-- and you can use chmod to change if needed.
Did you stop OH from running, place the backup in /var/lib/openha2/backups and use openhab-cli restore /var/lib/openhab2/backups then start OH running?