Weewx 5.0.0 b13 ftp error 553 Could not create file.

82 views
Skip to first unread message

Maarten Weerman

unread,
Oct 31, 2023, 1:48:25 AM10/31/23
to weewx...@googlegroups.com
Hi all,

I'm running weewx 5.0.0 build 13 together with Fine Offset WH 3080 and both worked fine until this evening.

The wh3080 is known for having a usb lockup every now and then (can be anything from 3 days to 4 weeks if all goes well) and today it was that time again. So i did what i always do, stopping weewx, resetting the station and starting weewx again. After an hour or so i looked up the data on my website realizing that it is still not updating.

Taking a look on the error log, i noticed that i get an error 553 everytime ftpgenerator wanted to upload a file.
Ftp username, password and server name are correct and i haven't changed anything in the weewx.conf

Any ideas what i can do?

Here's the error log

Oct 30 21:00:12 raspberrypi dbus-daemon[1044]: [session uid=1000 pid=1044] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.10' (uid=1000 pid=1219 comm="pcmanfm --desktop --profile LXDE-pi ")
Oct 30 21:00:12 raspberrypi systemd[713]: Starting Virtual filesystem metadata service...
Oct 30 21:00:13 raspberrypi dbus-daemon[1044]: [session uid=1000 pid=1044] Successfully activated service 'org.gtk.vfs.Metadata'
Oct 30 21:00:13 raspberrypi systemd[713]: Started Virtual filesystem metadata service.
Oct 30 21:00:14 raspberrypi dbus-daemon[390]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.48' (uid=1000 pid=1216 comm="lxpanel --profile LXDE-pi ")
Oct 30 21:00:14 raspberrypi systemd[1]: Starting PackageKit Daemon...
Oct 30 21:00:14 raspberrypi PackageKit: daemon start
Oct 30 21:00:17 raspberrypi dbus-daemon[390]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Oct 30 21:00:17 raspberrypi systemd[1]: Started PackageKit Daemon.
Oct 30 21:00:23 raspberrypi PackageKit: refresh-cache transaction /1684_ceecddcd from uid 1000 finished with success after 6239ms
+Oct 30 21:00:32 raspberrypi PackageKit: get-updates transaction /1686_acbebeae from uid 1000 finished with success after 8775ms
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewxd: Initializing weewx version 5.0.0b13
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewxd: Using Python 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewxd: Located at /usr/bin/python3
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewxd: Platform Linux-5.15.32-v7+-armv7l-with-glibc2.31
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewxd: Locale is 'de_DE.UTF-8'
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewxd: Entry path: /usr/local/lib/python3.9/dist-packages/weewxd.py
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewxd: Using configuration file /home/weewx/weewx.conf
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewxd: Debug is 0
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewx.engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewx.drivers.fousb: driver version is 1.3
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewx.drivers.fousb: polling mode is PERIODIC
Oct 30 21:00:51 raspberrypi weewx[1841] INFO weewx.drivers.fousb: polling interval is 60
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.drivers.fousb: found station on USB bus= device=
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.engine: StdConvert target unit is 0x1
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.engine: Archive will use data binding wx_binding
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.engine: Record generation will be attempted in 'software'
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.engine: Using archive interval of 300 seconds (software record generation)
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.restx: StationRegistry: Station will be registered.
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.restx: Wunderground: Posting not enabled.
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.restx: PWSweather: Posting not enabled.
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.restx: CWOP: Posting not enabled.
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.restx: WOW: Posting not enabled.
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.restx: AWEKAS: Data will be uploaded for user Georg8019
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewxd: Starting up weewx version 5.0.0b13
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.manager: Starting backfill of daily summaries
Oct 30 21:00:52 raspberrypi weewx[1841] INFO weewx.manager: Daily summaries up to date
Oct 30 21:00:53 raspberrypi weewx[1841] INFO weewx.drivers.fousb: synchronising to the weather station (quality=0)
Oct 30 21:02:41 raspberrypi weewx[1841] INFO weewx.engine: Starting main packet loop.
Oct 30 21:02:41 raspberrypi weewx[1841] INFO weewx.drivers.fousb: station status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Oct 30 21:03:41 raspberrypi weewx[1841] ERROR weewx.drivers.fousb: changing data format from 1080 to 3080
Oct 30 21:05:42 raspberrypi weewx[1841] INFO weewx.manager: Added record 2023-10-30 21:05:00 CET (1698696300) to database 'weewx.sdb'
Oct 30 21:05:42 raspberrypi weewx[1841] INFO weewx.manager: Added record 2023-10-30 21:05:00 CET (1698696300) to daily summary in 'weewx.sdb'
Oct 30 21:05:44 raspberrypi weewx[1841] INFO weewx.cheetahgenerator: Generated 8 files for report SmartphoneReport in 0.80 seconds
Oct 30 21:05:47 raspberrypi weewx[1841] INFO weewx.imagegenerator: Generated 12 images for report SmartphoneReport in 2.45 seconds
Oct 30 21:05:47 raspberrypi weewx[1841] INFO weewx.reportengine: Copied 6 files to /home/weewx/public_html/smartphone
Oct 30 21:05:47 raspberrypi weewx[1841] INFO user.belchertown: version 1.3
Oct 30 21:05:54 raspberrypi weewx[1841] ERROR weewx.restx: StationRegistry: Failed to publish record 2023-10-30 21:05:00 CET (1698696300): HTTP Error 429: TOO MANY REQUESTS
Oct 30 21:05:59 raspberrypi weewx[1841] INFO weewx.cheetahgenerator: Generated 12 files for report Belchertown in 11.63 seconds
Oct 30 21:05:59 raspberrypi weewx[1841] INFO weewx.reportengine: Copied 39 files to /home/weewx/public_html/belchertown
Oct 30 21:06:02 raspberrypi weewx[1841] INFO weewx.cheetahgenerator: Generated 1 files for report Inigo in 0.96 seconds
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weeutil.ftpupload: Failed uploading /home/weewx/public_html/weekUV.png to server rex14.flatbooster.com. Reason: '553 Could not create file.'
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'ftplib.error_perm'>': 553 Could not create file.
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/local/lib/python3.9/dist-packages/weewx/reportengine.py", line 445, in run
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/local/lib/python3.9/dist-packages/weeutil/ftpupload.py", line 208, in run
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      ftp_server.storbinary(stor_cmd, fd)
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 491, in storbinary
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      with self.transfercmd(cmd, rest) as conn:
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 386, in transfercmd
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      return self.ntransfercmd(cmd, rest)[0]
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 352, in ntransfercmd
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      resp = self.sendcmd(cmd)
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 279, in sendcmd
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      return self.getresp()
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 252, in getresp
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      raise error_perm(resp)
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****  ftplib.error_perm: 553 Could not create file.
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weeutil.ftpupload: Failed uploading /home/weewx/public_html/weekUV.png to server rex14.flatbooster.com. Reason: '553 Could not create file.'
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine: ftpgenerator: (1): caught exception '<class 'ftplib.error_perm'>': 553 Could not create file.
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/local/lib/python3.9/dist-packages/weewx/reportengine.py", line 445, in run
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/local/lib/python3.9/dist-packages/weeutil/ftpupload.py", line 208, in run
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      ftp_server.storbinary(stor_cmd, fd)
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 491, in storbinary
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      with self.transfercmd(cmd, rest) as conn:
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 386, in transfercmd
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      return self.ntransfercmd(cmd, rest)[0]
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 352, in ntransfercmd
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      resp = self.sendcmd(cmd)
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 279, in sendcmd
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      return self.getresp()
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 252, in getresp
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      raise error_perm(resp)
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****  ftplib.error_perm: 553 Could not create file.
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weeutil.ftpupload: Failed uploading /home/weewx/public_html/weekUV.png to server rex14.flatbooster.com. Reason: '553 Could not create file.'
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine: ftpgenerator: (2): caught exception '<class 'ftplib.error_perm'>': 553 Could not create file.
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/local/lib/python3.9/dist-packages/weewx/reportengine.py", line 445, in run
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/local/lib/python3.9/dist-packages/weeutil/ftpupload.py", line 208, in run
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      ftp_server.storbinary(stor_cmd, fd)
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 491, in storbinary
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      with self.transfercmd(cmd, rest) as conn:
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 386, in transfercmd
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      return self.ntransfercmd(cmd, rest)[0]
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 352, in ntransfercmd
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      resp = self.sendcmd(cmd)
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 279, in sendcmd
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      return self.getresp()
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.9/ftplib.py", line 252, in getresp
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****      raise error_perm(resp)
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine:         ****  ftplib.error_perm: 553 Could not create file.
Oct 30 21:06:03 raspberrypi weewx[1841] ERROR weewx.reportengine: ftpgenerator: Upload failed
Oct 30 21:06:14 raspberrypi weewx[1841] ERROR weewx.restx: AWEKAS: Failed to publish record 2023-10-30 21:05:00 CET (1698696300): Failed upload after 3 tries


Best regards

Georg

 

Tom Keffer

unread,
Oct 31, 2023, 7:47:31 AM10/31/23
to weewx...@googlegroups.com
While you may not have changed anything on the client side, it's quite possible things have changed on the server side. 553 errors are usually server-side. 

Things to try:

1. Double check that you have write permissions on the server for the directories that you will be ftp'ing into. 
2. Try an FTP client, such as filezilla. Does it get the same errors?
3. While using the FTP client, take a note of the FTP server. What type is it? Has it had a recent "upgrade"?

If all else fails, post your [[FTP]] section, taking care to obfuscate any passwords.

-tk


--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAKEu0RPG2UsVV356edJ6FsaEsV6QGP5wiVb_N1Puu-M23vBUVg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages