The Rpi4B has nothing to do with it (ca n'en a rien à voir - rien du tout !)
Just do the following things:
1. save your old .../skins/Seasons directory and its content
2. save your old weewx.conf
3. save your old weewx.sdb
e.g. on a USB stick
4. now do a complete new install on the new RPi (doesn't matter if RPi2,
RPi3, RPi4B, just do it !) with the simulator driver
5. make sure you have a webserver installed (apache2 or nginx)
6. if you use an extension or special driver, install that driver/extension
7. once everything works with the Simulator driver and the Seasons skin,
then
copy the files from your USB stick back
a) .../skins/Seasons and content to your new ../skins directory either
/etc/weewx/skins or /home/weewx/skins
b) weewx.conf to your new weewx directory (either /etc/weewx or
/home/weewx depending on your installation method
c) weewx.sdb to your new weewx database directory: either /var/lib/weewx
or /home/weewx/archive
start weewx - and it should just run normally using your old skin
definitions, your old weewx.conf and your old weewx database
then you have upgraded your weewx and have at the same time kept your
configuration and history
On 27.09.2022 23:29, Yves Martin wrote:
Hi Vince,
Yes but it is not working for me.
This is not just an upgrade, I've replaced the Raspberry PI by a new
version (4b) and a new distribution of Debian, including a fresh
install of Python.
When I try to upgrade, it ask me like it was a new install, and do not
consider my "weewx.conf" file.
What did I miss?
YM
Le mardi 27 septembre 2022 à 12 h 40 min 26 s UTC-4, vince a écrit :
You asked the same question on Sept-12 and Sept-25th and several
people tried to help you both times. On Sept-12 Tom pointed you
to the Upgrade Guide (link)
<https://www.weewx.com/docs/upgrading.htm#Upgrading_using_DEB_package> which
has the procedure.
On Tuesday, September 27, 2022 at 8:55:50 AM UTC-7 Yves Martin wrote:
Hi,
I have an old version of weewx : 3.9.2 and I want to upgrade
and in the same time change the hardware by something more
recent (rpi 4b), with a new version of Python...
Is there somewhere a "step by step" manual or indications to
be able to do that?
I follow instructions in the documentation, copying all files,
but it does not work, my "weewx.conf" is not recognized when I
start the upgrade ... like it was a fresh one.
Thanks!
YMartin.com/meteo
--
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/69516126-d693-4c81-aa14-76b3a74e75ddn%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/69516126-d693-4c81-aa14-76b3a74e75ddn%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/b5622137-7754-0a9a-e49d-600d298c351a%40gmail.com.