Thanks Steve, I´m talking to my provider right now and I´ll update here if the problem is with them
On Thursday, September 15, 2022 at 7:11:29 PM UTC+2 Steve2Q wrote: > Peter..I had the exact same problem with DreamHost. For some reason they > blocked my IP. They unblocked it yesterday afternoon, and FTP started > working a few hours later. > > > On Thursday, September 15, 2022 at 9:58:56 AM UTC-4 PeterGill wrote: > >> Thanks for the quick answer. Sorry for a stupid follow up question - how >> do I make sure the right access permissions are set? >> >> >> On Thursday, September 15, 2022 at 3:52:21 PM UTC+2 [email protected] >> wrote: >> >>> I don't know why it would have changed, but make sure you have access >>> permissions to whatever directory you are trying to upload to. >>> >>> On Thu, Sep 15, 2022 at 6:39 AM PeterGill <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> Suddenly and out of the blue my ftp upload stopped working. The html >>>> files are generated as expected in /var/www/html/weewx and the file >>>> "celestial.html" referenced in the log extract below certainly exist in >>>> the >>>> library and opens correctly in Chrome. >>>> >>>> Of course reboot has been tried. >>>> >>>> Any help would be highly appreciated! >>>> >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weeutil.ftpupload: Failed >>>> uploading /var/www/html/weewx/celestial.html to server ftp.myurl.se. >>>> Reason: '550 Requested action not taken. File unavailable (e.g., file not >>>> found, no access).' >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> ftpgenerator: (2): caught exception '<class 'ftplib.error_perm'>': 550 >>>> Requested action not taken. File unavailable (e.g., file not found, no >>>> access). >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** Traceback (most recent call last): >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** File "/usr/share/weewx/weewx/reportengine.py", line 331, in run >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** n = ftp_data.run() >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** File "/usr/share/weewx/weeutil/ftpupload.py", line 178, in run >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** ftp_server.storbinary(stor_cmd, fd) >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** File "/usr/lib/python3.7/ftplib.py", line 504, in storbinary >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** with self.transfercmd(cmd, rest) as conn: >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** File "/usr/lib/python3.7/ftplib.py", line 399, in transfercmd >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** return self.ntransfercmd(cmd, rest)[0] >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** File "/usr/lib/python3.7/ftplib.py", line 365, in ntransfercmd >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** resp = self.sendcmd(cmd) >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** File "/usr/lib/python3.7/ftplib.py", line 273, in sendcmd >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** return self.getresp() >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** File "/usr/lib/python3.7/ftplib.py", line 246, in getresp >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** raise error_perm(resp) >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> **** ftplib.error_perm: 550 Requested action not taken. File unavailable >>>> (e.g., file not found, no access). >>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: >>>> ftpgenerator: Upload failed >>>> Sep 15 14:46:14 Homeserver weewx[573] DEBUG weewx.reportengine: Report >>>> 'RSYNC' not enabled. Skipping. >>>> Sep 15 14:46:16 Homeserver weewx[573] DEBUG user.MQTTSubscribe: >>>> (Service) MessageCallbackProvider data-> incoming topic: >>>> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'14.50' >>>> Sep 15 14:46:16 Homeserver weewx[573] DEBUG user.MQTTSubscribe: >>>> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: >>>> 14.5 >>>> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "weewx-user" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/ab759762-1149-47e8-bb73-911d61611c23n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/ab759762-1149-47e8-bb73-911d61611c23n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c968f6b9-87c2-46ac-89f3-985a8b9e13acn%40googlegroups.com.
