To anyone in a similar predicament, this worked perfectly for me: https://raspberrypi.stackexchange.com/a/77191
On Tue, 23 Aug 2022 at 15:00, 'Peter Fletcher' via weewx-user < [email protected]> wrote: > It sounds as if your weewx/solar Pi installation was one or (probably) two > versions behind the current ('Bullseye') version of the Pi's Debian-based > OS. While it may be possible to upgrade the OS 'around' the existing > installed programs, it would take a lot more Linux knowledge than I am > guessing you have, and would not be guaranteed to work - either in the > short or in the long term. The right solution (in addition to implementing > a better backup strategy, going forward!) is almost certainly to be to > install the latest version of the OS on a new SD Card, reinstall weewx and > your solar monitoring program, and migrate your data. > weewx is easy! All the data is stored in its database - presumably > weewx.sdb, in your case. > The solar monitoring program is obviously the issue. I assume that you > didn't write it yourself, or you would know where it stores its data. Where > did you get it? How did you originally install it? Was/is there no > documentation? I assume that you know what it is called - I would try doing > a Google search for '[program name] data location', and/or '[program name] > migrate data'. In any event, unless this produces an easy answer, your best > bet for knowledgeable further help is likely to be The Raspberry PI User > forums <https://forums.raspberrypi.com/>. > > On Tuesday, August 23, 2022 at 6:16:36 AM UTC-4 Greg Troxel wrote: > >> >> Alastair L <[email protected]> writes: >> >> > Apologies in advance for this off topic question, but I'm sure someone >> out >> > there has had a similar issue and solved it. >> >> It is but many struggle with RPIs. >> >> My advice is >> >> 0) Ask this in RPI-land instead. >> 1) first image the card you have, saving it >> 2) figure out and implement a backup strategy for your data >> 3) get another card, and do an install >> 4) mount it someplace and look at the files in the boot partition and >> see which is different from the card that was in the machine that >> broke. It is possible that your old system hasn't gotten the new >> packages. >> 5) think about using other small computers that are less pesky than the >> RPI. I like the PC engines apu2 series, but last I checked they too >> were having supply chain issues. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/-TkNcbR4Kvc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/d786142a-02bb-4049-bc28-be113cf9291en%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/d786142a-02bb-4049-bc28-be113cf9291en%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/CAKvi5dRc%2B3H5-vzzm_%3D0bvHUrG8zPcBe4C1Z7zMHz1Juc6Jb-Q%40mail.gmail.com.
