Page 1 of 1

b3203 - Local Copy issue

Posted: Tue 30 Aug 2022 11:15 am
by philpugh
I have just upgraded one of my systems to b3203 and everything seems to be working but there is a 'worrying' message in the MXDiags log. At the start of each cycle (1 minute interval) it complains about
LocalCopy: Error with paths - Index was outside the bounds of the array.
I have attached a copy of the log file - debug enabled a minute or so in.

The local files (.json etc) are being copied over as far as I can tell.

Important to know that my webserver and CumulusMX are co-hosted on the same RPi4 so I don't do FTP/SFTP etc

Phil

Re: b3203 - Local Copy issue

Posted: Tue 30 Aug 2022 1:59 pm
by mcrossley
Thanks Phil, not a benign error depending on your configuration :(
Fixed for the next release...

Re: b3203 - Local Copy issue

Posted: Tue 30 Aug 2022 2:48 pm
by Steve_H
I also have a problem with the local copy after upgrading to b3203.

I don’t use ftp, only local copy for a local website on my network.

Running on a raspberrypi saving local to /var/www/html/ works on version b3202 under internet settings Web/FTP site.

but on version b3203 the files are updating in /home/pi/CumulusMX/web but “Local copy destination folder path” copy’s the files to /home/pi/CumulusMX instead. Not taking any notice of the set path.

Reverting to b3202 it saves the files to the correct place.

Re: b3203 - Local Copy issue

Posted: Tue 30 Aug 2022 4:41 pm
by mcrossley
I can confirm I have found a bug in the local copy code, fixed in the next release, sorry :bash:

Re: b3203 - Local Copy issue

Posted: Wed 31 Aug 2022 12:02 am
by jlmr731
realtime.txt realtimegauges,txt was being updated but not the jsons
just rollback to previous version and working fine