Hey All,
Okay, stopped weewx, did the change in sources, and an apt upgrade. Declined to replace weewx.conf, and then updated the existing one to have the weewx root properly, and start weewx. Started right away. Grabbed the one archive record that it missed during my process. Files generated relatively quickly, and rsync worked. Fwiw, still seems to run as root on here, rather than weewx. Not sure that matters. I do see a weewx user in /etc/passwd, so it got created. Rebooted the raspi and same thing, so not too worried it’s going to break. I imagine if we have to flip from root to weewx that would require some chown’s and ssh key migrations for rsync. Otherwise, seems just fine. =) I’m on a pretty “vanilla” setup, no real skin modifications, excess plugins, etc. Just a Vantage Vue pulling from a WeatherlinkIP. Of interest, it does seem like image generation seems orders of magnitude slower than 4.10 Here’s 4.10 Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79 seconds Dec 26 17:00:27 raspi-server-misc weewx[25329] INFO weewx.imagegenerator: Generated 24 images for report SeasonsReport in 2.01 seconds Dec 26 17:00:27 raspi-server-misc weewx[25329] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx Dec 26 17:00:31 raspi-server-misc weewx[25329] INFO weewx.cheetahgenerator: Generated 2 files for report Emkubed in 3.72 seconds Dec 26 17:00:31 raspi-server-misc weewx[25329] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/emkubed Dec 26 17:00:33 raspi-server-misc weewx[25329] INFO weeutil.rsyncupload: rsync'd 34 files (567,397 bytes) in 2.03 seconds Here’s 5.0rc1 Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO weewx.imagegenerator: Generated 12 images for report SeasonsReport in 74.31 seconds Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx Dec 26 17:21:51 raspi-server-misc weewxd[716]: INFO weewx.cheetahgenerator: Generated 2 files for report Emkubed in 3.81 seconds Dec 26 17:21:51 raspi-server-misc weewxd[716]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/emkubed Dec 26 17:21:53 raspi-server-misc weewxd[716]: INFO weeutil.rsyncupload: rsync'd 27 files (506,049 bytes) in 1.85 seconds Any thoughts? Thanks Tom and everyone! From: Tom Keffer <[email protected]> Sent: Tuesday, December 26, 2023 3:20 PM To: [email protected] Cc: weewx-development <[email protected]> Subject: Re: [weewx-development] V5.0 release candidate available Yes, there is a packaged version, so, yes, you do a package upgrade. NOTE: the release candidate is in a temporary apt repository, as outlined in the first message of this thread. On Tue, Dec 26, 2023 at 3:11 PM <[email protected] <mailto:[email protected]> > wrote: Hey All, I’m going to give this a go, but want to confirm based on this: https://weewx.com/docs/5.0/upgrade/ I’m just running on a raspi, and installed via apt, so I should just be able to do as documented here and upgrade this way? I swear a few months back there wasn’t going to be a packaged version of 5, and the emphasis was pushing toward using pip… that changed along the way? (sorry for being oblivious to that change, I try to at least glance at all the emails via this list, I must have just missed it). Thanks! From: [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]> > On Behalf Of Tom Keffer Sent: Thursday, December 21, 2023 3:07 PM To: weewx-development <[email protected] <mailto:[email protected]> > Subject: [weewx-development] V5.0 release candidate available Celebrate the solstice (coming up in 4 hours) and the start of Winter with a WeeWX release candidate! Changes since b17 We gave up on a standalone logger and have gone back to whatever your system uses. This is more robust to permission problems, but may make it harder to get the logs back out. See the wiki article View logs <https://github.com/weewx/weewx/wiki/view-logs> for tips on how to convince your system to let you have a look. As always, you can add a [Logging] section to weewx.conf and set up your own rotating log system. See the article WeeWX V4 and logging <https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging> for how to do this. Pip For pip installs, please delete your old virtual environment, then install from scratch by following the pip install instructions <https://weewx.com/docs/5.0/quickstarts/pip/#install-in-a-virtual-environment> . While upgrading should work, we are particularly interested in the experience of a new install, including setting up a daemon and udev files. Make sure to follow the new instructions that use a daemon setup script. Debian For Debian package installs, modify /etc/apt/sources.list as follows: echo "deb [arch=all] https://weewx.com/ <https://weewx.com/apt-test/python3> apt-test/python3 buster main" | sudo tee /etc/apt/sources.list.d/weewx.list Note the "apt-test". This tells apt to look there for the beta release, instead of the normal repository. You may want to change it back when you're done. Red Hat For Red Hat package installs, put this in /etc/yum.repos.d/weewx.repo [weewx] name=weewx baseurl=http://weewx.com/ <http://weewx.com/yum-test/weewx/el9> yum-test/weewx/el9 enabled=1 Note the "yum-test". This tells yum to look there for the beta release, instead of the normal repository. Again, you may want to change things back when you're done. What we're looking for 1. We are interested in your upgrade experience. Did the installers get your configuration file right? Skins? Is the daemon configured correctly? 2. With this release, we have included udev rules to set the correct permissions for devices. Did it work? If not, did unplugging then replugging the device work? 3. How about logging? Is it going to your system logger? Do the labels look reasonable? Thanks! -Tom & Matt -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]> . To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zECFSEWf9immM3fFroWU79GcYyT65ibe8w1hWd-XJ92s1g%40mail.gmail.com <https://groups.google.com/d/msgid/weewx-development/CAPq0zECFSEWf9immM3fFroWU79GcYyT65ibe8w1hWd-XJ92s1g%40mail.gmail.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/03d301da3863%248b043f00%24a10cbd00%24%40gmail.com.
