If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Partially working Cumulus after porting from Windows to Raspberry PI 3

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
tomron
Posts: 15
Joined: Thu Sep 08, 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby tomron » Wed Jul 12, 2017 9:02 pm

Hello!

I run Cumulus MX on a Notebook now for more than 6 months. My station is a Fine Offset WH1080 weather station.
Cumulus was sending data to a privat website and to weather underground and several other community sites similar to WU.

Some days ago I purchased a Raspberry PI 3 and installed the lastest Raspian (RASPBIAN JESSIE WITH DESKTOP, Version: July 2017
Release date: 2017-07-05, Kernel version: 4.9)

Mono complete package 3.2.8 is installed and working
Image

I managed to connect to the PI with Putty, WinSCP and Remote Desktop which is all working now.
As next step I ported my entire Cumulus MX folder from my Windows Notebook to the PI.

Cumulus connects to my station and seams to work properly:
Image


but only seams....
Image

gauges are dead:
Image

but charts are displaying actual data of my station!!
Image

but not on current data....
Image

but again proper data at Today and Yesterdays page
Image

Datalogs are working...
Image

Station settings:
Image

but I can not save them...
Image


surprise surprise Weather Underground is working....!!!
Image

BUT! not on my private Website
Image


I am now at the end of my own knowledge, maybe someone can assist me at this issue?

Best Regards
Tom

User avatar
rogerthn
Posts: 140
Joined: Thu Apr 11, 2013 6:31 pm
Weather Station: Oregon Scientific WMR88
Operating System: Raspbian GNU/Linux 8
Location: Trollhättan Sweden
Contact:

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby rogerthn » Thu Jul 13, 2017 6:57 am

Can you share your Start_CumulusMX?
Image

tomron
Posts: 15
Joined: Thu Sep 08, 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby tomron » Thu Jul 13, 2017 7:17 am

Code: Select all

cd /
cd /home/pi/Desktop/CumulusMX/
sudo mono CumulusMX.exe

User avatar
steve
Cumulus Author
Posts: 26080
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby steve » Thu Jul 13, 2017 7:27 am

Have you looked at the MX FAQ post? There is an entry specifically for the problem where the Dashboard, Now, and Gauges pages do not work.

The problem with saving the settings is probably because of an invalid value in Cumulus.ini, perhaps a decimal with a comma.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

tomron
Posts: 15
Joined: Thu Sep 08, 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby tomron » Thu Jul 13, 2017 7:36 am

no I didn't, I will look it up!

tomron
Posts: 15
Joined: Thu Sep 08, 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby tomron » Thu Jul 13, 2017 8:22 am

ok there was one coma in the Cumulus.ini which I have removed.

--> no effect

than I switched from sockets to ajax like stated in the announcement 3032. This change takes effect and the now page is now working. So it seams the the sockets made this problem up!

is there a hint for the Pi to change the socket problem?

User avatar
steve
Cumulus Author
Posts: 26080
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby steve » Thu Jul 13, 2017 8:35 am

The only other suggestion I have is as in the MX FAQ, make sure you have no non-ASCII characters in Cumulus.ini

I'm afraid I have no suggestions regarding getting web sockets working, it could be one of many things. It has always worked fine for me so I have never had to try to fix it.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

tomron
Posts: 15
Joined: Thu Sep 08, 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby tomron » Fri Jul 14, 2017 8:21 am

I found one main issue!!!

After setting back the language from German to English and then restarting the Pi all pages like now, dashboard, gauges are working as they supposed to work :D :bash:

But the private website is still not updating the gauges, whereas trends and now are displaying actual data.

The terminal throws the following exception:

Code: Select all

*** web tag error - see MXdiags file ***


Code: Select all

Web tag error
Exception: i=583 len=7939
inputText.Length=7939
token=recordsbegandate
System.FormatException: String was not recognized as a valid DateTime.
at System.DateTime.Parse (System.String s, IFormatProvider provider, DateTimeStyles styles) [0x00000] in <filename unknown>:0
at System.DateTime.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0
at System.DateTime.Parse (System.String s) [0x00000] in <filename unknown>:0
at . (System.Collections.Generic.Dictionary`2 ) [0x00000] in <filename unknown>:0
at . (System.String , System.Collections.Generic.Dictionary`2 ) [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus. (System.String , System.String& ) [0x00000] in <filename unknown>:0
at . () [0x00000] in <filename unknown>:0
Web tag error
Exception: i=631 len=7939
inputText.Length=7939
token=recordsbegandate
System.FormatException: String was not recognized as a valid DateTime.
at System.DateTime.Parse (System.String s, IFormatProvider provider, DateTimeStyles styles) [0x00000] in <filename unknown>:0
at System.DateTime.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0
at System.DateTime.Parse (System.String s) [0x00000] in <filename unknown>:0
at . (System.Collections.Generic.Dictionary`2 ) [0x00000] in <filename unknown>:0
at . (System.String , System.Collections.Generic.Dictionary`2 ) [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus. (System.String , System.String& ) [0x00000] in <filename unknown>:0
at . () [0x00000] in <filename unknown>:0


the list goes on and on

User avatar
steve
Cumulus Author
Posts: 26080
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby steve » Fri Jul 14, 2017 8:38 am

Now that you have changed your locale, your Cumulus start date in Cumulus.ini is not in a format the system recognises. You will need to stop Cumulus end edit Cumulus.ini, and change the StartDate= line so that it matches something which your system now recognises.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

tomron
Posts: 15
Joined: Thu Sep 08, 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby tomron » Fri Jul 14, 2017 11:12 am

ok I've changed that, there were some comma errors in the July data log, I removed all lines but the update on my private website is still only partially working...

tomron
Posts: 15
Joined: Thu Sep 08, 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby tomron » Fri Jul 14, 2017 11:21 am

After all, I upgraded now to a virgin 3043 version and copied my Cumulus.ini to 3043.
restarted Cumulus and now all pages on the privat site are working....

I guess there is much trouble with the comma and dot at different languages...

is it possible to convert the history data from my previous Cumulus version?

User avatar
steve
Cumulus Author
Posts: 26080
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby steve » Fri Jul 14, 2017 12:07 pm

tomron wrote:is it possible to convert the history data from my previous Cumulus version?

Yes. Assuming you are now using UK-style settings, you would need to edit all of your data files to first change the commas to dots, and then change the semicolons to commas. The names of the monthly log files may also need to be changed.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

tomron
Posts: 15
Joined: Thu Sep 08, 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Postby tomron » Fri Jul 14, 2017 8:47 pm

Thanks for your support!


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 2 guests