Are you using / as the WEEWX_ROOT? That would be the problem. Look at the exiting/old weewx.conf and change the WEEWX_ROOT to that old value.
Mine, for example is # Root directory of the weewx data file hierarchy for this station WEEWX_ROOT = /home/weewx On Sunday, September 25, 2022 at 9:02:45 PM UTC-4 Yves Martin wrote: > it does not. See what I did before in the previous message. I believe I > forget something. > > YM[image: Screen Shot 2022-09-25 at 9.02.07 PM.png] > > Le dimanche 25 septembre 2022 à 12 h 13 min 34 s UTC-4, > peterq...@gmail.com a écrit : > >> The upgrade should ask which to use and leave a copy of the old one as >> weewx.conf-4.8.0 in ./etc/weewx directory >> >> On Sun, Sep 25, 2022 at 8:01 AM Yves Martin <ve2...@gmail.com> wrote: >> >>> Hi, >>> >>> I'm using weewx since years now and it works like a charm. I've decided >>> to upgrade my old version 3.9.2 to the last one 4.8.x ... and in the same >>> time, change the Raspberry Pi 2 to the version 4. The objective is to be >>> able to use the AirLink from Davis and integrate it in the meteo station. >>> For that, I need a more recent version, and an upgrade of python. >>> >>> What I did : >>> - Installed a fresh new version of Debian on a new Raspberry Pi 4b. >>> Copied all files on my weewx to the new one following the documentation : >>> >>> WeeWX root directory WEEWX_ROOT / >>> Executables BIN_ROOT /usr/share/weewx/ >>> Configuration directory CONFIG_ROOT /etc/weewx/ >>> Skins and templates SKIN_ROOT /etc/weewx/skins/ >>> SQLite databases SQLITE_ROOT /var/lib/weewx/ >>> Web pages and images HTML_ROOT /var/www/html/weewx/ >>> Documentation DOC_ROOT /usr/share/doc/weewx/ >>> Examples EXAMPLE_ROOT /usr/share/doc/weewx/examples/ >>> User directory /usr/share/weewx/user >>> >>> then I try to upgrade the version I have to the version 4 : /etc/weewx# >>> dpkg -i python-weewx_4.0.0-1_all.deb >>> >>> My issue is, the upgrade do not use my old "weewx.conf" and will create >>> a new conf file... >>> >>> Is there something I've missed? >>> >>> Regards, >>> 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 weewx-user+...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/4d54b085-9c69-47b1-a6a5-58bee4b35e92n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/4d54b085-9c69-47b1-a6a5-58bee4b35e92n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> Peter Quinn >> (415)794-2264 <(415)%20794-2264> >> > -- 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/62c4ee7c-335f-4c24-8670-e81120670dfan%40googlegroups.com.