Page 34 of 48
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 15 July 2020 20:39
by HansieNL
@NilsNijenhuis Did test again. Dashticz on Nginx webserver +PHP on Raspberry Pi works ok. WebStation +PHP on Syno NAS -> Geen gegevens gevonden?
Maybe with the extra info of @mojojojo490 someone knows what can be the problem and hopefully has a solution.
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 15 July 2020 21:18
by NilsNijenhuis
@mojojojo490
if i use your code for the garbage collector i get no result...
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 15 July 2020 21:23
by NilsNijenhuis
@hansienl
can it be a difference in php between raspberry pi and synology?
what version of php do you use on the raspberry
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 15 July 2020 22:49
by HansieNL
NilsNijenhuis wrote: ↑Wednesday 15 July 2020 21:23
@hansienl
can it be a difference in php between raspberry pi and synology?
what version of php do you use on the raspberry
Version on Raspberry Pi is 7.3.19-1. Mijn AfvalWijzer calendar is correct on both RPi and NAS.
Re: Dashticz - Module - Garbage collector
Posted: Thursday 16 July 2020 10:39
by mojojojo490
@NilsNijenhuis what do you see when you follow the link:
Code: Select all
https://afvalkalender.circulus-berkel.nl/adres/7423GV:50
Re: Dashticz - Module - Garbage collector
Posted: Thursday 16 July 2020 20:20
by NilsNijenhuis
i see the picture below if i use the link on the laptop
Re: Dashticz - Module - Garbage collector
Posted: Thursday 16 July 2020 20:24
by NilsNijenhuis
my php version on my synology is 7.3.16-0006
strange that mijnafvalwijzer works on both your synology en raspberry and that Cirkuslus berkel doesn't work on your Synology nas…
does anyone else have the same problem? and has a solution
Re: Dashticz - Module - Garbage collector
Posted: Friday 24 July 2020 17:14
by NilsNijenhuis
is there nobody else who knows a solution for the circulusberkel garbage calender on a synology NAS?
Re: Dashticz - Module - Garbage collector
Posted: Monday 27 July 2020 19:34
by NilsNijenhuis
Gentlemen, I am a little further where things go wrong with getting the garbage query from Circulus-Berkel, the one below between the "" is a response from a friend of mine who tested it on his NAS.
"Put it on the NAS at my company and it doesn't work there either. At the bottom right you can see that things are going wrong with getGeneralData (eval). Dashticz has its own twisted jquery.min.js file. If they used If I had a standard, I could have tried a different version. Now I can't do anything with it. "
Is there someone here from the developers who put the 'jquery.min.js' together and could see what goes wrong on line 224: 4 ????
Re: Dashticz - Module - Garbage collector
Posted: Tuesday 28 July 2020 22:51
by NilsNijenhuis
beneath is some extra information after reading the error log on the synology NAS on my friends NAS.
the same problem occurs at my synology NAS. so the garbage collector (circulus-berkel) in combination with a synology nas doesn't work!!!
Can anyone tell me who the creator of this file is, and can he check what is going wrong....
------------------------------------------------------------------------------------------------------------------------
Hey Nils,
Had enabled error log on the NAS, so that more information is visible.
The following error message is given.
Warning: file_get_contents (): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /volume1/web/dashticz/vendor/dashticz/garbage/index.php on line 103
Call Stack:
0.0037 386960 1. {main} () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:0
0.0038 387192 2. file_get_contents () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:103
Warning: file_get_contents (
https://afvalkalender.circulus-berkel.n ... /7423gv-50): failed to open stream: No such file or directory in / volume1 / web / dashticz / vendor / dashticz / garbage / index .php on line 103
Call Stack:
0.0037 386960 1. {main} () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:0
0.0038 387192 2. file_get_contents () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:103
If the creators can make an adjustment in the script based on the above error, that would be nice.
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 29 July 2020 20:50
by NilsNijenhuis
We found the sollution for a working garbage collector for Circulus-Berkel on the Synology NAS
In de map dashticz:
/vendor/dashticz/garbage/index.php -> you need to maken a adjustment in de index.php file.
see the attachment to get it work!!!
Re: Dashticz - Module - Garbage collector
Posted: Saturday 01 August 2020 14:32
by Lokonli
NilsNijenhuis wrote: ↑Wednesday 29 July 2020 20:50
We found the sollution for a working garbage collector for Circulus-Berkel on the Synology NAS
In de map dashticz:
/vendor/dashticz/garbage/index.php -> you need to maken a adjustment in de index.php file.
see the attachment to get it work!!!
Great you found a solution!
It seems that the SSL checks that are used for the https connection are not handled correctly on a synology NAS.
Can you double check that you enabled the php openssl extension on your Synology?
(I couldn't see it in one of your previous posts
https://www.domoticz.com/forum/viewtopi ... 40#p252306.
Just want to be sure ...)
In your fix you disable the https address checking. It will not do too much harm, so I'll include your workaround in the next beta.
Again, thanks for finding this workaround!
Re: Dashticz - Module - Garbage collector
Posted: Saturday 01 August 2020 21:38
by HansieNL
@Lokonli I tested on a Syno NAS and found out it was not working (empty string). I tried with different php versions / webservers, all with same result.
Php openssl was enabled.
Re: Dashticz - Module - Garbage collector
Posted: Sunday 02 August 2020 11:30
by Lokonli
HansieNL wrote: ↑Saturday 01 August 2020 21:38
@Lokonli I tested on a Syno NAS and found out it was not working (empty string). I tried with different php versions / webservers, all with same result.
Php openssl was enabled.
ok, thanks for testing.
The garbage module uses the PHP function file_get_contents(). This function however also is used by the CORS proxy, no-cache, calendar module. Could you maybe test those modules on a Synology as well? (with a https address).
Probably they won't work neither,
or:
maybe there was only an issue with the Circulus-Berkel https certificate.
Re: Dashticz - Module - Garbage collector
Posted: Sunday 02 August 2020 15:30
by HansieNL
Calendar and garbage is working o.k. on my Syno NAS. For the calendars I used https addresses. The problem is only with Circules-Berkel for some reason.
Re: Dashticz - Module - Garbage collector
Posted: Sunday 02 August 2020 22:29
by Lokonli
The SSL certificate for circules-berkel.nl is issued by Sectigo. On Synology the Sectigo root certificate expired. I don't know how to update the root certificates on a Synology. If anyone knows how to do this please leave a message here.
Re: Dashticz - Module - Garbage collector
Posted: Monday 03 August 2020 22:20
by geertvercamer
ophaalkalender.be isn't working anymore. it redirects to recycleapp.be After that, it's not clear to me how to build the appropriate URL to get the info.
Re: Dashticz - Module - Garbage collector
Posted: Tuesday 04 August 2020 7:29
by madradrakie
Could it be that the data feed form Almere changed again? For GFT the module now publish zwart (black) instead of GFT with the current data.
Re: Dashticz - Module - Garbage collector
Posted: Tuesday 04 August 2020 7:58
by clinkadink
Lokonli wrote: ↑Sunday 02 August 2020 22:29
The SSL certificate for circules-berkel.nl is issued by Sectigo. On Synology the Sectigo root certificate expired. I don't know how to update the root certificates on a Synology. If anyone knows how to do this please leave a message here.
Does this help?
https://superuser.com/questions/1103219 ... n-synology
Re: Dashticz - Module - Garbage collector
Posted: Thursday 20 August 2020 21:56
by Lokonli
geertvercamer wrote: ↑Monday 03 August 2020 22:20
ophaalkalender.be isn't working anymore. it redirects to recycleapp.be After that, it's not clear to me how to build the appropriate URL to get the info.
Support for recycleapp has been added to latest beta.