Domoticz cannot save the scripts.
I get the following error in domotic logs when I want to save a script :
2021-02-07 00:05:41.023 Error: EventSystem: problem writing file: /mnt/dietpi_userdata/domoticz/scripts/dzVents/generated_scripts/Script #1.lua
My version is: DietPi v6.34.3 : 00:03 - Sun 02/07/21
I have only installed domoticz in dieptpi
ok I had a closer look regarding the missing templates. It seems the templates are expected on userdata_path directory and this is specified as /mnt/dietpi_userdata/domoticz.
This as well explains why you where not able to store the script at the beginning. It’s quite simple to fix
did you faced the JSON issue again? I have seen it once on my test system but I did not find out what the trigger was. It is probably related to Perl. Maybe it is required, but not installed in DietPi by default.