Author Topic: Weather Computer Died need help  (Read 2584 times)

0 Members and 1 Guest are viewing this topic.

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Weather Computer Died need help
« on: December 20, 2018, 06:50:06 PM »
Just like the topic says weather computer died, I had to get a new one and I cannot remember how it was all set up.. Following everything to exact on Saratoga-Weather.org i cannot get realtime.txt to upload like it should and same for CUtags.php

http://www.gosportwx.com/wxstatus.php

also getting this error log...

Code: [Select]
[20-Dec-2018 18:43:13 America/Indiana/Indianapolis] PHP Warning:  include(WU-History.php): failed to open stream: No such file or directory in /home/hj2ke8lfpx43/public_html/wxhistory.php on line 45
« Last Edit: December 20, 2018, 06:51:57 PM by mkutche »
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline Intheswamp

  • Early on one frosty morn'...
  • Forecaster
  • *****
  • Posts: 1485
  • Sure...I know enough to be dangerous, now.
    • Beeweather
Re: Weather Computer Died need help
« Reply #1 on: December 21, 2018, 08:08:28 AM »
I wish I could be of help, but it'll take someone smart to help you.  ;)  If nothing else this will give you a small bump in the forum.

I've dreaded the day this happens to me as I'll have to relearn a lot of things to get it back on line.  I've got a little $75 Dell laptop that's been running www.beeweather.com for over 5-1/2 years now.  I know one day it will decide to croak on me.  My weather camera was located about 7 miles from the station...in our small town's downtown area, it died several months ago but I haven't attempted to get it back on line.

Anyhow, I'll be keeping up with how the re-establishing of your system works out.

Best wishes!!!
Ed

Davis VP2, v3.12
Cumulus v1.9.4  Build 1079
Today's weather beats no weather at all!
www.beeweather.com
www.beausandbonnets.com

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: Weather Computer Died need help
« Reply #2 on: December 21, 2018, 10:27:15 AM »
Just like the topic says weather computer died, I had to get a new one and I cannot remember how it was all set up.. Following everything to exact on Saratoga-Weather.org i cannot get realtime.txt to upload like it should and same for CUtags.php

http://www.gosportwx.com/wxstatus.php

also getting this error log...

Code: [Select]
[20-Dec-2018 18:43:13 America/Indiana/Indianapolis] PHP Warning:  include(WU-History.php): failed to open stream: No such file or directory in /home/hj2ke8lfpx43/public_html/wxhistory.php on line 45

Mike,

What version of Cumulus are your using? Cumulus 1 or Cumulus MX? Within both you will need to go to the Extra Web Settings and set both the directory where the files are located and the upload names with the respective directory they are being uploaded to.
GR2AE, GR3, Cumulus

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #3 on: December 21, 2018, 10:45:50 AM »
Just like the topic says weather computer died, I had to get a new one and I cannot remember how it was all set up.. Following everything to exact on Saratoga-Weather.org i cannot get realtime.txt to upload like it should and same for CUtags.php

http://www.gosportwx.com/wxstatus.php

also getting this error log...

Code: [Select]
[20-Dec-2018 18:43:13 America/Indiana/Indianapolis] PHP Warning:  include(WU-History.php): failed to open stream: No such file or directory in /home/hj2ke8lfpx43/public_html/wxhistory.php on line 45

Mike,

What version of Cumulus are your using? Cumulus 1 or Cumulus MX? Within both you will need to go to the Extra Web Settings and set both the directory where the files are located and the upload names with the respective directory they are being uploaded to.

I was using Cumulus MX but i cant remember where i got it from so I just started using Cumulus 1.94. I have no idea what "extra web settings" i had or used. UPDATE: the CUtags.php issue was because I had it set to CUTags.php so just changed the name.. now if i can get realtime.txt to work..
« Last Edit: December 21, 2018, 10:49:38 AM by mkutche »
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #4 on: December 21, 2018, 11:17:12 AM »
also i have no idea what this means

Code: [Select]
Warning: Invalid argument supplied for foreach() in /home/hj2ke8lfpx43/public_html/get-USNO-sunmoon.php on line 361

