This morning I woke up to trying to access the dashboard on Cumulux but getting a very vanilla looking template with no data (looked like no CSS was being processed).
Did a service restart and that took quite a while, long enough that I killed it. Checked the service and sure enough it had stopped. So I manually started it again. Checked the log files and saw a BUNCH of these errors that had started last night:
Code: Select all
2023-11-07 21:38:05.960 ProcessTemplateFile: Error writing to file 'web/realtimegauges.txt', error was - System.IO.IOException: Sharing violation on path /opt/CumulusMX/w
eb/realtimegauges.txt
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Bool
ean anonymous, System.IO.FileOptions options) [0x0019e] in <533173d24dae460899d2b10975534bb0>: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.F
ileOptions options) [0x00000] in <533173d24dae460899d2b10975534bb0>: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 <533173d24dae460899d2b1
0975534bb0>:0
at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding) [0x00000] in <533173d24dae460899d2b10975534bb0>: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, System.Boolean useAppDir) [0x00034] in <b0ae9ad91692488da7ace3260fd3c598>:0
2023-11-07 21:38:05.968 RealtimeLocalCopy[138]: Error copying [web/realtimegauges.txt] to [/mnt/webdir//realtimegauges.txt. Error = Sharing violation on path /mnt/webdir/
realtimegauges.txt
What did alleviate it was a complete reboot of the RPI I have CMX installed on. I know what to do in this case now, but was wondering what might be trying to access that file as I don't have a lot going on with file transfers aside from doing the local copies. I'm assuming the double forward slashes for directory separators wouldn't do that, as that's never been an issue before
Thanks.