Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
b3072 moon image error
Moderator: mcrossley
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
b3072 moon image error
Hi all,
I updated from b3050 to b3072 (on a raspberry pi running stretch) and all was good until I checked the moon image generation in the settings (both in web/ftp and moon image settings). I decided to restart MX and the system didn't restart. it seems to get so far into the startup and then just hangs. I have attached the MXdiags file but it seemed to corrupt the cumulus.ini file. When I copied back the b3050 ini file, all was good again. Tried again to enable moon generation with the same result. I do have the base moon image in my web directory. Any further troubleshooting is a bit beyond me I'm afraid so hoping someone can give me a pointer.
Cheers
Steve
I updated from b3050 to b3072 (on a raspberry pi running stretch) and all was good until I checked the moon image generation in the settings (both in web/ftp and moon image settings). I decided to restart MX and the system didn't restart. it seems to get so far into the startup and then just hangs. I have attached the MXdiags file but it seemed to corrupt the cumulus.ini file. When I copied back the b3050 ini file, all was good again. Tried again to enable moon generation with the same result. I do have the base moon image in my web directory. Any further troubleshooting is a bit beyond me I'm afraid so hoping someone can give me a pointer.
Cheers
Steve
You do not have the required permissions to view the files attached to this post.
-
- Posts: 127
- Joined: Fri 27 Sep 2013 2:11 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Win 10
- Location: Dorset
- Contact:
Re: b3072 moon image error
similar issue for me - I'm running 3072 on a Win Laptop, not that that should make a difference.
The new index page is showing aplaceholder for the moon image
here http://www.geoffwebber.co.uk/weather/index.htm
The image cannot be found (the broken link symbol is there)
The new IndexT file that came with 3072 has this line
Which coincides with the broken URL
I have looked through the whole directory structure of the 3072 release and cannot find moon.png
The only file I can find is MoonBaseImage.png - is this the file that should be used?
If so i'll rename it to match the code..
Cheers
The new index page is showing aplaceholder for the moon image
here http://www.geoffwebber.co.uk/weather/index.htm
The image cannot be found (the broken link symbol is there)
The new IndexT file that came with 3072 has this line
Code: Select all
<td rowspan="3"><img src="images/moon.png" alt="Moon" width="64" height="64" style="margin: 0px 10px;" /></td>
Code: Select all
http://www.geoffwebber.co.uk/weather/images/moon.png
The only file I can find is MoonBaseImage.png - is this the file that should be used?
If so i'll rename it to match the code..
Cheers
-
- Posts: 127
- Joined: Fri 27 Sep 2013 2:11 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Win 10
- Location: Dorset
- Contact:
Re: b3072 moon image error
laulau
Thank you for your very helpful link, unfortunatley I am not blessed with such a photographic memory as you.
Still, the whole point of a forum is that those who know will help those who do not!
Thank you for your very helpful link, unfortunatley I am not blessed with such a photographic memory as you.
Still, the whole point of a forum is that those who know will help those who do not!
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: b3072 moon image error
@vegit8 - My understanding is that the MoonBaseImage file is the reference file MX uses to calculate the correct image based on the current moon phase. If you are not seeing a moon.png file generated, then there is a problem, somewhere. The only thing to check is that you have enabled the moon image generation settings in both web/ftp settings AND the moon image settings. In my case, if I check these, the moon.png file is not generated and if I restart MX for any reason, it hangs on startup. I'm not sure if it is something to do with the ftp server setup which I don't use as everything is stored on the pi and I use the extra webfiles settings the nominate the files to transfer to the web server directory. Despite this, I'm not seeing the moon.png file generated anywhere and not sure what could be causing the program to hang on startup with the moon settings active. It seems to be running fine (including restart) if I leave them turned off.
Cheers
Steve
Cheers
Steve
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: b3072 moon image error
The moon base image file is an image of a full moon. Mark uses System.Drawing together with the moon phase he calculates viewtopic.php?f=40&t=13902 to mask part of that image, and that is what becomes moon.png, this masked image is then uploaded using FTP (that is mentioned in both sections of the settings page). I believe I have understood that right.
You suggest it might be to do with you not setting up FTP transfer settings, and that indeed might be the issue, as far as I can see Mark has coded MX so it does use FTP for uploading the moon image it tries to generate when MX starts and on the hour when MX is running, and I'm unsure whether his code copes with uploading the image if FTP is not set up.
I disagree, to stop it using the FTP you have not set up, I suggest you disable "Include Moon image file" in FTP section.
However, I see no reason why you should not enable "Generate a moon image" in moon section and see if that allows MX to restart.
It will generate the moon image in the CumulusMX/web folder of your Pi, but I don't think it will attempt to upload using the FTP you have not set up.
Try that and see if I am right....
- mcrossley
- Posts: 12697
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: b3072 moon image error
You are correct, it will then generate the moon.png image in the web folder, but not attempt to FTP it. But if FTP isn't set up, then it will not be trying to do that anyway - or am I confused?sfws wrote: ↑Tue 14 Apr 2020 7:09 am I suggest you disable "Include Moon image file" in FTP section.
However, I see no reason why you should not enable "Generate a moon image" in moon section and see if that allows MX to restart.
It will generate the moon image in the CumulusMX/web folder of your Pi, but I don't think it will attempt to upload using the FTP you have not set up.
Try that and see if I am right....
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: b3072 moon image error
Hi all,
Many thanks for the response. Tried unchecking the ftp box for moon image and just left the image file generation checked. Still no joy on restart - MX just hangs. Did another test which has confused me even more. I use the start/stop script to manage MX starting (but not the current version) and thought I would try the command line "sudo mono /home/pi/CumulusMX/CumulusMX.exe" to see if there was anything there. System bombed with attached errors. Could it be something to do with the install? Clearly others haven't struck these problems.
I have also noticed that the old issue of the mono version has now been resolved for fine offset stations. I have never updated my version of mono but could there be anything here?
Cheers
Steve
Many thanks for the response. Tried unchecking the ftp box for moon image and just left the image file generation checked. Still no joy on restart - MX just hangs. Did another test which has confused me even more. I use the start/stop script to manage MX starting (but not the current version) and thought I would try the command line "sudo mono /home/pi/CumulusMX/CumulusMX.exe" to see if there was anything there. System bombed with attached errors. Could it be something to do with the install? Clearly others haven't struck these problems.
I have also noticed that the old issue of the mono version has now been resolved for fine offset stations. I have never updated my version of mono but could there be anything here?
Cheers
Steve
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12697
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: b3072 moon image error
You must have the path to the CumulusMX folder before starting Cumulus - that accounts for your last error.
Can we see a MXdiags file (preferably run with the -debug command line parameter) of when it hangs please?
Which version of mono are you running?
Can we see a MXdiags file (preferably run with the -debug command line parameter) of when it hangs please?
Which version of mono are you running?
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: b3072 moon image error
Hi Mark,
I'm running version 3.10.0 of mono. MXdiags file and dump of command screen error when I try to start MX with the command line rather than the stop/start script attached.
Cheers
Steve
I'm running version 3.10.0 of mono. MXdiags file and dump of command screen error when I try to start MX with the command line rather than the stop/start script attached.
Cheers
Steve
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2435
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: b3072 moon image error
Looks like a GDI library is missing. What do you get if you type the following in your terminal window:
Code: Select all
ls -l /usr/local/lib/libgdiplus.so
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: b3072 moon image error
Thanks Mark. I get "ls: cannot access '/usr/local/lib/libgdiplus.so': No such file or directory" so looks like it might be the problem. Next question - how do I get it?
Cheers
Steve
Cheers
Steve
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: b3072 moon image error
oops - sorry Freddie
-
- Posts: 2435
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: b3072 moon image error
I would uninstall mono and then re-install it. Cumulus MX should work with 3.10, but it looks like there's a problem with your installation. Commands are:
Code: Select all
sudo apt remove --purge mono-complete
sudo apt update && sudo apt upgrade
sudo apt install mono-complete
-
- Posts: 2435
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: b3072 moon image error
Scratch that - you can get libgdiplus independently of mono:freddie wrote: ↑Tue 14 Apr 2020 10:36 amI would uninstall mono and then re-install it. Cumulus MX should work with 3.10, but it looks like there's a problem with your installation. Commands are:
Code: Select all
sudo apt remove --purge mono-complete sudo apt update && sudo apt upgrade sudo apt install mono-complete
Code: Select all
sudo apt update
sudo apt install libgdiplus