I have a working windows version but am trying to change over to linux. I have used the same settings from windows in the linux verion but meteotemplate api is not updaing meteotemplatelive.txt…
The terminal window does not show any errors and things appear fine according to the terminal window.
Does anyone have any idea what could cause this?
It appears that the api is not getting called on the website.
Does anyone else have this issue?
I went back to the windows version until I get this figured out.
it’s strange that no one else has this issue. Windows version with same settings is working fine
what shows in a terminal window when you run the cronhttpget
try putting that data that is sent to be sent
in a url in a browser on your linux pc and see what shows in return
and so did MT update?
the more information you can provide the better
when I enter the data string into the browser, the apiLog.txt file and cache file gets updated, but nothing else.
see if you can spot anything wrong
(e.g compare with the data sent from the windows version (in the senthttpget.txt file)
Where is the file located? I can’t seem to find it
on the windows version?
it should be where WD is installed
note its called sentcustomhttpget.txt
but you should have at least seen that file and joined the dots
That file starts with a blank line then 2 lines with “OK” then the data string
OK
OK
http://wxcalgary.com/meteotemplate/api.php?
U=1520796268&T=4.3&TMX=4.3&TMN=4.3&TIN=27.8&HIN=15&H=42&P=1032.1&W=0.8&G=0.0&
B=44&R=0.0&RR=0.000&BATT=4.7&PASS=3454&SW=WD&T2=255.0&SD=1.00&LW1=0&LW2=0&L
W3=0&LW4=0
yes
and so
how does the data compare ?
I do not see this file in the linux version
pass var is in a different place. (compared to mtdata.txt)
mtdata.txt (218 Bytes)
I don’t think that will matter
you might need to get help from Jachym
and show him the 2 different outputs
(i.e from the output from the console in the linux version or that file in the windows version)
One thing I did find.
in mtdata.txt (linux)
LW3= 0&LW4= 0 (space after “=”)
in windows
LW3=0&LW4=0 (no space)
its possible an issue (its just the leaf wetness data)
you could try editing that when you post the data as url in a browser window and see if it updates
also check the date number looks correct (you need to make sure that you have the sun moon lat/long and time zone set correct in the linux version)