Server migrated to new SS gauges no longer work

Post Reply
User avatar
BobW55
Forecaster
Forecaster
Posts: 114
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Server migrated to new SS gauges no longer work

Post by BobW55 » Tue Sep 21, 2021 1:15 pm

My hosting site just switched servers on me an now my SS gauges no longer work.
When I use the test function from the template Admin page everything has a green check box.

I know I am missing something stupid.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

User avatar
Daali
Advisor
Advisor
Posts: 56
Joined: Mon Jul 26, 2021 8:06 pm
Location: Georgia, US
Station model: Ecowitt GW1002
Software: Meteobridge, FOSHKplugin
Contact:

Re: Server migrated to new SS gauges no longer work

Post by Daali » Tue Sep 21, 2021 2:48 pm

is /template/homepage/blocks/ssGauges/ssGaugesBlock.php actually there? I see the Config.txt and index.php is, but get 404 trying to call it alone.
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Server migrated to new SS gauges no longer work

Post by davidefa » Tue Sep 21, 2021 4:52 pm

I see your site is 'offline' since 2021-09-18 07.55
Is cumulus updating correctly the new server?
Image

User avatar
Daali
Advisor
Advisor
Posts: 56
Joined: Mon Jul 26, 2021 8:06 pm
Location: Georgia, US
Station model: Ecowitt GW1002
Software: Meteobridge, FOSHKplugin
Contact:

Re: Server migrated to new SS gauges no longer work

Post by Daali » Tue Sep 21, 2021 6:38 pm

davidefa wrote: Tue Sep 21, 2021 4:52 pm I see your site is 'offline' since 2021-09-18 07.55
Is cumulus updating correctly the new server?
I can't find anything wrong really. I think it fails at the mysql portion of the php, which could be because the mysql data is too old or an issue with the migration.
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture

User avatar
BobW55
Forecaster
Forecaster
Posts: 114
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: Server migrated to new SS gauges no longer work

Post by BobW55 » Tue Sep 21, 2021 8:24 pm

Yes cumulus is updating.
snip1.JPG
snip1.JPG (58.82 KiB) Viewed 16134 times
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Server migrated to new SS gauges no longer work

Post by davidefa » Tue Sep 21, 2021 9:12 pm

You should have a cron job calling update/update.php, is it still active ( maybe it was deactivated during the server migration )?
The cache/apiLog.txt timestamp is 2021-09-18 08:00:42 ( your local time ) this means that api.php has not been called ( by update/update.php ) since then.
Image

User avatar
BobW55
Forecaster
Forecaster
Posts: 114
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: Server migrated to new SS gauges no longer work

Post by BobW55 » Tue Sep 21, 2021 9:35 pm

http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Server migrated to new SS gauges no longer work

Post by davidefa » Tue Sep 21, 2021 10:33 pm

Try calling 'manually' http://www.melvinweather.com/template/u ... ?password=*****
to see if it returns any error
Image

User avatar
BobW55
Forecaster
Forecaster
Posts: 114
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: Server migrated to new SS gauges no longer work

Post by BobW55 » Wed Sep 22, 2021 3:49 am

Ran with SUCCESS
Do Have my page showing online now but still no update to SS Gauges.

Have sent email to my web host.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

User avatar
BobW55
Forecaster
Forecaster
Posts: 114
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: Server migrated to new SS gauges no longer work

Post by BobW55 » Wed Sep 22, 2021 4:03 am

Rewrote the cron job, now its working....
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Server migrated to new SS gauges no longer work

Post by davidefa » Wed Sep 22, 2021 8:54 am

The cache/apiCache.txt ( which logs the values to be written in the database, it is cleared every 5 minutes ) shows the last 3
calls to api.php where on ( your local time ) :
"2021-09-21 23:46:03",
"2021-09-21 23:47:53",
"2021-09-21 23:47:53"
Image

User avatar
BobW55
Forecaster
Forecaster
Posts: 114
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: Server migrated to new SS gauges no longer work

Post by BobW55 » Wed Sep 22, 2021 12:40 pm

Waiting on my hosting site.
Cron job is correct, and will execute with success if manually run.
Something on my hosting site is not allowing for that. I have placed a service ticket with them.

Funny Meteotemplate has been running for years without issue. When you run into one, you forget what you did to set it up in the first place.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

User avatar
BobW55
Forecaster
Forecaster
Posts: 114
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: Server migrated to new SS gauges no longer work

Post by BobW55 » Wed Sep 22, 2021 3:20 pm

SOLVED:

Not sure what the issue was, something my hosting site did, but up and running now.
They had me write the cron job differently, but that still did not correct it.
ended up with the original cron job.

Go figure.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Server migrated to new SS gauges no longer work

Post by davidefa » Wed Sep 22, 2021 3:40 pm

Yes, that the kind of things that make me nervous
Image

leonrossouw
Observer
Observer
Posts: 29
Joined: Tue Aug 22, 2017 6:33 am

Re: Server migrated to new SS gauges no longer work

Post by leonrossouw » Sat Nov 13, 2021 6:41 am

I have several meteotemplate web sites one of which I have just migrated to a new host.
Everything works apart from the ssGauges ...they do not load at all.
I have gone through all the posts on this forum and to me there is no obvious answer.
I have reinstalled bith the ssGauges block and steelseries plugin.
Any suggestions ?
Regards,
Leon Rossouw

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Server migrated to new SS gauges no longer work

Post by davidefa » Sat Nov 13, 2021 9:19 am

I had a problem with the steelSeries plugin, resolved with this mod.

P.S.
(Please provide a link to your site )
Image

leonrossouw
Observer
Observer
Posts: 29
Joined: Tue Aug 22, 2017 6:33 am

Re: Server migrated to new SS gauges no longer work

Post by leonrossouw » Sat Nov 13, 2021 1:53 pm

Hi and thank you,
I have installed the mod steelseries plug-in...no luck yet.
See my link to web site :
http://cannonrocksweather.com/template/indexDesktop.php
Regards,
Leon.

Post Reply