All contacts lost on upgrade #271

Closed
opened 2026-10-27 15:47:07 +01:00 by adam · 14 comments
Owner

Describe the bug
Upgrading to version 0.9.12.3 removes all known contacts (not the channels). Was probably introduced in 0.9.12.2 where I also lost all contacts on upgrade too.

Which device are you using
LilyGO T-Deck Plus

Which Firmware are you using
0.9.12.3

To Reproduce
Steps to reproduce the behavior:

  1. Flash firmware
  2. Restart T-Deck and confirm, that all contacts are shown
  3. Push RST-Button --> all contacts gone

Additional context
I took a backup after the first restart (the one in which all contacts are shown). The contacts.bin file has size 0. Restore couldn't bring the contacts back of course.

No big deal. When the contacts are added again, they persist.

**Describe the bug** Upgrading to version 0.9.12.3 removes all known contacts (not the channels). Was probably introduced in 0.9.12.2 where I also lost all contacts on upgrade too. **Which device are you using** LilyGO T-Deck Plus **Which Firmware are you using** 0.9.12.3 **To Reproduce** Steps to reproduce the behavior: 1. Flash firmware 2. Restart T-Deck and confirm, that all contacts are shown 3. Push RST-Button --> all contacts gone **Additional context** I took a backup after the first restart (the one in which all contacts are shown). The contacts.bin file has size 0. Restore couldn't bring the contacts back of course. No big deal. When the contacts are added again, they persist. <!-- github-sync-id:4545991463 -->
adam closed this issue 2026-10-27 15:47:07 +01:00
Author
Owner

Additional info: On my second device, all contacts disappeared on the first boot in the new firmware, not in the second as described in my first report. So they are really lost after flashing.

Additional info: On my second device, all contacts disappeared on the first boot in the new firmware, not in the second as described in my first report. So they are really lost after flashing. <!-- github-comment-id:4571342132 -->
Author
Owner

Thank you for this important informations.

Since 0.9.12.1 there is a first boot migration implemented to update the Contacts to a newer format to keep more additional informations. Nevertheless, i had 3 tdecks to test and all of them migrated without issues. I will dig into it later, but good to know for other users. I usually create a backup with my connected mobile, and export the data, if something goes wrong, i can import data via the Mobile.

Thank you for this important informations. Since 0.9.12.1 there is a first boot migration implemented to update the Contacts to a newer format to keep more additional informations. Nevertheless, i had 3 tdecks to test and all of them migrated without issues. I will dig into it later, but good to know for other users. I usually create a backup with my connected mobile, and export the data, if something goes wrong, i can import data via the Mobile. <!-- github-comment-id:4571367521 -->
Author
Owner

That was exactly what I did, so really no big deal!

That was exactly what I did, so really no big deal! <!-- github-comment-id:4571385507 -->
Author
Owner

Ive only just seen the latest update and due to me seeing your post i copied the data files from the mcterm folder to re introduce in the update. Thanks christian for the heads up all updated now and no contacts lost

Ive only just seen the latest update and due to me seeing your post i copied the data files from the mcterm folder to re introduce in the update. Thanks christian for the heads up all updated now and no contacts lost <!-- github-comment-id:4574127471 -->
Author
Owner

Just to know:

Was probably introduced in 0.9.12.2 where I also lost all contacts on upgrade too.

Can you confirm that for you the contacts where not lost when updating from 0.9.12 to 0.9.12.1, or did you not do that step?

I am still at 0.9.12 and for now holding back any updates. If it did not happen for you with 0.9.12.1, I would try that at least.

Just to know: > *Was probably introduced in 0.9.12.2 where I also lost all contacts on upgrade too.* Can you confirm that for you the contacts where not lost when updating from 0.9.12 to 0.9.12.1, or did you not do that step? I am still at 0.9.12 and for now holding back any updates. If it did not happen for you with 0.9.12.1, I would try that at least. <!-- github-comment-id:4599973082 -->
Author
Owner

I'm nearly 100% sure, I didn't lost the contacts from 0.9.12 to 0.9.12.1. But make a backup with the companion app first. Just to be safe.

I'm nearly 100% sure, I didn't lost the contacts from 0.9.12 to 0.9.12.1. But make a backup with the companion app first. Just to be safe. <!-- github-comment-id:4600021992 -->
Author
Owner

Just to know:

Was probably introduced in 0.9.12.2 where I also lost all contacts on upgrade too.

Can you confirm that for you the contacts where not lost when updating from 0.9.12 to 0.9.12.1, or did you not do that step?

I am still at 0.9.12 and for now holding back any updates. If it did not happen for you with 0.9.12.1, I would try that at least.