Warning: Invalid argument supplied for foreach() in /home/hj2ke8lfpx43/public_html/get-USNO-sunmoon.php on line 372

and my CUCloudbase.php shows it being night when it should be showing daytime..
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline Intheswamp

  • Early on one frosty morn'...
  • Forecaster
  • *****
  • Posts: 1485
  • Sure...I know enough to be dangerous, now.
    • Beeweather
Re: Weather Computer Died need help
« Reply #5 on: December 21, 2018, 11:22:25 AM »
I've had those ...sunmoon.php warnings for several days now.  Hopefully someone will clue us in on what's going on, I just haven't pursued figuring them out yet.

Davis VP2, v3.12
Cumulus v1.9.4  Build 1079
Today's weather beats no weather at all!
www.beeweather.com
www.beausandbonnets.com

Offline ConligWX

  • Forecaster
  • *****
  • Posts: 836
  • #conligwx
    • conligwx.org
Re: Weather Computer Died need help
« Reply #6 on: December 21, 2018, 11:25:54 AM »
you can download cumulusMX from here: https://cumuluswiki.wxforum.net/a/Software


you are at present not uploading realtime.txt

http://www.gosportwx.com/realtime.txt

Quote
Not Found
The requested URL /realtime.txt was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •


Offline ConligWX

  • Forecaster
  • *****
  • Posts: 836
  • #conligwx
    • conligwx.org
Re: Weather Computer Died need help
« Reply #7 on: December 21, 2018, 11:27:10 AM »
I've had those ...sunmoon.php warnings for several days now.  Hopefully someone will clue us in on what's going on, I just haven't pursued figuring them out yet.

https://www.wxforum.net/index.php?topic=35729.new#new

https://cumulus.hosiene.co.uk/viewtopic.php?f=25&t=17177

looks like USNO has become flakey again... they do this from time to time.
Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •


Offline Intheswamp

  • Early on one frosty morn'...
  • Forecaster
  • *****
  • Posts: 1485
  • Sure...I know enough to be dangerous, now.
    • Beeweather
Re: Weather Computer Died need help
« Reply #8 on: December 21, 2018, 12:17:47 PM »
Yeah, I've seen it before...one reason I haven't been in a hurry to get it "fixed".   :-)

Davis VP2, v3.12
Cumulus v1.9.4  Build 1079
Today's weather beats no weather at all!
www.beeweather.com
www.beausandbonnets.com

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather Computer Died need help
« Reply #9 on: December 21, 2018, 12:26:07 PM »
A reminder for those with get-USNO-sunmoon.php V3.02, you can add
Code: [Select]
$SITE['useUSNO'] = false; to your Settings.php to use the internal calculations instead of the USNO data and avoid any USNO server issues.  It's not as precise as the USNO data, but close enough (a couple of minutes out for moonrise/moonset).
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
Re: Weather Computer Died need help
« Reply #10 on: December 21, 2018, 12:36:24 PM »
I did as Ken suggested, the internal is within a minute at my location and don't have to deal with reaching USNO again.
I know the feeling of OP when you haven't done anything with software for years and all of sudden it crashes.
Randy

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #11 on: December 21, 2018, 01:57:16 PM »
you can download cumulusMX from here: https://cumuluswiki.wxforum.net/a/Software


you are at present not uploading realtime.txt

http://www.gosportwx.com/realtime.txt

Quote
Not Found
The requested URL /realtime.txt was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

ya im not sure why its not uploading when i followed saratoga's CU setup
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather Computer Died need help
« Reply #12 on: December 21, 2018, 01:59:26 PM »
Depending on how you set up the FTP userid, it's 'root' may not be the public_html folder.

Try adding public_html/ to the directory in the FTP settings.

Also, you can turn on the FTP log to see exactly what Cumulus is trying to do with the FTP.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #13 on: December 21, 2018, 02:24:55 PM »
Depending on how you set up the FTP userid, it's 'root' may not be the public_html folder.

Try adding public_html/ to the directory in the FTP settings.

Also, you can turn on the FTP log to see exactly what Cumulus is trying to do with the FTP.

that worked thanks ken! man going 6 1/2 years trying to remember everything is rough! lol
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #14 on: December 21, 2018, 02:38:22 PM »
Last questiong what is the format for monthly filename "NOAAMO"mmyy".txt" i kno is the old format can't remember what the new format is..

