Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.

Moderator: mcrossley

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Post by richard_newberry » Tue 27 Nov 2018 1:24 am

i have only took out Raspberry pi bit because mines not a Raspberry Pi

Please see attached the files as requested.

I have deleted the old file and still the same error message.
You do not have the required permissions to view the files attached to this post.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 310
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Post by jank » Tue 27 Nov 2018 8:13 am

Hello Richard
I downloaded your file and started it on my Raspberry PI and it worked as expected.
Some posts ago, you wrote about this error message:

error is: ./cumulusmx.sh: line 1131: syntax error: unexpected end of file
But in the attached docx file I can see, that the command: ./cumulusmx.sh -s is correctly showing the status information without the above error.
The only error is on top of the status page:

./cumulusmx.sh: line 633: [: 3043: unary operator expected

And this error is "normal" because the variable: $MXVERSIONONLINE is pointing to "http://sandaysoft.com/forum/" and must be changed to
"https://cumulus.hosiene.co.uk/" .......

So I am a little bit confused where, and when you get the error error is: ./cumulusmx.sh: line 1131: syntax error: unexpected end of file ?

Jan
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Post by richard_newberry » Tue 27 Nov 2018 10:03 am

I dont know.

I will alter the script to point to the right url.

Thanks Jank.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 310
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Post by jank » Tue 27 Nov 2018 11:10 am

richard_newberry wrote:
Tue 27 Nov 2018 10:03 am
I dont know.
I will alter the script to point to the right url.
Thanks Jank.
Okay you can find it in line 170
and replace this line with
MXVERSIONONLINE=$(curl -s https://cumulus.hosiene.co.uk/ -o /tmp/version.txt | grep -i "Latest Cumulus MX release" /tmp/version.txt | sed 's/^.*v3.0.0/>v3.0.0/' |cut -c2-18)


So I assume, I can ignore this error (post) from you?
richard_newberry wrote:
Mon 12 Nov 2018 11:24 pm
i am getting error on kernel on 4.18

error is: ./cumulusmx.sh: line 1131: syntax error: unexpected end of file

An thing would be appreciated.
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Post by richard_newberry » Tue 27 Nov 2018 11:25 pm

Thanks Jank, that's sorted it out.

Sorry to waste your time.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

Post Reply