[weewx-user] weewx not updating after upgrade from 3.9 to 4.1.1
Hello, I just recently updated my RPi weewx 3.9.x to latest 4.1.1. I have not upgraded my conf files - choosed N option, during update. The webpage actualisations are not working. Can anybody help me, please? What should I change? sudo tail /var/log/syslog > Jun 21 10:44:18 raspberrypi systemd[1]: systemd-hostnamed.service: > Succeeded. > Jun 21 10:44:49 raspberrypi systemd[1]: Started Session c3 of user pi. > Jun 21 10:45:40 raspberrypi dbus-daemon[312]: [system] Activating via > systemd: service name='org.freedesktop.PackageKit' > unit='packagekit.service' requested by ':1.26' (uid=0 pid=1138 > comm="/usr/bin/gdbus call --system --dest org.freedeskto") > Jun 21 10:45:40 raspberrypi systemd[1]: Starting PackageKit Daemon... > Jun 21 10:45:40 raspberrypi PackageKit: daemon start > Jun 21 10:45:40 raspberrypi dbus-daemon[312]: [system] Successfully > activated service 'org.freedesktop.PackageKit' > Jun 21 10:45:40 raspberrypi systemd[1]: Started PackageKit Daemon. > Jun 21 10:50:45 raspberrypi PackageKit: daemon quit > Jun 21 10:50:45 raspberrypi systemd[1]: packagekit.service: Main process > exited, code=killed, status=15/TERM > Jun 21 10:50:45 raspberrypi systemd[1]: packagekit.service: Succeeded. Thanks, Michal -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e1e30dac-39d1-4c09-a24a-a628d1e8f628o%40googlegroups.com.
[weewx-user] Weewx stopped updating /var/www/html/weewx/index.html
Ok, I've been fighting this for a quite a while now I did have this working fine then 1 day is just stopped updating the data. It writes new index.html files but it's from over a month ago when I rebooted and I've had this issue for months. I've tried setting mobile=true and it's the same, last update 1/16/20. I've turned debug on and don't see anything that stands out. I did update to the latest version ( 3.9.2 ) a couple months back hoping that would help and it didn't. I did see something that didn't look right in the weewx.conf, the WEEWX_ROOT was = /. I tried changing to /var/lib/weewx as that's where I think the data should be but that made no difference. I'm attaching the conf file and the output from the messages file from a weewx restart is below. Any guidance would be very welcome. I was a wview using and gave up on that a couple years back and have had good luck with weewx until this issue. I really like this tool and have come to rely on it. URL=http://www.deadduck.net/weather root@deadduck:/etc# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic root@deadduck:/etc# I have a DavisPro weather station and have a Weather envoy connected to the server via USB. I have multiple other Davis consoles in the house and they're all working properly. What else can I tell you?? Thanks, Troy -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8ea6c531-4814-435d-bdef-8dfa11d63304%40googlegroups.com. # WEEWX CONFIGURATION FILE # # Copyright (c) 2009-2019 Tom Keffer # See the file LICENSE.txt for your rights. ## # This section is for general configuration information. # Set to 1 for extra debug info, otherwise comment it out or set to zero debug = 1 # Root directory of the weewx data file hierarchy for this station #WEEWX_ROOT = / WEEWX_ROOT = /var/lib/weewx # Whether to log successful operations log_success = True # Whether to log unsuccessful operations log_failure = True # How long to wait before timing out a socket (FTP, HTTP) connection socket_timeout = 20 # Do not modify this. It is used when installing and updating weewx. version = 3.9.2 ## # This section is for information about the station. [Station] # Description of the station location location = Lakota Ridge # Latitude and longitude in decimal degrees latitude = 40.3 longitude = -105.2 # Altitude of the station, with unit it is in. This is downloaded from # from the station if the hardware supports it. altitude = 6100, foot # Set to type of station hardware. There must be a corresponding stanza # in this file with a 'driver' parameter indicating the driver to be used. station_type = Vantage # If you have a website, you may specify an URL station_url = http://www.deadduck.net/weather # The start of the rain year (1=January; 10=October, etc.). This is # downloaded from the station if the hardware supports it. rain_year_start = 1 # Start of week (0=Monday, 6=Sunday) week_start = 6 ## [Vantage] # This section is for the Davis Vantage series of weather stations. # Connection type: serial or ethernet # serial (the classic VantagePro) # ethernet (the WeatherLinkIP or Serial-Ethernet bridge) type = serial # If the connection type is serial, a port must be specified: # Debian, Ubuntu, Redhat, Fedora, and SuSE: # /dev/ttyUSB0 is a common USB port name # /dev/ttyS0 is a common serial port name # BSD: # /dev/cuaU0 is a common serial port name port = /dev/ttyUSB0 # If the connection type is ethernet, an IP Address/hostname is required: host = 1.2.3.4 ## # The rest of this section rarely needs any attention. # You can safely leave it "as is." ## # Serial baud rate (usually 19200) baudrate = 19200 # TCP port (when using the WeatherLinkIP) tcp_port = 2 # TCP send delay (when using the WeatherLinkIP): tcp_send_delay = 0.5 # The id of your ISS station (usually 1). If you use a wind meter connected # to a anemometer transmitter kit, use its id iss_id = 1 # How long to wait for a response from the station before giving up (in # seconds; must be greater than 2)
[weewx-user] WeeWx stopped updating
Hi, Copying 0 files is not unusual. We really need to see a longer log extract to work out what is going on. Please edit weewx.conf, set debug = 1, save weewx.conf then restart WeeWX. Let WeeWX run for at least 3 archive periods and then take a log extract from when you restarted WeeWX until the 3 archive periods have passed. Post the log extract here. Gary PS. You will see your WeeWX version listed early on in the log extract. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c60527c2-f7e3-4b48-bde1-3d3cc9ded122%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] WeeWx stopped updating
WeeWx (actually how can I find out version?) was running fine for several months on my Raspberry Pi. All of a sudden it stopped updating. In syslog I can see, that WeeWx is still running. But it does not copy files to /home/weewx/public_html any more. Jun 25 17:05:18 raspberrypiWeewx weewx[493]: manager: Added record 2019-06-25 17:05:00 CEST (1561475100) to database 'weewx.sdb' Jun 25 17:05:18 raspberrypiWeewx weewx[493]: manager: Added record 2019-06-25 17:05:00 CEST (1561475100) to daily summary in 'weewx.sdb' Jun 25 17:05:21 raspberrypiWeewx weewx[493]: cheetahgenerator: Generated 14 files for report StandardReport in 1.86 seconds Jun 25 17:05:31 raspberrypiWeewx weewx[493]: imagegenerator: Generated 49 images for StandardReport in 10.13 seconds Jun 25 17:05:31 raspberrypiWeewx weewx[493]: copygenerator: copied 0 files to /home/weewx/public_html Jun 25 17:05:38 raspberrypiWeewx weewx[493]: ftpgenerator: ftp'd 63 files in 7.10 seconds I have no idea how this happend. Did not touch anything for weeks. One possible problem I can imagine is, that date and time were for some reason way off on my Raspberry. I corrected this. How can I fix this problem? -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8f7bc0b2-43c0-4931-8d0d-92efb171a5df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [weewx-user] WeeWX Not updating
Hard to say without knowing the type of weather station and without seeing the log. -tk Fat-fingered from my Android On Aug 27, 2017 5:01 AM, "Den S"wrote: > A power failure shut down my Pi WeeWx server when it restarted it is stuck > on 8/25/17. The /var/www/html/weather files are all being updated but the > WeeWx data and date are stuck on the day of the outage. > Any help would be greatly appreciated. > Den > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] WeeWX Not updating
A power failure shut down my Pi WeeWx server when it restarted it is stuck on 8/25/17. The /var/www/html/weather files are all being updated but the WeeWx data and date are stuck on the day of the outage. Any help would be greatly appreciated. Den -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] WeeWX not updating after power failure
I had a hard powerdown of my WeeWX Pi the other day, and ever since it hasn't been updating the web pages or external weather feeds. I see some archive update errors after the crash, the logs show the following and my last update was at 18:35: Jan 25 18:35:16 weather weewx[763]: manager: unable to add record 2017-01-25 18:20:00 PST (1485397200) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime Jan 25 18:35:16 weather weewx[763]: manager: unable to add record 2017-01-25 18:20:00 PST (1485397200) to database 'archive/weewxwd.sdb': UNIQUE constraint failed: archive.dateTime Jan 25 18:35:17 weather weewx[763]: restx: ISY: Published record 2017-01-25 18:20:00 PST (1485397200) Jan 25 18:35:17 weather weewx[763]: manager: unable to add record 2017-01-25 18:25:00 PST (1485397500) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime Jan 25 18:35:17 weather weewx[763]: manager: unable to add record 2017-01-25 18:25:00 PST (1485397500) to database 'archive/weewxwd.sdb': UNIQUE constraint failed: archive.dateTime Jan 25 18:35:17 weather weewx[763]: restx: EmonCMS: Published record 2017-01-25 18:20:00 PST (1485397200) Jan 25 18:35:17 weather weewx[763]: manager: unable to add record 2017-01-25 18:30:00 PST (1485397800) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime Jan 25 18:35:17 weather weewx[763]: manager: unable to add record 2017-01-25 18:30:00 PST (1485397800) to database 'archive/weewxwd.sdb': UNIQUE constraint failed: archive.dateTime Jan 25 18:35:17 weather weewx[763]: restx: PWSWeather: Published record 2017-01-25 18:20:00 PST (1485397200) Jan 25 18:35:17 weather weewx[763]: restx: ISY: Published record 2017-01-25 18:25:00 PST (1485397500) Jan 25 18:35:17 weather weewx[763]: manager: unable to add record 2017-01-25 18:35:00 PST (1485398100) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime Jan 25 18:35:17 weather weewx[763]: manager: unable to add record 2017-01-25 18:35:00 PST (1485398100) to database 'archive/weewxwd.sdb': UNIQUE constraint failed: archive.dateTime These errors show up until 19:05, then there are no more errors until after midnight on the 27th. After that each update cycle shows: Jan 27 00:00:33 weather weewx[754]: reportengine: Caught unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator Jan 27 00:00:33 weather weewx[754]: start time (1485504000) is greater than stop time (1485484500) Jan 27 00:00:33 weather weewx[754]: Traceback (most recent call last): Jan 27 00:00:33 weather weewx[754]: File "/usr/share/weewx/weewx/reportengine.py", line 238, in run Jan 27 00:00:33 weather weewx[754]: obj.start() Jan 27 00:00:33 weather weewx[754]: File "/usr/share/weewx/weewx/reportengine.py", line 271, in start Jan 27 00:00:33 weather weewx[754]: self.run() Jan 27 00:00:33 weather weewx[754]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 150, in run Jan 27 00:00:33 weather weewx[754]: ngen = self.generate(gen_dict[section_name], self.gen_ts) Jan 27 00:00:33 weather weewx[754]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in generate Jan 27 00:00:33 weather weewx[754]: ngen += self.generate(section[subsection], gen_ts) Jan 27 00:00:33 weather weewx[754]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in generate Jan 27 00:00:33 weather weewx[754]: ngen += self.generate(section[subsection], gen_ts) Jan 27 00:00:33 weather weewx[754]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 305, in generate Jan 27 00:00:33 weather weewx[754]: default_binding) Jan 27 00:00:33 weather weewx[754]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 357, in _getSearchList Jan 27 00:00:33 weather weewx[754]: searchList += obj.get_extension_list(timespan, db_lookup) Jan 27 00:00:33 weather weewx[754]: File "/usr/share/weewx/user/wdSearchX3.py", line 859, in get_extension_list Jan 27 00:00:33 weather weewx[754]: (time_start_vt, time_stop_vt, wind_speed_vt) = db_lookup().getSqlVectors(weeutil.weeutil.TimeSpan(midnight_ts, timespan.stop), 'windSpeed') Jan 27 00:00:33 weather weewx[754]: File "/usr/share/weewx/weeutil/weeutil.py", line 315, in __new__ Jan 27 00:00:33 weather weewx[754]: raise ValueError("start time (%d) is greater than stop time (%d)" % (args[0], args[1])) Jan 27 00:00:33 weather weewx[754]: ValueError: start time (1485504000) is greater than stop time (1485484500) Jan 27 00:00:33 weather weewx[754]: Generator terminated Jan 27 00:00:33 weather weewx[754]: cheetahgenerator: Generated 1 files for report wdPWS in 0.37 seconds Jan 27 00:00:42 weather weewx[754]: