Page 1 of 1

Moved to Docker now Pushover and Custom tab wont work

Posted: Tuesday 13 April 2021 15:47
by Huntback
Hey,
I have the following problem:
On a Synology DS918 + I have a Jadhal Domoticz 2020.1 package which runs smoothly.
In that Jadhal Domoticz 2020.1 package, Pushover has been set as a notification, which works without problems.
There is also a Custom tab in which a test web page is active.

On the same Synology, Docker is also active with mqtt, among others
In that Docker I now have a domoticz / domoticz: latest 2020.2 container installed.
I have performed an import of the Jadhal Domoticz 2020.1 database.

The Jadhal Domoticz 2020.1 package has been stopped and the Docker Domoticz 2020.2 container has started.
Now everything works except for 2 items, namely:
- Pushover does not work, gives message: Error: Pushover: Could not send message!
- Custom tab with the test web page is not present

Configs:
Domoticz Docker:
Version: 2020.2 (build 13149)
Build Hash: ebdadc29c
Compile Date: 2021-04-07 09:39:58
dzVents Version: 3.1.7
Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]

Domoticz Jadhal:
Version: 2020.1
Build Hash: 0
Compile Date: 1970-01-01 01:00:00
dzVents Version: 3.0.1
Python Version: 3.8.6 (default, Jan 4 2021, 16:11:49) [GCC 4.9.3 20150311 (prerelease)]

Domoticz: RFXComm, P1 smart meter usb, mqtt, Logitech Harmony Hub, Honeywell Thermostaat, Open Weather map, ewpe smart airco, kaku, Impuls, TFA sensors, Oregon Scientific sensors, etc.

Are those 2 problems possibly caused by version 2020.2 or because they are Docker environments or by ???
Please have some help with troubleshooting.

Re: Moved to Docker now Pushover and Custom tab wont work

Posted: Thursday 15 April 2021 15:09
by Huntback
I solved the problem with the Custom tab.
- Domoticz Container stopped.
- In the container config I have attached an extra path to an external folder.
Folder: docker / domoticz / templates
Path: / opt / domoticz / www / templates
- I placed my custom.html file in the external templates folder.
- Container started again, in the Domoticz webpage the custom tab with the custom.html page is now visible.

Now solve the Pushover problem.

Re: Moved to Docker now Pushover and Custom tab wont work

Posted: Thursday 15 April 2021 16:44
by Huntback
I also fixed the Pushover problem.
Although Python scripts seemed to work (plugins worked and gave no errors) I still performed the Python installation as indicated by 'Stormryder'.

- Go to 'Details' of the Docker container of Domoticz
- Tab 'Terminal' -> Make and click the 'Bash' tab
- Run the following commands (after each command, press enter):
- apt install python (press Y when asked Yes or No and press enter)
- apt install python-requests (press Y when asked Yes or No and press enter)

After this i restarted the Container and Notifications were again sent via Pushover.