Update from 5.0 to 5.1 not showing up on the log?

139 views
Skip to first unread message

weerman

unread,
Jul 17, 2024, 3:38:12 PM7/17/24
to weewx-user
Hi all,

I tried to update yesterday weewx from version 5.0 to 5.1 following the quickstart guide,
except for the optional skins and confs upgrade. 


All went well without any errors thrown out. 
But after i started weewx i noticed that the log still says "weewxd 5.0" is 
installed. 

See my attached logfile. 

Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: Initializing weewxd version 5.0.0
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: Command line: /usr/local/bin/weewxd
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: Using Python 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: Located at /usr/bin/python3
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: Platform Linux-6.1.21-v7+-armv7l-with-glibc2.31
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: Locale: 'de_DE.UTF-8'
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: Entry path: /usr/local/lib/python3.9/dist-packages/weewxd.py
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: WEEWX_ROOT: /home/weewx
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: Configuration file: /home/weewx/weewx.conf
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: User module: /home/weewx/bin/user
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewxd: Debug: 0
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewx.engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewx.drivers.fousb: driver version is 1.3
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewx.drivers.fousb: polling mode is PERIODIC
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewx.drivers.fousb: polling interval is 60
Jul 16 17:51:44 raspberrypi weewxd[8824]: INFO weewx.drivers.fousb: found station on USB bus= device=
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO user.DWD.db: thread 'DWDsave' starting
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.engine: StdConvert target unit is 0x1
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.engine: Archive will use data binding wx_binding
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.engine: Record generation will be attempted in 'software'
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.engine: Using archive interval of 300 seconds (software record generation)
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.restx: StationRegistry: Station will be registered.
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.restx: Wunderground: Posting not enabled.
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.restx: PWSweather: Posting not enabled.
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.restx: CWOP: Posting not enabled.
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.restx: WOW: Posting not enabled.
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.restx: AWEKAS: Data will be uploaded for user Georg8019
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewxd: Starting up weewx version 5.0.0
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jul 16 17:51:45 raspberrypi weewxd[8824]: INFO weewx.manager: Starting backfill of daily summaries
Jul 16 17:51:46 raspberrypi weewxd[8824]: INFO weewx.manager: Daily summaries up to date
Jul 16 17:51:46 raspberrypi weewxd[8824]: INFO weewx.drivers.fousb: synchronising to the weather station (quality=0)
Jul 16 17:52:54 raspberrypi weewxd[8824]: INFO weewx.engine: Starting main packet loop.
Jul 16 17:52:54 raspberrypi weewxd[8824]: INFO weewx.drivers.fousb: station status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)

Is that right, or do i have to upgrade the conf. file as well? 

My setup is a raspberry 2 with a Fine Offset WH3080 station.

Thank you und best regards

Georg

Tom Keffer

unread,
Jul 17, 2024, 3:49:21 PM7/17/24
to weewx...@googlegroups.com
Your weewxd module is in an unusual place, /usr/local/lib/python3.9/dist-packages/weewxd.py. It should be in ~/weewx-data/...

How did you do the original install? Did you set up a virtual environment? Or, press on using "sudo".

Did you remember to activate your virtual environment before upgrading?

--
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/ec4bfc2a-8d8e-4065-9e31-86e7b5c2f7a7n%40googlegroups.com.

weerman

unread,
Jul 17, 2024, 7:32:18 PM7/17/24
to weewx-user

Hi,

I have just looked for the weewx-data folder and it is in the same folder you mentioned.. it looks like i must have messed up something during the installation of weewx 5.0.
Should i try to reinstall  weewx 5.0 again? 

Best regards

Georg

Tom Keffer

unread,
Jul 17, 2024, 8:00:00 PM7/17/24
to weewx...@googlegroups.com
Well, how did you do the upgrade?

weerman

unread,
Aug 8, 2024, 8:36:18 AM8/8/24
to weewx-user
Good morning,

Just an update: I was able to fix my problem.
I had mistakenly installed venv in a folder that was not a weewx folder. 
So I installed the venv folder inside the weewx folder and activated venv and then upgraded to 5.0 and then version 5.1. Now the upgrade worked .

BR Georg
Reply all
Reply to author
Forward
0 new messages