Problem with realtime.txt
Posted: Mon 25 Apr 2022 4:57 pm
Hi
today I decided to recreate my CumulusMX Raspebrrypi since it was messed up over the time.
I used the RaspberryPi Image provided from here and most of the stuff is working fine.
However I have Problems with the realtime.txt
1. In RaspberryPi Image the path for the both files is a symlink and points to
wxnow.txt -> /run/cumulusmx/wxnow.txt
realtime.txt -> /run/cumulusmx/realtime.txt
for any reason, the folder /run/cumulusmx is not being created automatically so I am getting the following error
FTP[13]: Error uploading realtime.txt to /www/wetter2/realtime.txt : Could not find file "/opt/CumulusMX/realtime.txt"
After creating the folder /run/cumulusmx/ manually suddenly both files are being created but realtime.txt is still empty
root@cumulusmx:/opt/CumulusMX# ls -al /run/cumulusmx/
total 4
drwxr-xr-x 2 root root 80 Apr 25 17:05 .
drwxr-xr-x 27 root root 940 Apr 25 17:04 ..
-rw-r--r-- 1 root root 0 Apr 25 17:55 realtime.txt
-rw-r--r-- 1 root root 55 Apr 25 17:55 wxnow.txt
Any Idea whats wrong with the realtime.txt ? ...and why the /run/cumulusmx folder is not being created ?
btw: realtimegauges.txt is properly filled with data
thanks for any advice
Jan
Update: In the MXdigs Logfile I can find the following error:
2022-04-25 18:04:37.357 RealtimeLocalCopy[0]: Error copying [realtime.txt] to [realtime.txt. Error = Sharing violation on path /opt/CumulusMX/realtime.txt
today I decided to recreate my CumulusMX Raspebrrypi since it was messed up over the time.
I used the RaspberryPi Image provided from here and most of the stuff is working fine.
However I have Problems with the realtime.txt
1. In RaspberryPi Image the path for the both files is a symlink and points to
wxnow.txt -> /run/cumulusmx/wxnow.txt
realtime.txt -> /run/cumulusmx/realtime.txt
for any reason, the folder /run/cumulusmx is not being created automatically so I am getting the following error
FTP[13]: Error uploading realtime.txt to /www/wetter2/realtime.txt : Could not find file "/opt/CumulusMX/realtime.txt"
After creating the folder /run/cumulusmx/ manually suddenly both files are being created but realtime.txt is still empty
root@cumulusmx:/opt/CumulusMX# ls -al /run/cumulusmx/
total 4
drwxr-xr-x 2 root root 80 Apr 25 17:05 .
drwxr-xr-x 27 root root 940 Apr 25 17:04 ..
-rw-r--r-- 1 root root 0 Apr 25 17:55 realtime.txt
-rw-r--r-- 1 root root 55 Apr 25 17:55 wxnow.txt
Any Idea whats wrong with the realtime.txt ? ...and why the /run/cumulusmx folder is not being created ?
btw: realtimegauges.txt is properly filled with data
thanks for any advice
Jan
Update: In the MXdigs Logfile I can find the following error:
2022-04-25 18:04:37.357 RealtimeLocalCopy[0]: Error copying [realtime.txt] to [realtime.txt. Error = Sharing violation on path /opt/CumulusMX/realtime.txt
