Sharing Violation?
Posted: Fri 20 May 2016 8:44 am
I have CumulusMX running on a Pi, which also acts as a webserver using Apache. I noticed this morning that the website was not updating although up to date info was uploading to WU and PocketPWS also had correct info. The MXDiags entry for the failure is as below. Can anyone decipher what is likely to be my sharing violation please? It's all double dutch to me!
2016-05-20 00:00:03.241 System.IO.IOException: Sharing violation on path /home/pi/CumulusMX/web/tempdata.json
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at . () [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus.DoHTMLFiles () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
2016-05-20 00:05:01.079 WU Response: OK: success
2016-05-20 00:00:03.241 System.IO.IOException: Sharing violation on path /home/pi/CumulusMX/web/tempdata.json
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at . () [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus.DoHTMLFiles () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
2016-05-20 00:05:01.079 WU Response: OK: success