Re: [weewx-user] Weewx 5.0.0 b13 ftp error 553 Could not create file.

2023-10-31 Thread Tom Keffer
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


On Mon, Oct 30, 2023 at 10:48 PM Maarten Weerman 
wrote:

> 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.

[weewx-user] Weewx 5.0.0 b13 ftp error 553 Could not create file.

2023-10-30 Thread Maarten Weerman
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