Download the new install file, ftp it over to my Pi.
Stop the service, take a copy of my current install, copy the new install over the top of the old install, restart the service.
While it was all restarting, I've copied the webfiles directory to my server.
Everything looks OK on the management console dashboard and gauges when I'm connected to the Pi but nothing is being uploaded to the server. As you can see (link in signature), it's all looking a bit poor at the moment. I've checked my ftp settings, it all looks good but I'm getting errors in the ftplog.txt file.
Code: Select all
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 3 of 50 allowed.
Response: 220-Local time is now 19:32. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Status: Detected FTP server: PureFTPd
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: FTPS Authentication Successful
Status: Time to activate encryption: 0h 0m 0s. Total Seconds: 0.071165.
Command: USER [redacted]
Command: QUIT
Warning: FtpClient.Disconnect(): Exception caught and discarded while closing control connection: System.ObjectDisposedException: Safe handle has been closed
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef (System.Boolean& success) [0x0001c] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
at System.Threading.WaitHandle.WaitOneNative (System.Runtime.InteropServices.SafeHandle waitableSafeHandle, System.UInt32 millisecondsTimeout, System.Boolean hasThreadAffinity, System.Boolean exitContext) [0x00008] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
at System.Threading.WaitHandle.InternalWaitOne (System.Runtime.InteropServices.SafeHandle waitableSafeHandle, System.Int64 millisecondsTimeout, System.Boolean hasThreadAffinity, System.Boolean exitContext) [0x00014] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
at System.Threading.WaitHandle.WaitOne (System.Int64 timeout, System.Boolean exitContext) [0x00000] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
at System.Threading.WaitHandle.WaitOne (System.Int32 millisecondsTimeout, System.Boolean exitContext) [0x00019] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
at FluentFTP.FtpSocketStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0002e] in <b4872924fc424f07ad87d26c599202dd>:0
at FluentFTP.FtpSocketStream.ReadLine (System.Text.Encoding encoding) [0x00045] in <b4872924fc424f07ad87d26c599202dd>:0
at (wrapper remoting-invoke-with-check) FluentFTP.FtpSocketStream.ReadLine(System.Text.Encoding)
at FluentFTP.FtpClient.GetReply () [0x0006e] in <b4872924fc424f07ad87d26c599202dd>:0
at FluentFTP.FtpClient.Execute (System.String command) [0x000da] in <b4872924fc424f07ad87d26c599202dd>:0
at FluentFTP.FtpClient.Disconnect () [0x0002e] in <b4872924fc424f07ad87d26c599202dd>:0
Status: Disposing FtpSocketStream...
2021-05-07 19:32:56.593 Realtime[4]: Uploading - realtime.txt
2021-05-07 19:32:56.594 FTP[4]: Uploading realtime.txt to /public_html/qso365/weather/realtime.txt
# OpenWrite("/public_html/qso365/weather/realtime.txt", Binary)
Code: Select all
Status: Connecting to [redacted]
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 3 of 50 allowed.
Response: 220-Local time is now 19:32. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Status: Detected FTP server: PureFTPd
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: FTPS Authentication Successful
Status: Time to activate encryption: 0h 0m 0s. Total Seconds: 0.073467.
Command: USER [redacted]
2021-05-07 19:32:57.092 FTP[4]: Error uploading realtime.txt to /public_html/qso365/weather/realtime.txt : Safe handle has been closed
2021-05-07 19:32:57.092 Realtime[4]: Uploading - realtimegauges.txt
2021-05-07 19:32:57.093 FTP[4]: Uploading web/realtimegauges.txt to /public_html/qso365/weather/realtimegauges.txt
# OpenWrite("/public_html/qso365/weather/realtimegauges.txt", Binary)
I can easily go back to the previous version but I'd quite like this to work
/edit - I have gone back to the previous version and I no longer see those ftp errors.
Thanks.