-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Domoticz 2020.2-10 package does not contain dzVents runtime files #4728
Comments
By design of domoticz there is none of the scripts installed by default. The scripts folder with the provided example scripts is installed with the package to As documented in the related readme.txt you have to copy the scripts you want by yourself:
dzVents has a dedicated script folder at
Maybe there is a misconfiguration in the package, but the dzVents scripts should be expected in |
Final analysis: @sjirkboon can you try the following to fix this?
|
thanks for your help. I did make the suggestion change, restarted domoticz, and recreated the lua script in the events page, but I still receive the same error message: 2021-07-10 17:42:28.149 Status: EventSystem: reset all events... also trying to find this dzVents.lua file somewhere in the directory tree, not succesfull... |
@sjirkboon I got it, working... |
It is not wise to use the PKGDEST instead of PKGVAR. |
The folder specified with |
As I said, this data will be destroyed when the package get updated. If it is not possible to use SYNOPKG_PKGVAR then in the pre-ugrade phase that data must be saved to SYNOPKG_TEMP_UPGRADE_FOLDER and restored in the post upgrade phase. |
so I understand this has been fixed by #4730 now. As I don't have a build environment myself, is there any expectation for when the binary files will be released, or is there different way to get the content of the bin/dzVents/ directory for my architecture : Marvell / DS214SE ? or are these .lua files independent of architecture ? many thanks in advance ... |
@sjirkboon you can download the packages built by github for #4730 as Artifacts (packages.zip). You have to extract the spk files from packages.zip and manually install the correct arch and DSM version for your diskstation. Currently the dzVents runtime is included, but the migration of the userdata is not solved yet and will need some changes in #4730. |
thanks. I did download the packages.zip, and used the armv7 architecture for my Armada 370 , that seems to work fine, and also since .lua files are just text files... |
Setup
Package Name: Domoticz
Package Version: 2020.2-10
NAS Model: DS214se
NAS Architecture: Marvell
DSM version: 6.2.4
Expected behavior
The possibility to run dzVents scripts
Actual behavior
an error occurs:
Error: EventSystem: in /volume1/@appstore/domoticz/bin/dzVents/runtime/dzVents.lua: cannot open /volume1/@appstore/domoticz/bin/dzVents/runtime/dzVents.lua: No such file or directory
when logging in via ssh , the /volume1/@appstore/domoticz/bin/dzVents directory is indeed empty
Steps to reproduce
run dzVents script
check logfile
check directory /volume1/@appstore/domoticz/bin/dzVents : empty
The text was updated successfully, but these errors were encountered: