OH3 openhabian 3.1.0 on pi4
I try to do according to this guide:
Automate backups and upload them to Google Drive - Tutorials & Examples - openHAB Community
And I encounter the following error:
[ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'backup-1' failed: An error occurred during the script execution: array element type mismatch in backup
If I run through the terminal
./backup.sh then the script works great.
- In the script and in the rule I changed the patch from openhab2 to the correct location
- In exec.whitelist I entered
- In /etc/sudoers I inserted
Cmnd_Alias BACKUP = /usr/bin/ openhab-cli backup, /usr/bin/rclone openhabian ALL = (ALL) NOPASSWD: BACKUP
what could be the problem?