-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
History Adapter - NAS Drive smb 3.1.1 #77
Comments
is the iobroker user allowed to write and read there? |
I am not an expert, but my understanding is that with privileges 0777 everyone is allowed to read and write. |
Sollte, ja. Gibt es in /var/log/syslog weitere Infos? |
Folgende Infos sind in der syslog zum Zeitpunkt der Schreibversuche: Aug 7 10:40:33 raspi04 kernel: [27619.393220] cifs_all_info_to_fattr: 15 callbacks suppressed Related iobroker log: 2020-08-07 10:40:33.599 - error: history.0 (20740) Cannot read file /media/Luftiger_iobroker_Data/History/20200807/history.fritzdect.0.Comet_119610836272.temp.json: Error: UNKNOWN: unknown error, open '/media/Luftiger_iobroker_Data/History/20200807/history.fritzdect.0.Comet_119610836272.temp.json' |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions. |
In the past I mounted my network drive via smb1. This worked perfectly and I could write all the history data to the mapped drive.
I changed to smb 3.1.1
I can reach the mapped drive via ssh and for example backup Adapter can write on NAS.
History adapter will not write on NAS. It creates the folder of the day and creates only ZERO byte files. The error log states read/write errors.
Any idea? Is history able to read/write from mounted smb 3 drives?
Mounting via fstab:
//192.168.1.1/Luftiger-SG/4TB_HDD_SG/Smarthome/iobroker/Data /media/Luftiger_iobroker_Data cifs credentials=/home/pi/.smbcredentials,vers=3.1.1,uid=1000,gid=1000,rw,dir_mode=0777,file_mode=0777,x-systemd.automount,x-systemd.requires=network-online.target 0 0
The text was updated successfully, but these errors were encountered: