Instructions to migrate from an existing install (4.10.2) to the latest version

107 views
Skip to first unread message

Sir Geek

unread,
Jun 7, 2026, 10:45:42 PM (2 days ago) Jun 7
to weewx-user
I'm trying to migrate from an old system to the current version.

I did a full update from Fedora 34 to Fedora 44 and now 4.10 isn't working.

I'd like to install the upgrade and include the older historical data.

Can anyone point me to some instructions on how to do this ?

Thanks.

John Smith

unread,
Jun 7, 2026, 11:50:31 PM (2 days ago) Jun 7
to weewx...@googlegroups.com
If you are using the default sqlite db backend, that file contains all the historic data etc.

--
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 visit https://groups.google.com/d/msgid/weewx-user/44f792f0-e86d-4aa6-859b-976cfa42b1b6n%40googlegroups.com.

Sir Geek

unread,
Jun 7, 2026, 11:53:30 PM (2 days ago) Jun 7
to weewx...@googlegroups.com
OK, I did make some progress but its still failing to startup...

When trying to create a station its failing....



Traceback (most recent call last):
File "/home/weather/bin/weectl", line 6, in <module>
sys.exit(main())
~~~~^^
File "/home/weather/lib64/python3.14/site-packages/weectl.py", line
60, in main
module = importlib.import_module(f'weectllib.{subcommand}_cmd')
File "/usr/lib64/python3.14/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
File "<frozen importlib._bootstrap>", line 1314, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 759, in exec_module
File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
File "/home/weather/lib64/python3.14/site-packages/weectllib/__init__.py",
line 9, in <module>
import weeutil.logger
File "/home/weather/bin/weeutil/logger.py", line 13, in <module>
from six.moves import StringIO
ModuleNotFoundError: No module named 'six.moves'


I did install six and the RPM is also installed
* python3-six-1.17.0-8.fc44.noarch
* python3 -m pip install --upgrade six

But it still won't start
> --
> 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/4FMiiWMALS4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
--
Matt Soffen

Vince Skahan

unread,
Jun 8, 2026, 12:01:10 AM (yesterday) Jun 8
to weewx-user
If you are running a pip installation activate your venv and ‘’then’ use pip3 to install six. 

Sir Geek

unread,
Jun 8, 2026, 12:35:23 AM (yesterday) Jun 8
to weewx...@googlegroups.com
Thanks - I did this

(weather) [root@callie weather]# pip3 install six
Requirement already satisfied: six in ./lib64/python3.14/site-packages (1.17.0)
> To view this discussion visit https://groups.google.com/d/msgid/weewx-user/33370002-2d09-4d3c-b69f-dc0cb4aef082n%40googlegroups.com.



--
Matt Soffen

Sir Geek

unread,
Jun 8, 2026, 1:31:55 AM (yesterday) Jun 8
to weewx...@googlegroups.com
I figured out the issue

It was because I installed 5.x insto the same folder that 4.10.2 was
in - and it didn't clear out the other files.


Its now currently downloading the data from my weather station now.

Thanks.
--
Matt Soffen

Sir Geek

unread,
Jun 8, 2026, 8:46:47 AM (yesterday) Jun 8
to weewx-user
I (sadly) spoke too soon. 

I have 5.2 running ( yay!) but it doesn't appear to be starting/doing any of the HTML Generation. 

I'm not seeing anything in /var/log/messages either. 

Are there any debugging flags that I can set to help track this down ?

I don't see anything specific.

John Smith

unread,
Jun 8, 2026, 9:04:11 AM (yesterday) Jun 8
to weewx...@googlegroups.com
Try running weewxd.py from the command line, modify the paths to match your install

/usr/bin/weewxd --config /etc/weewx/weewx.conf

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 visit https://groups.google.com/d/msgid/weewx-user/b7d76936-f988-4854-b5b1-7174ea183915n%40googlegroups.com.

DR

unread,
Jun 8, 2026, 9:21:04 AM (yesterday) Jun 8
to weewx...@googlegroups.com
I don't know much about it but made mistakes by not making SURE the
folder to post html files to was specifically named and verified.  I
learned when I had multiple stations running and forgot to set that option.

Just a thought....    Dale


Sir Geek

unread,
Jun 8, 2026, 2:19:57 PM (yesterday) Jun 8
to weewx-user
I'll do that as soon as I can log into the machine ( From one stand point  - nothing changed with those folders, Or at least nothing *SHOULD* have changed).

I'll run the config test

Vince Skahan

unread,
Jun 8, 2026, 4:11:04 PM (yesterday) Jun 8
to weewx-user
Look at the Upgrade Guide. V4 ran as root. V5 runs as a unprivileged user so it it more than possible it is a permissions thing.  Also consult the Users Guide and wiki/faq for where to find as well as ‘how to report a problem’

Sir Geek

unread,
Jun 8, 2026, 10:45:06 PM (18 hours ago) Jun 8
to weewx-user
The command shows its able to read from the weather station.  The problem is that I don't see it trying to write the weather stationf files.

On Monday, June 8, 2026 at 9:04:11 AM UTC-4 John Smith wrote:

Sir Geek

unread,
Jun 8, 2026, 10:47:01 PM (18 hours ago) Jun 8
to weewx-user
Interesting - mine is still running as root - Did the config file drastically change ?

The 5.3.1 app is running as Root.

John Smith

unread,
1:31 AM (15 hours ago) 1:31 AM
to weewx...@googlegroups.com
The user weeWX runs under is set in the systemd service file.

Vince Skahan

unread,
1:45 AM (15 hours ago) 1:45 AM
to weewx-user
Well in the absence of the needed debug=1 logs as asked for hundreds of times here and multiple places in the docs, wiki, and faq at this point I can only decline to do more to try to help than say best of luck figuring it out.

Sir Geek

unread,
8:56 AM (8 hours ago) 8:56 AM
to weewx...@googlegroups.com
The error was access to the Skin folder 

It gave no error about being unable to access the folder.

I'll create a patch for confirming the folders exist and log on startup if they're not found or it is not accessable 

Matt Soffen

Reply all
Reply to author
Forward
0 new messages