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

ftp issues

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
liddelljs
Posts: 122
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

ftp issues

Post by liddelljs »

Well what started out today as a simple backup of one of my stations has turned into a bit of a nightmare. Shortly after completing the backup, I noticed the web pages weren't updating. I should declare at this point that I did forget to stop MX using the systemctl stop command before commencing the backup. Checking the diags file, ftp errors are showing. These have been reported previously but a stop and restart of MX seemed to fix the problem. Not in my case. after a restart, the errors were still there. I have re-installed the backup I just completed (no joy) and then gone back to the basic 3121 distribution and the errors remain. I suspect it is something outside of MX itself but is now beyond my capability to resolve. Hopefully someone can point me in the right direction. I wondered whether it is something to do with the MX service. My MXdiags file attached.
I am running MX on a raspberry pi version 2. OS is buster

Cheers
Steve
You do not have the required permissions to view the files attached to this post.
sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: ftp issues

Post by sutne »

You are trying to SFTP to a computer in your local network. Is that what you intend to do?

Code: Select all

 2021-03-28 15:51:07.111 SFTP[0]: Attempting realtime SFTP connect to host 192.168.1.2 on port 22
If not, you should check your Settings.
liddelljs
Posts: 122
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

Re: ftp issues

Post by liddelljs »

That is correct. It is in fact the same Rpi running MX which is also running an apache webserver. Has never given me an issue until today and I have a second station with the same setup that is running fine. The SFTP is to the /var/www directory on the Rpi.

Cheers
Steve
sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: ftp issues

Post by sutne »

Then you have to check the SFTP-server on the RPi.
liddelljs
Posts: 122
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

Re: ftp issues

Post by liddelljs »

Thanks Steiner for your response. Unfortunately that is where my capability runs out. I'll do some googling to see what I can uncover. I do think this is an issue outside MX.

Cheers
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: ftp issues

Post by mcrossley »

Unless you have installed an SFTP server on your Pi, you should be connecting FileZilla using the SSH protocol (port 22), not SFTP.

Using FileZilla to look at your Cumulus files etc, would normally be done via SSH.
liddelljs
Posts: 122
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

Re: ftp issues

Post by liddelljs »

Hi Mark,
Thanks for your response. I do connect using bitvise ssh port 22 but my take on these errors was thinking they related to the ftp upload of the data to my web directory. When the problem started all ftp uploads stopped so no gauge page or web page update. I had seen this reported before (below) but the fix seemed to be a stop and restart of MX. In my case this didn't seem to work.
The problem seemed to fix itself last night and not sure what I did. Any insights as to why it might have happened would be useful for me to understand. Have I mis-interpreted the errors?

Cheers
Steve

viewtopic.php?f=40&t=19195&p=152523&hil ... le#p152523
Post Reply