Error: EventSystem: problem writing file:
Moderator: leecollings
-
- Posts: 10
- Joined: Saturday 26 February 2022 20:42
- Target OS: Windows
- Domoticz version:
- Contact:
Error: EventSystem: problem writing file:
Hello everyone, I am having problem when trying to save to dzVents code, the log page says Error: EventSystem: problem writing file:. I read online that this problem comes when you dont have the generated_scripts directory, the problem is that I do have that folder. I tried to erasing it and making it again and still nothing. Does someone Know how to fix my problem?
exact error message: EventSystem: problem writing file: C:\Program Files (x86)\Domoticz\scripts\dzVents\generated_scripts\Script #1.lua
exact error message: EventSystem: problem writing file: C:\Program Files (x86)\Domoticz\scripts\dzVents\generated_scripts\Script #1.lua
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Error: EventSystem: problem writing file:
Is Domoticz running with Elevated rights so it is allowed to write something in the directory?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 10
- Joined: Saturday 26 February 2022 20:42
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Error: EventSystem: problem writing file:
It should, how can I be sure?
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Error: EventSystem: problem writing file:
Are you running Domoticz in a Docker?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 10
- Joined: Saturday 26 February 2022 20:42
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Error: EventSystem: problem writing file:
No, just Domoticz.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Error: EventSystem: problem writing file:
Ah, I see now you asked 2 similar questions now. This is a little bit confusing....
viewtopic.php?f=59&t=38132
Please let's keep it in this topic.
viewtopic.php?f=59&t=38132
Please let's keep it in this topic.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 10
- Joined: Saturday 26 February 2022 20:42
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Error: EventSystem: problem writing file:
Yes, I am sorry. At first I thought that dzVent was not working but then I found out that files were not even saving.
-
- Posts: 6
- Joined: Wednesday 18 October 2017 16:52
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Error: EventSystem: problem writing file:
In Windows you can run the application as administrator. That solved the problem in Windows, but how to do the same in Synology 7.1 ?
So, its a matter of privileges. I know how to log in as root, but i don't know how and where to set privileges to domoticz.
So, its a matter of privileges. I know how to log in as root, but i don't know how and where to set privileges to domoticz.
-
- Posts: 6
- Joined: Wednesday 18 October 2017 16:52
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Error: EventSystem: problem writing file:
in windows setting the permissions to full control of the directory generated_scripts works for me.
go to C:\Program Files (x86)\Domoticz\scripts\dzVents
right click on generated_scripts
choose properties
choose security
click on edit
choose users
check full control
In windows I can solve the problem, but I have the same problem with domoticz on Synology .
can't write to /volume1/@appdata/domoticz/scripts/dzVents/generated_scripts/
setting permission chmod 777 generated_scripts doesn't work.
Do the same with directory data
go to C:\Program Files (x86)\Domoticz\scripts\dzVents
right click on generated_scripts
choose properties
choose security
click on edit
choose users
check full control
In windows I can solve the problem, but I have the same problem with domoticz on Synology .
can't write to /volume1/@appdata/domoticz/scripts/dzVents/generated_scripts/
setting permission chmod 777 generated_scripts doesn't work.
Do the same with directory data
-
- Posts: 12
- Joined: Monday 30 November 2015 17:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Error: EventSystem: problem writing file:
I have a similar problem. Since two weeks I am running Domoticz in Qnap Container Station.
I get the following error:
Error: EventSystem: problem writing file: /opt/domoticz/userdata/scripts/dzVents/generated_scripts/Hue syncen met Domoticz.lua
Any idea how I should solve this?
Also, I am struggling with the Docker term “Entrypoint”. While installing the container I leave the Entrypoint field empty as I don’t know what to fill in. Despite this, Domoticz runs fine on my Qnap NAS. Should I specify an Entrypoint?
Could the error be related to the fact that I didn’t specify an Entrypoint?
I get the following error:
Error: EventSystem: problem writing file: /opt/domoticz/userdata/scripts/dzVents/generated_scripts/Hue syncen met Domoticz.lua
Any idea how I should solve this?
Also, I am struggling with the Docker term “Entrypoint”. While installing the container I leave the Entrypoint field empty as I don’t know what to fill in. Despite this, Domoticz runs fine on my Qnap NAS. Should I specify an Entrypoint?
Could the error be related to the fact that I didn’t specify an Entrypoint?
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Error: EventSystem: problem writing file:
Qnap entrypoint is possibly volume mount path as described in https://hub.docker.com/r/domoticz/domoticz ?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 12
- Joined: Monday 30 November 2015 17:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Error: EventSystem: problem writing file:
The only line I see in this article which mentions a mount point is this one: /etc/localtime
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Error: EventSystem: problem writing file:
I meant this line
-v <path for config files>:/opt/domoticz/userdata
<path for config files> has to be replaced to a path on your Qnap disk.
Perhaps also check the synology docker installation and find the synonyms for Qnap terms https://www.domoticz.com/wiki/Synology
-v <path for config files>:/opt/domoticz/userdata
<path for config files> has to be replaced to a path on your Qnap disk.
Perhaps also check the synology docker installation and find the synonyms for Qnap terms https://www.domoticz.com/wiki/Synology
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- frank666
- Posts: 17
- Joined: Monday 07 December 2020 10:11
- Target OS: Linux
- Domoticz version: 2024.7
- Location: San Marino
Re: Error: EventSystem: problem writing file:
- I had this problem in docker when I upgraded to version 2023.1.
- The old version of domoticz saved the scripts in /opt/domoticz/userdata/_data..... the new version in /opt/domoticz/userdata .
- So in the volume we are going to retrieve or create , we have to recreate or copy the /scripts folder with all the subdirectories.
Domoticz running on Docker,Orange Pi Zero Plus
Who is online
Users browsing this forum: No registered users and 1 guest