I've tried to get information on the server or whether they changed
anything, but it does not seem so. The site is hosted by simply.com
(unoeuro.com).
Should I update to a newer version of weewx?
I think I have tried rsync sometime long ago, and tried the option now
again, but get: Permission denied (publickey) when I try to generate the
keys.
The section of weewx.conf you asked for:
[[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, uncomment and fill out the next four
lines.
#user = replace with the ftp username
#password = replace with the ftp password; put in quotes to guard
against parsing errors.
#server = replace with the ftp server name, e.g, www.threefools.org
#path = replace with the ftp 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
# If you wish to use FTP, uncomment and fill out the next four
lines:
user = jensjk.dk
password = x
server = linux83.unoeuro.com
path = /public_html/hytte
lørdag den 18. februar 2023 kl. 17.10.56 UTC+1 skrev Tom Keffer:
> That version of WeeWX is over 5 years old. There have been some
> substantive changes to the FTP uploader, mostly about FTPS. Again, are you
> using FTPS? It would be simplest if you just show the [[FTP]] section of
> weewx.conf, taking care to obfuscate any passwords.
>
> If it suddenly stopped working, then it's possible your host changed the
> server. Again, it would help if we knew what kind of server they are using.
> Or, possibly, there is a firewall issue.
>
> You say that you can connect manually?
>
> If all else fails, email me your username and credentials and I'll try on
> my end.
>
> -tk
>
> On Sat, Feb 18, 2023 at 6:19 AM Jens-Jørgen Kjærgaard <[email protected]>
> wrote:
>
>> I am already using debug=1.
>> Weewx 3.8.0
>> No change in FTP, nothing changed at all, just stopped working.
>> I post here the moment it happened:
>>
>> Feb 15 20:00:22 raspberrypi weewx[472]: imagegenerator: Generated 21
>> images for StandardReport in 1.67 seconds
>> Feb 15 20:00:22 raspberrypi weewx[472]: copygenerator: copied 0 files to
>> /home/jjk/weewx/public_html
>> Feb 15 20:00:30 raspberrypi weewx[472]: ftpgenerator: ftp'd 37 files in
>> 8.03 seconds
>> Feb 15 20:30:32 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 20:30:00 CET (1676489400) to database 'weewx.sdb'
>> Feb 15 20:30:32 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 20:30:00 CET (1676489400) to daily summary in 'weewx.sdb'
>> Feb 15 20:30:34 raspberrypi weewx[472]: cheetahgenerator: Generated 16
>> files for report StandardReport in 1.33 seconds
>> Feb 15 20:30:35 raspberrypi weewx[472]: imagegenerator: Generated 11
>> images for StandardReport in 0.69 seconds
>> Feb 15 20:30:35 raspberrypi weewx[472]: copygenerator: copied 0 files to
>> /home/jjk/weewx/public_html
>> Feb 15 20:30:41 raspberrypi weewx[472]: ftpgenerator: ftp'd 27 files in
>> 6.17 seconds
>> Feb 15 21:00:46 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 21:00:00 CET (1676491200) to database 'weewx.sdb'
>> Feb 15 21:00:46 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 21:00:00 CET (1676491200) to daily summary in 'weewx.sdb'
>> Feb 15 21:00:48 raspberrypi weewx[472]: cheetahgenerator: Generated 16
>> files for report StandardReport in 1.31 seconds
>> Feb 15 21:00:51 raspberrypi weewx[472]: imagegenerator: Generated 31
>> images for StandardReport in 2.97 seconds
>> Feb 15 21:00:51 raspberrypi weewx[472]: copygenerator: copied 0 files to
>> /home/jjk/weewx/public_html
>> Feb 15 21:01:11 raspberrypi weewx[472]: ftpupload: Unable to connect or
>> log into server : timed out
>> Feb 15 21:01:31 raspberrypi weewx[472]: ftpupload: Unable to connect or
>> log into server : timed out
>> Feb 15 21:01:51 raspberrypi weewx[472]: ftpupload: Unable to connect or
>> log into server : timed out
>> Feb 15 21:01:51 raspberrypi weewx[472]: ftpgenerator: ftp'd 0 files in
>> 60.35 seconds
>> Feb 15 21:07:06 raspberrypi kernel: [192177.988627] w1_master_driver
>> w1_bus_master1: Attaching one wire slave 28.031504aba7ff crc 78
>> Feb 15 21:14:47 raspberrypi kernel: [192638.821721] w1_master_driver
>> w1_bus_master1: Attaching one wire slave 28.031504aba7ff crc 78
>> Feb 15 21:17:20 raspberrypi kernel: [192792.392712] w1_master_driver
>> w1_bus_master1: Attaching one wire slave 28.031504aba7ff crc 78
>> Feb 15 21:30:49 raspberrypi kernel: [193601.358132] w1_master_driver
>> w1_bus_master1: Attaching one wire slave 28.031504aba7ff crc 78
>> Feb 15 21:31:00 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 21:30:00 CET (1676493000) to database 'weewx.sdb'
>> Feb 15 21:31:00 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 21:30:00 CET (1676493000) to daily summary in 'weewx.sdb'
>> Feb 15 21:31:02 raspberrypi weewx[472]: cheetahgenerator: Generated 16
>> files for report StandardReport in 1.34 seconds
>> Feb 15 21:31:02 raspberrypi weewx[472]: imagegenerator: Generated 11
>> images for StandardReport in 0.68 seconds
>> Feb 15 21:31:02 raspberrypi weewx[472]: copygenerator: copied 0 files to
>> /home/jjk/weewx/public_html
>> Feb 15 21:31:22 raspberrypi weewx[472]: ftpupload: Unable to connect or
>> log into server : timed out
>> Feb 15 21:31:42 raspberrypi weewx[472]: ftpupload: Unable to connect or
>> log into server : timed out
>> Feb 15 21:32:03 raspberrypi weewx[472]: ftpupload: Unable to connect or
>> log into server : timed out
>> Feb 15 21:32:03 raspberrypi weewx[472]: ftpgenerator: ftp'd 0 files in
>> 60.33 seconds
>> Feb 15 22:00:20 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 22:00:00 CET (1676494800) to database 'weewx.sdb'
>> Feb 15 22:00:20 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 22:00:00 CET (1676494800) to daily summary in 'weewx.sdb'
>> Feb 15 22:00:21 raspberrypi weewx[472]: cheetahgenerator: Generated 16
>> files for report StandardReport in 1.33 seconds
>> Feb 15 22:00:23 raspberrypi weewx[472]: imagegenerator: Generated 21
>> images for StandardReport in 1.67 seconds
>> Feb 15 22:00:23 raspberrypi weewx[472]: copygenerator: copied 0 files to
>> /home/jjk/weewx/public_html
>> Feb 15 22:00:43 raspberrypi weewx[472]: ftpupload: Unable to connect or
>> log into server : timed out
>> Feb 15 22:01:03 raspberrypi weewx[472]: ftpupload: Unable to connect or
>> log into server : timed out
>> Feb 15 22:01:23 raspberrypi weewx[472]: ftpupload: Unable to connect or
>> log into server : timed out
>> Feb 15 22:01:23 raspberrypi weewx[472]: ftpgenerator: ftp'd 0 files in
>> 60.33 seconds
>> Feb 15 22:30:33 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 22:30:00 CET (1676496600) to database 'weewx.sdb'
>> Feb 15 22:30:34 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 22:30:00 CET (1676496600) to daily summary in 'weewx.sdb'
>> Feb 15 22:30:34 raspberrypi weewx[472]: engine: garbage collected 18609
>> objects
>> Feb 15 22:30:35 raspberrypi weewx[472]: cheetahgenerator: Generated 16
>> files for report StandardReport in 1.33 seconds
>> Feb 15 22:30:36 raspberrypi weewx[472]: imagegenerator: Generated 11
>> images for StandardReport in 0.69 seconds
>> Feb 15 22:30:36 raspberrypi weewx[472]: copygenerator: copied 0 files to
>> /home/jjk/weewx/public_html
>> Feb 15 22:40:39 raspberrypi weewx[472]: **** Traceback (most
>> recent call last):
>> Feb 15 22:40:39 raspberrypi weewx[472]: **** File
>> "/home/jjk/weewx/bin/weewx/reportengine.py", line 325, in run
>> Feb 15 22:40:39 raspberrypi weewx[472]: **** n =
>> ftp_data.run()
>> Feb 15 22:40:39 raspberrypi weewx[472]: **** File
>> "/home/jjk/weewx/bin/weeutil/ftpupload.py", line 137, in run
>> Feb 15 22:40:39 raspberrypi weewx[472]: ****
>> self._make_remote_dir(ftp_server, remote_dir_path)
>> Feb 15 22:40:39 raspberrypi weewx[472]: **** File
>> "/home/jjk/weewx/bin/weeutil/ftpupload.py", line 240, in _make_remote_dir
>> Feb 15 22:40:39 raspberrypi weewx[472]: **** raise IOError,
>> "Unable to create remote directory %s" % remote_dir_path
>> Feb 15 22:40:39 raspberrypi weewx[472]: **** IOError: Unable to
>> create remote directory /public_html/hytte/backgrounds
>> Feb 15 23:00:47 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 23:00:00 CET (1676498400) to database 'weewx.sdb'
>> Feb 15 23:00:47 raspberrypi weewx[472]: manager: Added record 2023-02-15
>> 23:00:00 CET (1676498400) to daily summary in 'weewx.sdb'
>>
>> lørdag den 18. februar 2023 kl. 14.24.28 UTC+1 skrev Tom Keffer:
>>
>>> I thought you switched to rsync? If at all possible, you should see the
>>> transition through --- rsync is far superior to FTP.
>>>
>>> Regarding FTP, I am assuming that you did not change anything, such as
>>> switching to FTPS?
>>>
>>> What version of WeeWX?
>>>
>>> Run again, this time using debug=1 and post the log. The debug setting
>>> will give us information about how the server is responding.
>>>
>>> It's possible your host switched FTP software, or changed a setting.
>>> Some servers are known to have bugs. It would help if we knew which server
>>> they are using.
>>>
>>> -tk
>>>
>>> On Fri, Feb 17, 2023 at 10:21 PM Jens-Jørgen Kjærgaard <
>>> [email protected]> wrote:
>>>
>>>> In two days now, the station is not uploading files. They are correctly
>>>> generated, but I get a timeout on ftpupload:
>>>>
>>>>
>>>> Feb 18 00:00:37 raspberrypi systemd[1]: logrotate.service: Succeeded.
>>>> Feb 18 00:00:37 raspberrypi systemd[1]: Started Rotate log files.
>>>> Feb 18 00:00:38 raspberrypi systemd[1]: man-db.service: Succeeded.
>>>> Feb 18 00:00:38 raspberrypi systemd[1]: Started Daily man-db
>>>> regeneration.
>>>> Feb 18 00:01:01 raspberrypi CRON[4827]: (root) CMD (python
>>>> /home/jjk/1lyd.py)
>>>> Feb 18 00:01:01 raspberrypi CRON[4828]: (root) CMD
>>>> (/home/jjk/soetemp-txt.py)
>>>> Feb 18 00:01:01 raspberrypi CRON[4830]: (root) CMD (/home/jjk/raspi.sh)
>>>> Feb 18 00:01:01 raspberrypi CRON[4814]: (CRON) info (No MTA installed,
>>>> discarding output)
>>>> Feb 18 00:01:02 raspberrypi CRON[4813]: (CRON) info (No MTA installed,
>>>> discarding output)
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: pond: found value of 39.4
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: lyd: found value of 7.5
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: manager: Added record
>>>> 2023-02-18 00:00:00 CET (1676674800) to database 'weewx.sdb'
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: manager: Added record
>>>> 2023-02-18 00:00:00 CET (1676674800) to daily summary in 'weewx.sdb'
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: restx: StationRegistry: wait
>>>> interval (7200 < 604800) has not passed for record 2023-02-18 00:00:00 CET
>>>> (1676674800)
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: reportengine: Running reports
>>>> for latest time in the database.
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: reportengine: Running report
>>>> StandardReport
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: reportengine: Found
>>>> configuration file /home/jjk/weewx/skins/Standard/skin.conf for report
>>>> StandardReport
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: cheetahgenerator: using search
>>>> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
>>>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
>>>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
>>>> Feb 18 00:01:08 raspberrypi weewx[470]: manager: Daily summary version
>>>> is 2.0
>>>> Feb 18 00:01:09 raspberrypi weewx[470]: cheetahgenerator: Generated 16
>>>> files for report StandardReport in 1.37 seconds
>>>> Feb 18 00:01:09 raspberrypi weewx[470]: manager: Daily summary version
>>>> is 2.0
>>>> Feb 18 00:01:15 raspberrypi weewx[470]: imagegenerator: Generated 41
>>>> images for StandardReport in 5.44 seconds
>>>> Feb 18 00:01:15 raspberrypi weewx[470]: copygenerator: copied 0 files
>>>> to /home/jjk/weewx/public_html
>>>> Feb 18 00:01:15 raspberrypi weewx[470]: reportengine: Running report FTP
>>>> Feb 18 00:01:15 raspberrypi weewx[470]: reportengine: Found
>>>> configuration file /home/jjk/weewx/skins/Ftp/skin.conf for report FTP
>>>> Feb 18 00:01:15 raspberrypi weewx[470]: ftpupload: Attempting
>>>> connection to linux83.unoeuro.com
>>>> Feb 18 00:01:15 raspberrypi weewx[470]: ftpupload: Connected to
>>>> linux83.unoeuro.com
>>>> Feb 18 00:01:35 raspberrypi weewx[470]: ftpupload: Attempt #1. Failed
>>>> uploading /public_html/hytte/weekinside.png to linux83.unoeuro.com.
>>>> Reason: timed out
>>>> Feb 18 00:01:41 raspberrypi CRON[4815]: (CRON) info (No MTA installed,
>>>> discarding output)
>>>> Feb 18 00:02:16 raspberrypi weewx[470]: ftpupload: Attempt #3. Failed
>>>> uploading /public_html/hytte/weekinside.png to linux83.unoeuro.com.
>>>> Reason: timed out
>>>> Feb 18 00:02:16 raspberrypi weewx[470]: ftpupload: Failed to upload
>>>> file /public_html/hytte/weekinside.png
>>>> Feb 18 00:02:36 raspberrypi weewx[470]: ftpupload: Attempt #1. Failed
>>>> uploading /public_html/hytte/weekpond.png to linux83.unoeuro.com.
>>>> Reason: timed out
>>>> Feb 18 00:02:56 raspberrypi weewx[470]: ftpupload: Attempt #2. Failed
>>>> uploading /public_html/hytte/weekpond.png to linux83.unoeuro.com.
>>>> Reason: timed out
>>>> Feb 18 00:03:16 raspberrypi weewx[470]: ftpupload: Attempt #3. Failed
>>>> uploading /public_html/hytte/weekpond.png to linux83.unoeuro.com.
>>>> Reason: timed out
>>>> Feb 18 00:03:16 raspberrypi weewx[470]: ftpupload: Failed to upload
>>>> file /public_html/hytte/weekpond.png
>>>>
>>>> Manually , I can upload all - and ftp works fine?
>>>>
>>>> --
>>>> 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/0e04518c-1199-496a-8480-ab8b1a03a1e0n%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/weewx-user/0e04518c-1199-496a-8480-ab8b1a03a1e0n%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/43190cad-732a-4aa2-bf1f-95034b7aa017n%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/43190cad-732a-4aa2-bf1f-95034b7aa017n%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/1778e9d1-4146-4934-8aa8-949dd027af6cn%40googlegroups.com.