I used to have weewx 4.10 running smoothly with Interceptor driver. I upgraded to 5.0.2 There are the logs, and I believe I have tons of issues. I add the upgrading logs at the end.
First issue partially solved: the upgrade did not handle my /etc/default/weewx file and wasn't loading my config file. I fixed the /etc/default/weewx with this: WEEWX_PYTHON=python3 WEEWX_BINDIR=/usr/share/weewx WEEWX_CFG=/etc/weewx/weewx.conf WEEWX_BIN=/usr/bin/weewx Now, at least it's trying to do something. But it complains that No module named 'user'. I think that's because it is trying to run weewx as weewx user? Is that right? So, I thought I needed to install the interceptor driver in the weewx user account. The command is ./wee_extension --install interceptor.zip, except I only have wee_extension in /etc/weewx/scripts and those were scripts but without the +x executable permission... I added it. It's not working. $ ./wee_extension --install ~axelle/weewx-interceptor.zip python3: can't open file '/usr/share/weewx/wee_extension': [Errno 2] No such file or directory I'm no longer understanding where weewx has put its new files, thus my /etc/default/weewx file probably not correctly set. It's horrible mess. Where are things meant to be? Thanks Unpacking weewx (5.0.2-1) over (4.10.2-1) ... dpkg: warning: unable to delete old directory '/usr/share/weewx/user': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/udev/rules.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/smartphone/icons': Directory no t empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/smartphone': Directory not empt y dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/lang': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/backgrounds': Directory not emp ty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/RSS': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/NOAA': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Smartphone/lang': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Smartphone/icons': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Smartphone': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Seasons/lang': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Seasons/font': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Seasons/NOAA': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Seasons': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Rsync': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Mobile/lang': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Mobile': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Ftp': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/scripts': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/apache/conf.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/apache/conf-available': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/apache': Directory not empty Setting up python3-ephem (3.7.6.0-7+b1) ... Setting up weewx (5.0.2-1) ... Installing new version of config file /etc/weewx/import/csv-example.conf ... Installing new version of config file /etc/weewx/import/cumulus-example.conf ... Installing new version of config file /etc/weewx/import/wd-example.conf ... Installing new version of config file /etc/weewx/import/weathercat-example.conf ... Installing new version of config file /etc/weewx/import/wu-example.conf ... Installing new version of config file /etc/weewx/logrotate.d/weewx ... Installing new version of config file /etc/weewx/rsyslog.d/weewx.conf ... Configuration file '/etc/weewx/weewx.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** weewx.conf (Y/I/N/O/D/Z) [default=N] ? Using weewx:weewx as user:group Saving old defaults to /etc/default/weewx-20240303143336 Creating /etc/default/weewx Creating maintainer config file as /etc/weewx/weewx.conf-4.10.2-5.0.2 Using configuration file /etc/weewx/weewx.conf-4.10.2-5.0.2 Finished upgrading configuration file /etc/weewx/weewx.conf-4.10.2-5.0.2 Saving configuration file /etc/weewx/weewx.conf-4.10.2-5.0.2 Migrating old extensions to /etc/weewx/bin/user Saving old extensions to /usr/share/weewx/user-20240303143336 Adding system group weewx...done Adding user axelle to group weewx Installing systemd units Installing udev rules Configuring database directory /var/lib/weewx Configuring reporting directory /var/www/html/weewx Setting permissions weewx:weewx on /etc/weewx Enabling startup using systemd Synchronizing state of weewx.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable weewx -- 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/9ab310f8-9078-4d96-b096-529ea6a4c1d3n%40googlegroups.com.