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

Local copy destination folder in Linux

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
oldeflyer
Posts: 72
Joined: Sat 02 Nov 2019 12:32 am
Weather Station: Davis Vantage Pro 2
Operating System: Raspberry Pi 4 Bookworm Linux
Location: NE Ohio, USA

Local copy destination folder in Linux

Post by oldeflyer »

Hello,
Already beat this to death getting my Windows machine to do local copy (all my errors BTW), now it seems I cannot get the syntax right for the Linux machine.
I have my Apache2 default page at "/var/www/MXWeather". I copied my web files from my Windows machine and can get to the 'old' web page with obviously stale data.
I tick the Local Copy option and give it the "/var/www/MXWeather" destination and it gives me a syntax error message. Message says to use a form: " This field should have pattern ^.*[/\\\\]{1}$ "
The working Windows local destination is "G:\MXWeather"

What the heck is that pattern?

Tried with the slashes the other way too. Didn't expect that to work and it didn't.

Help?
Wayne
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Local copy destination folder in Linux

Post by freddie »

oldeflyer wrote: Sun 10 Apr 2022 2:30 amI tick the Local Copy option and give it the "/var/www/MXWeather" destination and it gives me a syntax error message. Message says to use a form: " This field should have pattern ^.*[/\\\\]{1}$ "
I think you need the trailing slash as well - like this:

Code: Select all

/var/www/MXWeather/
Freddie
Image
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Local copy destination folder in Linux

Post by sfws »

(content has been removed)
Last edited by sfws on Sun 10 Apr 2022 6:09 am, edited 1 time in total.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Local copy destination folder in Linux

Post by freddie »

sfws wrote: Sun 10 Apr 2022 4:38 am In brief, you have misread the default location for your Apache2 index page, and that made you type in the wrong place for copying destination.
Try /var/www/html/MXWeather/
You can have the Apache2 default location anywhere you like on the filesystem - it's a simple one-line change in the config.
Freddie
Image
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Local copy destination folder in Linux

Post by sfws »

Freddie - I understand about Apache2 files being at any chosen location, as I do use a different location in my RPi Apache2.
It is two different interpretations of the term "default", you mean the starting point of the search for web pages, I meant the Apache2 setting if it has not been altered.
Wayne - Because of this confusion, I will delete the content from my earlier post, but you can see alternative path I suggested in the quote in Freddie's second post, just note that I forgot to type the word "may" before "have misread".
oldeflyer
Posts: 72
Joined: Sat 02 Nov 2019 12:32 am
Weather Station: Davis Vantage Pro 2
Operating System: Raspberry Pi 4 Bookworm Linux
Location: NE Ohio, USA

Re: Local copy destination folder in Linux

Post by oldeflyer »

Oh-ho! Success!
It needed/required the trailing slash.
Thanks for all the input. It is working now.
I will see if it works continuously on the Linux box (as long as I don't close the laptop cover ;) )
Wayne
Post Reply