same with yearly .. "NOAAYR"yyyy".txt" i've searched the forum and cant find the solution.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather Computer Died need help
« Reply #15 on: December 21, 2018, 04:42:54 PM »
To work with the scripts:

Monthly format
Code: [Select]
'NOAAMO'MMyy'.txt'Yearly format
Code: [Select]
'NOAAYR'yyyy'.txt'
Glad the adding public_html/ to the directory spec worked.  Some hosters plop you there in FTP, other hosters default to your personal directory with the www or public_html directory down the path from there.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #16 on: December 21, 2018, 04:49:20 PM »
To work with the scripts:

Monthly format
Code: [Select]
'NOAAMO'MMyy'.txt'Yearly format
Code: [Select]
'NOAAYR'yyyy'.txt'
Glad the adding public_html/ to the directory spec worked.  Some hosters plop you there in FTP, other hosters default to your personal directory with the www or public_html directory down the path from there.

so do I replace the " with ' ? im confused sorry.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #17 on: December 21, 2018, 04:52:37 PM »
To work with the scripts:

Monthly format
Code: [Select]
'NOAAMO'MMyy'.txt'Yearly format
Code: [Select]
'NOAAYR'yyyy'.txt'
Glad the adding public_html/ to the directory spec worked.  Some hosters plop you there in FTP, other hosters default to your personal directory with the www or public_html directory down the path from there.

so do I replace the " with ' ? im confused sorry. also my twitter.txt doesnt wanna post to twitter i'll have to play around with it.. man this sucks LOL
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather Computer Died need help
« Reply #18 on: December 21, 2018, 04:54:11 PM »
Nope.. use the single-quotes as shown in the code boxes above.  That was copied/pasted directly from my running CumulusMX site's configuration.  The single-quotes (') delimit a text constant in Cumulus/CumulusMX.  Double-quotes (") are not used.

What release of Cumulus are you running?
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #19 on: December 21, 2018, 05:02:30 PM »
Nope.. use the single-quotes as shown in the code boxes above.  That was copied/pasted directly from my running CumulusMX site's configuration.  The single-quotes (') delimit a text constant in Cumulus/CumulusMX.  Double-quotes (") are not used.

What release of Cumulus are you running?

Cumulus 1.94 at the moment.. i'll upgrade back to CumulusMX later this weekend or next just wanting to get everything up and running again.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather Computer Died need help
« Reply #20 on: December 21, 2018, 05:04:53 PM »
I just checked my Cumulus 1.9.4, and it uses the double-quote delimiters.  CumulusMX seems to use the single-quote delimiters instead.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1643
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Weather Computer Died need help
« Reply #21 on: December 21, 2018, 05:06:48 PM »
I did as Ken suggested, the internal is within a minute at my location and don't have to deal with reaching USNO again.
I know the feeling of OP when you haven't done anything with software for years and all of sudden it crashes.

So do I !!  Seems like it all runs smooth for quite a while then it goes BOOM and I have forgotten everything I ever knew about the setup,php and so forth #-o


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #22 on: December 21, 2018, 05:08:44 PM »
I just checked my Cumulus 1.9.4, and it uses the double-quote delimiters.  CumulusMX seems to use the single-quote delimiters instead.

ok thanks I'll keep that in mind when i upgrade to CumulusMX everything seems to be working well now except for that twitter.txt ugh.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Weather Computer Died need help
« Reply #23 on: December 21, 2018, 06:07:55 PM »
I have twitter.txt in my C:\cumulus folder and set up on cumulus with my twitter handle and password for every 60 minutes why isn't it posting to twitter?
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather Computer Died need help
« Reply #24 on: December 21, 2018, 06:12:46 PM »
Twitter may have changed how apps are authorized since Cumulus 1.9.4 was done 4 years ago (14-Nov-2014).  They now rely on OAuth to do the authentication and don't allow simple REST POST with credentials anymore.  My TweetWX scripts (using OAuth) seem to still be working, so you might consider switching to using website-based conditions/forecast Tweets as I do.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

 

anything