dzVents error 3.1.8

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

dzVents error 3.1.8

Post by BartSr »

Hi,
After I started up my systems I got next error which never occured before. Any Idea how to deal with?
By the way: is there somewhere an overview explaining the error messages?
Thanks
-Bart

Code: Select all

2023-03-09 14:20:00.491 Error: dzVents: Error: (3.1.8) Afzonderlijke Meterstanden 1.10: There was a problem writing the storage values
2023-03-09 14:20:00.491 Error: dzVents: Error: (3.1.8) Afzonderlijke Meterstanden 1.10: /home/pi/domoticz/dzVents/runtime/persistence.lua:24: /home/pi/domoticz/scripts/dzVents/data/__data_Afzonderlijke meterstanden.lua: Permission denied
and another one

Code: Select all

2023-03-09 14:20:00.507 Error: dzVents: Error: (3.1.8) keukenradiator: There was a problem writing the storage values
2023-03-09 14:20:00.507 Error: dzVents: Error: (3.1.8) keukenradiator: /home/pi/domoticz/dzVents/runtime/persistence.lua:24: /home/pi/domoticz/scripts/dzVents/data/__data_global_data.lua: Permission denied
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
RonkA
Posts: 100
Joined: Tuesday 14 June 2022 12:57
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Harlingen
Contact:

Re: dzVents error 3.1.8

Post by RonkA »

Maybe it could be a disk space issue?
SolarEdge ModbusTCP - Kaku - Synology NAS - Watermeter - ESPEasy - DS18b20
Work in progress = Life in general..
willemd
Posts: 631
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: dzVents error 3.1.8

Post by willemd »

My guess is that the folder for the persistent variables is somehow not accessible.
Check the folder $HOME/domoticz/scripts/dzVents/data

Check this page
https://www.domoticz.com/wiki/DzVents:_ ... stent_data
and then scroll down to "how does the storage stuff work"
User avatar
waltervl
Posts: 5737
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: dzVents error 3.1.8

Post by waltervl »

Are you using docker? As that also needs sometimes special considerations on folders.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
philips
Posts: 12
Joined: Friday 07 February 2020 15:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Poland
Contact:

Re: dzVents error 3.1.8

Post by philips »

waltervl wrote: Thursday 09 March 2023 15:34 Are you using docker? As that also needs sometimes special considerations on folders.
I'm getting the same error and I'm using docker version (installed the way from here: https://github.com/domoticz/domoticz-docker)
In docker there where no /opt/domoticz/dzVents/rest_of_the_files_and_folder / where also there should be the missing persistance.lua.
I created those by hand, as well as the missing /opt/domoticz/userdata/scripts/dzVents/data/__nameofthescript.lua but the error still pops up.

How to fix this ?

I suppose there are missing paths in the docker-compose.yml file to get the dzVents storage function to work, yes ?
Mine looks like this:

Code: Select all

version: '3.3'

services:
  domoticz:
    image: domoticz/domoticz:stable
    container_name: domoticz
    restart: unless-stopped
    # Pass devices to container
    # devices:
    #   - "/dev/serial/by-id/usb-0658_0200-if00-port0:/dev/ttyACM0"
    ports:
      - "8080:8080"
    volumes:
      - ./config:/opt/domoticz/userdata
    environment:
      - TZ=Europe/Warsaw
      #- LOG_PATH=/opt/domoticz/userdata/domoticz.log
Attachments
Screenshot_1.jpg
Screenshot_1.jpg (66.69 KiB) Viewed 767 times
Raspberry Pi 4 2GB
User avatar
waltervl
Posts: 5737
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: dzVents error 3.1.8

Post by waltervl »

For docker it is important to set user access correctly.
Add the current user (eg Pi) to the docker group with

Code: Select all

sudo usermod -aG docker ${USER}
https://www.domoticz.com/wiki/Docker#In ... nux_system
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: assp22 and 1 guest