Database merged - Wview e weewx

128 views
Skip to first unread message

kha...@gmail.com

unread,
Oct 4, 2021, 11:18:14 AM10/4/21
to weewx-user
Hello,
until to late 2017 i used wview and then weewx.
When i switched to weewx i merged the old database with the new one.
This unfortunately doesn't works correctly.
Now i'd like to recover the old data (database is very big, more than 170mb).
Checking the differences between the two DB,  biggest difference seems the decimal. 
Could be the problem?
Is possibile to fix it?
Thanks in advance!

Cattura.PNG

Tom Keffer

unread,
Oct 4, 2021, 11:24:35 AM10/4/21
to weewx-user
Hello, and welcome to weewx.

I don't know what I'm looking at. What do the red lines mean?

What do you mean by you merged "the old database with the new one"? There is no difference between the wview and weewx databases. You should be able to just copy over the old database to the weewx installation.

Did you read the section Compatibility with wview in the User's Guide?

--
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/fb76f0f2-cc79-4b2a-ae16-c058caa848f4n%40googlegroups.com.

kha...@gmail.com

unread,
Oct 10, 2021, 4:05:50 PM10/10/21
to weewx-user
hi,
when i started to use weewx i used a new database. Few months later i merged two database.

itec

unread,
Oct 21, 2021, 7:23:30 AM10/21/21
to weewx-user
Hi.
What do you mean for "This unfortunately doesn't works correctly."? What's wrong?
I think that decimals are not important.
Have you tried to run "wee_database --drop-daily" and "wee_database --rebuild-daily"?
Then delete /var/www/html/weewx/ and run "wee_reports" to regenerate all reports
Message has been deleted

kha...@gmail.com

unread,
Nov 8, 2021, 10:50:29 AM11/8/21
to weewx-user
Thank u so much...
Now i understand how to fix it.

Using database binding 'wx_binding', which is bound to database 'archive_sqlite'
All daily summaries will be rebuilt.
Proceed (y/n)? y
Rebuilding daily summaries in database 'weewx.sdb' ...
Records processed: 793000; time: 2021-11-08 07:35:00 CET (1636353300))
Processed 793105 records to rebuild 2811 daily summaries in 73.69 seconds
Rebuild of daily summaries in database 'weewx.sdb' complete

:)
Reply all
Reply to author
Forward
0 new messages