You had the right ideas, Mark.. it was file permissions. After installing this months Microsoft Updates, and restarting the system, the same issue occurred .. This time I restored the old Cumulus.ini from yesterday and examined the permissions. Somehow inherited permissions on the file were forcing it to be read-only. Grrr. removed the inherited permissions (after restoring the contents in Cumulus.ini) and voila.. it worked just fine.mcrossley wrote: ↑Thu 05 Dec 2024 8:51 pm Most of the issues I managed to find around this error are permissions, file locked, corrupt file system, etc etc.
I did wonder if it was a race condition between the file truncation and writing the new content, but they are synchronous operations performed on the same thread.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
4063 issue.. wipes out Cumulus.ini
Moderator: mcrossley
- saratogaWX
- Posts: 1238
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: 4063 issue.. wipes out Cumulus.ini
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: 4063 issue.. wipes out Cumulus.ini
OK, thanks for the update. I'll leave it to you to work out what is happening to those permissions! 
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: 4063 issue.. wipes out Cumulus.ini
Can this be classified as a Microsoft bug?
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
-
SamiS
- Posts: 510
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: 4063 issue.. wipes out Cumulus.ini
Without knowing what the actual permissions and inheritance settings are on root of the drive, on the CMX folder, and on the CMX files before and after, I wouldn’t dare to call it a bug. Basic Windows file permissions are quite understandable, but if user (or oem vendor of the computer) does changes without totally understanding the logic under the hood and the consequences of the change in hand, it may lead to very unexpected results. And if you open the advanced permissions and tinker there, the pandora’s box is endless.
And if that is not complex enough, think about the file protection mechanisms of Program Files tree, or the redirection of legacy program writes to the hidden folders under %userprofile% or C:\ProgramData\ it gets even trickier. Trust me, I know quite a lot about this, since I do have a Microsoft Certified Professional badge for windows workstations (from quite a few years back).