-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signal unlinks from phone after update/refresh: conversation history loss #99
Comments
This is a serious issue that will push me to reconsider using this app I have been using since the very beginning. I cannot accept to loose my personal data. Also : where can I find my history and is there a way to restore it ? Even temporarily ? I need to get information from it. Thank you for your help. |
What is going wrong?This really sucks, and it shouldn't happen. From your logs it seems as if Signal removes its own data. It's not clear from the logs why that happens. Do you know if Signal was running during the update? Can you show the output of the following commands, before running the workaround below? snap changes
sudo snap get core -d
snap list signal-desktop where can I find my history and is there a way to restore it ? Even temporarily ?First, you have to make sure that the snap is shut down completely. (also look in the tray on the top right of your screen to exit it from there). Then, save your current state, just to be sure. snap save signal-desktop Then revert the snap (and your data) to the previous version snap revert signal-desktop Save the state of the old version again, just to be sure snap save signal-desktop Then, open signal desktop and it should show you your old data. |
Hello, thank you. I don't think Signal was running, I think the refresh happened upon the computer session startup. Sorry, it is in French :
|
@Totogro have you tried to get your history back? How did that go? |
@merlijn-sebrechts in the meantime I came accross this very good webpage It means that previous snap folders are still there with all the data. |
I honestly have no idea why this is happening. We had this issue in the past if Signal updated while running, but that shouldn't happen anymore since refresh-app-awareness was released. Do you have a peculiar setup, like multiple phones, or multiple installs of signal desktop? |
I just ran into this issue as well.. Signal update was pending, my power went out, automatically rebooted and wham.. signal desktop is unlinked with phone. I did the steps outlined in a prior comment and this is the output:
I also extracted the following debug log from Signal Desktop itself: Relevant to the discussion I think is the following line:
So looks like for whatever reason it lost the encryption key?? I also tried the revert instructions from the same comments above and it successfully reverted to 6.11.0 and got my message history back. Thank you for that, but its defiintely scary to seeminly lose everything. For what its worth, I have had this issue in the past, but didn't actually think I could fix it, so I just relinked the desktop. This is the first time I've actually looked into the issue and saw that a fix might be possible. |
I'm also affected by this bug — not so much the need to relink the device (thought that has happened in the past but not recently), but every time that the signal version is updated in the background, I first see that emojis do not show properly, or trying to open preferences from the file menu leads to immediate crash, and upon restart recent messages have disappeared as described by OP Any updates on this issue since last posted comment in April? |
This sound like a different issue. Can you run the following commands and show the output to diagnose the issue: snap changes
sudo snap get core -d
snap list signal-desktop
snap info signal-desktop
snap version
snap connections signal-desktop |
I have a theory why this may happen. It looks like the key goes in alan@nuc:~/snap/signal-desktop$ ll
total 20
drwxr-xr-x 5 alan alan 4096 Oct 23 13:04 ./
drwx------ 42 alan alan 4096 Oct 23 11:10 ../
drwxr-xr-x 5 alan alan 4096 Oct 14 09:56 531/
drwxr-xr-x 5 alan alan 4096 Oct 23 13:04 532/
drwxr-xr-x 3 alan alan 4096 Oct 12 20:14 common/
lrwxrwxrwx 1 alan alan 3 Oct 23 13:04 current -> 532/ However, when the application gets refreshed a new revision arrives, and the This is a bit of a guess, but I have seen this behaviour in other applications, and the solution or workaround was to coerce the application to put the data in |
@popey the strange thing is that I have never had this issue on my own system. I track the candidate channel, so I get updates frequently and unexpectedly. We used to have a lot of these reports until the refresh awareness landed globally.
|
For what it is worth, the behavior that @dnzgr explains is almost exactly what I see as well. |
@thegrandpoobah Can you also run the following commands and post the output? (These are different from the output you posted above.)
|
snap info signal-desktop:
snap version:
snap connections signal-desktop:
I should say that I intentionally moved back a version (6.34) to get around the encryption key missing issue. |
I see the same issue with almost every update. Update is pending, I stop signal and then signal fails to start up, complaining about access to the database. I have to wipe clean to get it to start. Running manually from terminal, shows the following output:
|
What happened?
Every now and then, probably when the snap is refreshed to a newer version (not every refresh) I start signal-desktop only to discover that it is not linked to my phone anymore and asks me to link to it again. Just as if it was the very first time I used signal-desktop. That means all conversation history is lost on the desktop.
It it the third time in 4 months this happens.
First link lasted from 13th of Nov. 2022 - 19th Nov 2022
Second link 20th Nov 2022 - 15th Feb 2023
And now from today 16th Feb 2023 - but for how long before I lose everything again ?
What should have happened?
When the app starts after a snap refresh it should just work as usual and keep the link to my phone and keep my whole history intact and accessible.
Output of
snap info $snap_name
Output of
snap connections $snap_name
Output of
snap version
Relevant log output
Teminal output of app
The text was updated successfully, but these errors were encountered: