seems the port isnt the issue, as it does find it, and starts writing that file, and transferred the 2 first tables?
I mean, I can give it another go, sure (btw I did do that before and it made no difference, with or without explicitly setting that port in the MariaBD add-on. it is the default after al)
udate:
Bingo!!
turns out, I had to completely delete the existing db file in /config, and have it create anew.
I couldnt make it happen in a subfolder though.
[core-ssh ~]$ mysql2sqlite -f /config/home-assistant_v2.db -h 192.168.1.61 -d homeassistant -u mariusthvdb -p -V --use-buffered-cursors
MySQL password:
2023-06-05 16:48:32 INFO Transferring table event_data
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 2.51it/s]
2023-06-05 16:48:33 INFO Transferring table event_types
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 5.13it/s]
2023-06-05 16:48:33 INFO Transferring table events
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 1.53it/s]
2023-06-05 16:48:34 INFO Transferring table recorder_runs
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 5.18it/s]
2023-06-05 16:48:34 INFO Transferring table schema_changes
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 5.16it/s]
2023-06-05 16:48:35 INFO Transferring table state_attributes
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00, 1.05s/it]
2023-06-05 16:48:37 INFO Transferring table states
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 11/11 [01:38<00:00, 8.98s/it]
2023-06-05 16:51:06 INFO Transferring table states_meta
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 5.15it/s]
2023-06-05 16:51:07 INFO Transferring table statistics
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 19/19 [01:46<00:00, 5.58s/it]
2023-06-05 16:54:10 INFO Transferring table statistics_meta
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 5.13it/s]
2023-06-05 16:54:12 INFO Transferring table statistics_runs
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 4.55it/s]
2023-06-05 16:54:12 INFO Transferring table statistics_short_term
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:17<00:00, 4.43s/it]
2023-06-05 16:54:42 INFO Vacuuming created SQLite database file.
This might take a while.
2023-06-05 16:55:08 INFO Done!
[core-ssh ~]$
now restarting and fingers crossed
update:
seems to do alright, and my energy dashboard is live… yeah.
only see this in the log:
Logger: homeassistant.components.recorder.util
Source: components/recorder/util.py:243
Integration: Recorder (documentation, issues)
First occurred: 16:59:15 (1 occurrences)
Last logged: 16:59:15
The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
maybe because of a first restart?