Hi,
I am running Cumulus on a RPi and have a webserver sat on another RPI. I have a network folder set up as smb://otherPI.local/pi/weather but just can't seem to get the syntax right for the 'Local copy destination folder path' within internet settings.
Also, the network connection is forgotten if I reboot, even though I tick the 'Remember forever' box when connecting to the share.
Any thoughts folks?
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
Website local copy problems
Moderator: mcrossley
- philpugh
- Posts: 428
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 12 (RPi5)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: Website local copy problems
Have you 'mapped' the remote drive on the CumulusMX RPi to the share on your server?
A line like this should be added to /etc/fstab and a mount -a should mount the device (and it will be re-mounted each re-boot).
//nnn.nnn.nnn.nnn/share-directory /mnt/SOMENAME cifs credentials=/home/pi/credential-file.crd,rw,noperm,iocharset=utf8,user,auto,vers=1.0 0 0
where nnn.nnn.... is the ip address of your server /mnt/Somename is the mount point on your local (CumulusMX Rpi) and the credentials=/home/pi/credential-file.crd is a pointer to the log in information of your share on the remote Rpi server.
The file copy is then simply to /mnt/Somename/filename.ext on your local (CumulusMX) Rpi.
A line like this should be added to /etc/fstab and a mount -a should mount the device (and it will be re-mounted each re-boot).
//nnn.nnn.nnn.nnn/share-directory /mnt/SOMENAME cifs credentials=/home/pi/credential-file.crd,rw,noperm,iocharset=utf8,user,auto,vers=1.0 0 0
where nnn.nnn.... is the ip address of your server /mnt/Somename is the mount point on your local (CumulusMX Rpi) and the credentials=/home/pi/credential-file.crd is a pointer to the log in information of your share on the remote Rpi server.
The file copy is then simply to /mnt/Somename/filename.ext on your local (CumulusMX) Rpi.
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
-
Doncaster
- Posts: 64
- Joined: Tue 21 Oct 2014 10:51 am
- Weather Station: WH1080
- Operating System: Raspberry PI
- Location: Doncaster
Re: Website local copy problems
Hi.
Thanks for that. I did map the drive, but used the desktop rather than the command line. I'll give your reply a go.
Thanks for that. I did map the drive, but used the desktop rather than the command line. I'll give your reply a go.
-
Gregorean
- Posts: 82
- Joined: Tue 12 May 2020 11:41 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Raspberry Pi 4B
- Location: Amersfoort, The Netherlands
- Contact:
Re: Website local copy problems
Why not run CumulusMX and a web server on the same Raspberry Pi, then you won't have this kind of problem.
I am running CumulusMX and UIMX and a NGINX web server here on a 128Gb SSD usb dongle that is in the RPI3B. Has been working for years without any problems.
I am running CumulusMX and UIMX and a NGINX web server here on a 128Gb SSD usb dongle that is in the RPI3B. Has been working for years without any problems.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
http://element14.synology.me