Page 1 of 2
Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 27 Jun 2022 9:32 am
by dazza1223
hi ive just upgraded to the new build but on my index page this tag hardy up date
<#wlatest> and when i refresh it it update but if i downgrade CMX to a older build it work all fine?
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 27 Jun 2022 9:41 am
by mcrossley
By older do you mean 3.17.0? I'd like to know the version so I can compare the code for changes.
My immediate suspicion is the setting ...
Station Settings / Common Options / Advanced Options / Use wind speed for average calculation
is set, when it shouldn't be for Davis stations.
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 27 Jun 2022 10:19 am
by dazza1223
I've downgrade it back to 3173
But I've just look at that option in the settings and it was on so I've upgraded it to the newer build and un select that option and it seem to be the same with this option off ?
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 27 Jun 2022 2:09 pm
by dazza1223
new error since ive upgraded
2022-06-27 15:03:14.028 ProcessTemplateFile: Error writing to file '/home/pi/usb-drive/CumulusMX/Cmx-WLL/web/custom_realtimeT.txttmp', error was - System.IO.IOException: Sharing violation on path /home/pi/usb-drive/CumulusMX/Cmx-WLL/web/custom_realtimeT.txttmp
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <de882a77e7c14f8ba5d298093dde82b2>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <de882a77e7c14f8ba5d298093dde82b2>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <de882a77e7c14f8ba5d298093dde82b2>:0
at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding) [0x00000] in <de882a77e7c14f8ba5d298093dde82b2>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool,System.Text.Encoding)
at CumulusMX.Cumulus.ProcessTemplateFile (System.String template, System.String outputfile, CumulusMX.TokenParser parser, System.Boolean useAppDir) [0x0004d] in <43c884efc98d4e1998cfc9b08636c039>:0
2022-06-27 15:03:14.045 Realtime[42]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 1
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 27 Jun 2022 2:14 pm
by mcrossley
The error is...
Error writing to file '/home/pi/usb-drive/CumulusMX/Cmx-WLL/web/custom_realtimeT.txttmp
Sharing violation
So something else has that file open - or the previous real-time update is still running and has it open.
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 27 Jun 2022 2:59 pm
by dazza1223
oh really? here the full logs if u want to have a read
20220627-145927.rar
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Thu 30 Jun 2022 9:01 pm
by dazza1223
mcrossley wrote: ↑Mon 27 Jun 2022 9:41 am
By older do you mean 3.17.0? I'd like to know the version so I can compare the code for changes.
My immediate suspicion is the setting ...
Station Settings / Common Options / Advanced Options / Use wind speed for average calculation
is set, when it shouldn't be for Davis stations.
mark did u look at the code as that wind is still not updating and my log file is all clean now?
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Sat 02 Jul 2022 9:40 pm
by mcrossley
Sorry, overlooked this.
If your logs are looking better, could you run for a short time (10 mins will enough) with debug and data logging on, then post the file please.
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 04 Jul 2022 11:10 am
by dazza1223
hey mark erm .... it seem to not be so clean it was the other day but now it giving me those errors but here the 10 min log with data logging
MXdiags.rar
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 04 Jul 2022 1:43 pm
by mcrossley
Hi, I cannot see any issues in the log file.
You are configured to use the wind speed on transmitter #2.
Both the broadcast and current data responses from the WLL contain good wind data.
The same data is shown as being logged into your real-time database.
Where are you not seeing wind data?
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 04 Jul 2022 2:05 pm
by dazza1223
if you look on my index page u will see it wind speed wont update on it own since i upgraded to the new build but if i downgrade it to an older one it we be ok ? and works fine
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 04 Jul 2022 2:37 pm
by mcrossley
That appears to be getting its data from custom_realtime.txt
That file is not being uploaded to your web site because it is file #10 on your list and comes after file #2 CCdata.php
That CCdata.php fails to get updated by CMX with a sharing error on the tmp file CCdata.phptmp
The subsequent FTP process then also errors on that same file CCdata.phptmp, so nothing after file on your list gets FTP'd.
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 04 Jul 2022 2:44 pm
by mcrossley
Sorry - later on in your log file, that sharing error no longer occurs, and real-time FTP reconnects OK.
But it possibly looks like an FTP issue. Can you turn on FTP logging as well please.
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Mon 04 Jul 2022 2:53 pm
by mcrossley
Ignore that - if it were FTP then errors would be logged - and the direction is changing.
There is a change in the next release (soon) that I think will fix this for you...
Re: Cumulus MX release 3.18.0 (build 3190)
Posted: Tue 05 Jul 2022 9:31 pm
by dazza1223
thanks mark that update fixed that but ive look again at the same error but i dont get why this one is still playing up
2022-07-05 22:28:08.946 ProcessTemplateFile: Error writing to file '/home/pi/usb-drive/CumulusMX/Cmx-WLL/web/awekasT.txttmp', error was - System.IO.IOException: Sharing violation on path /home/pi/usb-drive/CumulusMX/Cmx-WLL/web/awekasT.txttmp
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <de882a77e7c14f8ba5d298093dde82b2>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <de882a77e7c14f8ba5d298093dde82b2>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <de882a77e7c14f8ba5d298093dde82b2>:0
at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding) [0x00000] in <de882a77e7c14f8ba5d298093dde82b2>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool,System.Text.Encoding)
at CumulusMX.Cumulus.ProcessTemplateFile (System.String template, System.String outputfile, CumulusMX.TokenParser parser, System.Boolean useAppDir) [0x0004d] in <8c85891df2f5411dbf6adb4349e1d7df>:0