Legacy Cumulus 1 release 1.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
From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).
I have 3151 running on two different rPi's, one updates my website, the other is just local. The one for the live website encounters this problem the other isn't.
I've updated and upgraded the rPi, 3149 runs flawlessly.
I've attached log, I may have encountered this before:
2021-10-22 17:22:00.385 Writing today.ini, LastUpdateTime = 10/22/2021 5:22:00 PM raindaystart = 48.56 rain counter = 48.56
!!! Unhandled Exception !!!
System.ObjectDisposedException: Safe handle has been closed
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef (System.Boolean& success) [0x0001c] in <533173d24dae460899d2b10975534$ at System.Threading.NativeEventCalls.SetEvent (Microsoft.Win32.SafeHandles.SafeWaitHandle handle) [0x00002] in <533173d24dae460899$ at System.Threading.EventWaitHandle.Set () [0x00000] in <533173d24dae460899d2b10975534bb0>:0
at (wrapper remoting-invoke-with-check) System.Threading.EventWaitHandle.Set()
2021-10-22_170413_MXDiags.zip
You do not have the required permissions to view the files attached to this post.
retreat at augusta pines weather CumulusMX on Raspberry πrPi5 http://augusta-pines-weather.com / CumulusMX 4.0.0 build:4020 WeatherUnderground KTXSPRIN538
2021-10-22 22:25:30.026 Console clock: Accurate to +/- 30 seconds, no need to set it (diff=-3s)
2021-10-22 22:25:30.026 Reading history data from log files
2021-10-22 22:25:30.027 Loading last N hour data from data logs: 10/22/2021 10:10:00 PM
2021-10-22 22:25:30.030 LoadRecent: Attempting to load 7 days of entries to recent data list
2021-10-22 22:25:30.121 LoadRecent: Loaded 1 new entries to recent database
2021-10-22 22:25:30.122 LoadLast3Hour: Attempting to load 3 hour data list
2021-10-22 22:25:30.132 LoadLast3Hour: Loaded 177 entries to last 3 hour data list
2021-10-22 22:25:30.138 Reading archive data from logger
2021-10-22 22:25:30.140 Creating extra sensors
2021-10-22 22:25:30.140 Lock: Station waiting for the lock
2021-10-22 22:25:30.174 843 web tags initialised
!!! Unhandled Exception !!!
System.TypeLoadException: Could not resolve type with token 01000121 from typeref (expected class 'FluentFTP.Helpers.FtpTrace' in assembly 'FluentFTP, Version=35.0.5.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f')
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x02e10] in <2c614c063e0c4938804aab6a70ee2aa3>:0
at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <2c614c063e0c4938804aab6a70ee2aa3>:0
at CumulusMX.Program.Main (System.String[] args) [0x0056a] in <2c614c063e0c4938804aab6a70ee2aa3>:0
then it stops running
Reinstalled Cumulus MX v.3.13.4 build 3149 and all is fine.
Open the admin interface by entering one of the above URLs into a web browser.
Today.ini = data/today.ini
Last update=2021-10-22T22:10:00
You are not running the latest version of Cumulus MX, build 3151 is available.
Connected to station
10/22/2021 10:39:25 PM
Type Ctrl-C to terminate
Downloading Archive Data
- processed 100 %
Downloading Archive Data
- No Archive data available
Connecting real time FTP
Normal running
050;1RSystem.ObjectDisposedException: Safe handle has been closed
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef (System.Boolean& success) [0x00025] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Threading.NativeEventCalls.SetEvent (Microsoft.Win32.SafeHandles.SafeWaitHandle handle) [0x00002] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Threading.EventWaitHandle.Set () [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at (wrapper remoting-invoke-with-check) System.Threading.EventWaitHandle.Set()
at System.IOAsyncResult.set_IsCompleted (System.Boolean value) [0x00024] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
at System.Net.Sockets.SocketAsyncResult.Complete () [0x00037] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
at System.Net.Sockets.SocketAsyncResult.Complete (System.Int32 total) [0x00007] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
at System.Net.Sockets.Socket.<BeginReceiveCallback>m__C (System.IOAsyncResult ares) [0x0007b] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
at System.IOSelectorJob.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
050;1R
I did not update yet (and probably wait seeing this - but @pete_c has a different crash than the others.
@pete_c seems to have missed the update of the FluentFTP library so should redo his update (copy all files) and should then have the same crash as the others.
The common crash, as far as I can see and understand it, here has to do with the reuse of FTPS resource and apparently still has not been fixed so a return to the old lib probably should be advised. It is an issue related to FTPS and afaik can't be fixed just like that.
@water01: depends on what FTP you use. It is dependent on the FTP server, not on the operating system. If you use SFTP you should have no problem at all.