Ive already moved away from mcterm for a while as im sick of fighting with the application if its not the time syncing its losing all the contacts and other weird behaviours. Holding back on updates isnt a bad idea at all! ive left in place the ability to add the application back in should i want to re explore its nuances,

> Just to know: > > > _Was probably introduced in 0.9.12.2 where I also lost all contacts on upgrade too._ > > Can you confirm that for you the contacts where not lost when updating from 0.9.12 to 0.9.12.1, or did you not do that step? > > I am still at 0.9.12 and for now holding back any updates. If it did not happen for you with 0.9.12.1, I would try that at least. Ive already moved away from mcterm for a while as im sick of fighting with the application if its not the time syncing its losing all the contacts and other weird behaviours. Holding back on updates isnt a bad idea at all! ive left in place the ability to add the application back in should i want to re explore its nuances, <!-- github-comment-id:4600409519 -->
Author
Owner

I'm nearly 100% sure, I didn't lost the contacts from 0.9.12 to 0.9.12.1. But make a backup with the companion app first. Just to be safe.

i tried to back up on 0.9.12.3 but non of the buttons on the back up page did anything so didnt bother going any further with it

> I'm nearly 100% sure, I didn't lost the contacts from 0.9.12 to 0.9.12.1. But make a backup with the companion app first. Just to be safe. i tried to back up on 0.9.12.3 but non of the buttons on the back up page did anything so didnt bother going any further with it <!-- github-comment-id:4600420213 -->
Author
Owner

I’m having the same issue with BavKup on the Indicator. I’m also having trouble switching from internal storage to the SD card’s external storage under ‘Global’ at the top; it starts to freeze up and become unresponsive, and the system freezes briefly.

I’m having the same issue with BavKup on the Indicator. I’m also having trouble switching from internal storage to the SD card’s external storage under ‘Global’ at the top; it starts to freeze up and become unresponsive, and the system freezes briefly. <!-- github-comment-id:4601474521 -->
Author
Owner

I’m having the same issue with BavKup on the Indicator. I’m also having trouble switching from internal storage to the SD card’s external storage under ‘Global’ at the top; it starts to freeze up and become unresponsive, and the system freezes briefly.

Bernhard works hard on trying to keep the application to work across hardware, im gratefull for his hard work in bringing a great app to meshcore but am finding it a bit of an ordeal keeping it working ! maybe its because im using the launcher application maybe machine specific. i dont know but after losing all my contacts again last night pushed me to removing the application for now. I may come back at some point but for now im going to use ripple ultra or a time where im not using the launcher app as i cant rule out that might have something to do with it!

> I’m having the same issue with BavKup on the Indicator. I’m also having trouble switching from internal storage to the SD card’s external storage under ‘Global’ at the top; it starts to freeze up and become unresponsive, and the system freezes briefly. Bernhard works hard on trying to keep the application to work across hardware, im gratefull for his hard work in bringing a great app to meshcore but am finding it a bit of an ordeal keeping it working ! maybe its because im using the launcher application maybe machine specific. i dont know but after losing all my contacts again last night pushed me to removing the application for now. I may come back at some point but for now im going to use ripple ultra or a time where im not using the launcher app as i cant rule out that might have something to do with it! <!-- github-comment-id:4601519243 -->
Author
Owner

OK, I updated.

Contacts were not lost, but some(!) pre-defined scopes got deleted and channels in Mgmg → Channels were re-ordered.

Also, DM messages were lost as well as messages inside channels.

And scope assignments to channels were messed up (got different scopes assigned).

I use M5Launcher, too.

OK, I updated. Contacts were not lost, but _some_(!) pre-defined scopes got deleted and [channels in `Mgmg` &rarr; `Channels` were re-ordered](https://github.com/dabeani/meshcoreterm/issues/279). Also, DM messages were lost as well as messages inside channels. And scope assignments to channels were messed up (got different scopes assigned). I use M5Launcher, too. <!-- github-comment-id:4603532511 -->
Author
Owner

Could it be that enabled WebUI deletes all contacts, and when you have WebUI disabled, contacts do not get deleted?

See #286.

Could it be that enabled WebUI deletes all contacts, and when you have WebUI disabled, contacts do not get deleted? See #286. <!-- github-comment-id:4605461729 -->
Author
Owner

This report predates several persistence fixes that shipped in v0.9.14 (identity recovery order at boot, factory-reset rework, and the NVS key bug above).

This report predates several persistence fixes that shipped in v0.9.14 (identity recovery order at boot, factory-reset rework, and the NVS key bug above). <!-- github-comment-id:5919548657 -->
Author
Owner

Has this been fixed, @christianprim? Then I suggest closing this issue.

Regards!

Has this been fixed, @christianprim? Then I suggest closing this issue. Regards! <!-- github-comment-id:6058330386 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/meshcore#271