After finally getting my FTP working (many thanks to all!) I am trying to move to RSYNC but having problems.
ERROR weeutil.rsyncupload: rsync reported errors. Original command: ['rsync', '--archive', '--stats', '-e', 'ssh', '/home/pi/weewx-data/public_html/', 'mk0a7k...@grattans.org:/public_html/WeeWX']
May 15 10:45:25 rpi5trixie weewxd[659616]: ERROR weeutil.rsyncupload: **** tput: No value for $TERM and no -T specified
May 15 10:45:25 rpi5trixie weewxd[659616]: ERROR weeutil.rsyncupload: **** rsync: mkdir "/public_html/WeeWX" failed: No such file or directory (2)
May 15 10:45:25 rpi5trixie weewxd[659616]: ERROR weeutil.rsyncupload: **** rsync error: error in file IO (code 11) at main.c(661) [Receiver=3.1.3]
[[FTP]]
# FTP'ing the results to a webserver is treated as just another report,
# albeit one with an unusual report generator!
skin = Ftp
# If you wish to use FTP, set "enable" to "true", then fill out the
# next four lines.
# Use quotes around the password to guard against parsing errors.
enable = false ##false
user = mk0a7kyn5q5j
password = H0xxxx
server =
grattans.org # The ftp server name, e.g,
www.myserver.org path = /public_html/WeeWX # The destination directory, e.g., /weather
# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = False
# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
HTML_ROOT = public_html
# Most FTP servers use port 21.
port = 21
# Set to 1 to use passive mode, zero for active mode
passive = 1
[[RSYNC]]
# rsync'ing to a webserver is treated as just another report.
skin = Rsync
# If you wish to use rsync, you must configure passwordless ssh using
# public/private key authentication from the user account that weewx
# runs to the user account on the remote machine where the files
# will be copied.
#
# If you wish to use rsync, set "enable" to "true", then
# fill out server, user, and path.
# The server should appear in your .ssh/config file.
# The user is the username used in the identity file.
# The path is the destination directory, such as /var/www/html/weather.
# Be sure that the user has write permissions on the destination!
enable = true
server =
grattans.org user = mk0a7kyn5q5j
path = /public_html/WeeWX
# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
#HTML_ROOT = public_html
log_success = true # log successful uploads (default = false)
log_failure = true # log unsuccessful uploads (default = false)
# Rsync can be configured to remove files from the remote server if
# they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you
# make a mistake in the remote path, you could could unintentionally
# cause unrelated files to be deleted. Set to 1 to enable remote file
# deletion, zero to allow files to accumulate remotely.
delete = 0
Can anyone spot the problem. I have tried to follow Vince's directions but have messed up somewhere. Thanks in advance.