Skip to content
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

Device link lost after upgrade due to version specific config #8

Closed
flyingflo opened this issue Jul 10, 2019 · 4 comments
Closed

Device link lost after upgrade due to version specific config #8

flyingflo opened this issue Jul 10, 2019 · 4 comments

Comments

@flyingflo
Copy link

This is probably related to #1.

After an upgrade in ~/snap/signal-desktop a new directory is created for the new version. In this case it is the recent update from 114 to 115. The version specific directory contains the device link. Thus, signal breaks after an upgrade because the device binding is gone.

Shouldn't the config be placed in the common folder?

% ls -a 114
./  ../  .config/  .last_revision  .local/  .themes@
% ls -a 115   
./  ../  .config/  .last_revision  .local/  .themes@
% ls -a common
./  ../  .cache/
@flyingflo
Copy link
Author

Probably the copy-over at the upgrade didn't work..

@flyingflo
Copy link
Author

It looks like this is the effect of a refresh/update while the app is running..

@popey
Copy link
Contributor

popey commented Apr 1, 2020

Thanks for the report. This can indeed happen while updates are in flight.

We have an experimental feature, designed to mitigate this issue. It's blogged about at https://ubuntu.com/blog/experimental-feature-snap-refresh-awareness-and-update-inhibition
This issue is indeed a snap-related one, and we're working to get that feature landed by default as soon as we can. For now, this is the workaround.

snap set core experimental.refresh-app-awareness=true

This will prevent the app updating while it's running.

@merlijn-sebrechts
Copy link
Member

Note: the upstream issue in snapd is tracked here: https://bugs.launchpad.net/snapd/+bug/1616650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants