I think the Firefox snap is broken, something happens with an update (I guess), now the snap does not work, already try the latest/stable channel with 83.0-2 and the channel esr/stable 78.5.0esr-1 both crashes with the following error:
Yesterday the FireFox snap was working great, now just crash, does anyone else have this problem with the latest/stable channel or the esr/stable?
Glad you found a workaround for the problem Eduardo.
You are right, this issue is concerning and should definitely not happen when the snap is being updated without user intervention. I wonder whether this was caused by the snap being refreshed while it was running? If so, that would be yet another symptom of bug #1616650, which can be mitigated by turning on the Refresh App Awareness experimental feature.
In any case, let’s keep this thread open, in case others stumble upon the same problem.
Yes indeed, actually the first time that happened to me was with the snap store (Ubuntu store) its self, in that moment what I did was to re-install Ubuntu from scratch, but now that I’m using Ubuntu as my personal daily drive that’s not an option, I think its a problem really difficult to fix if you are a “regular” no technical savvy users, because the usual IT procedure of uninstall and reinstall the snap (firefox in this case) does not fix the problem, you rely in using at least 2 commands from the terminal that are a little cryptic so its not ideal, this plus you don’t really have a notification o something that indicate than a snap its updated make it more difficult to track was happen.
this are just my thoughts as a really new user to Ubuntu and Linux by proxy.
Indeed, the fact that an application can be updated under your feet while running is counter-intuitive and not user-friendly, and the consequences can be nasty.
My understanding is that the plan is for [WIP] Refresh App Awareness to be turned on by default in the near future, thus largely mitigating the problem. I don’t know the exact date though.
That is great, because now my “normal” procedure when using my Ubuntu laptop is check all the updates before start using the machine for work, once I check all the updates, l feel safe to start using all the snaps that I love!
Add a cron job to root which runs every day to push back the next update for long periods. snapd will intervene at some point (60 days) and force refresh, but I will typically have manually updated by then anyway.
30 17 * * * /usr/bin/snap set system refresh.hold="$(/usr/bin/date --iso-8601=seconds -d '+30 days')"
The result is updates are held, but I can do them when I want.
alan@mcp:~$ snap refresh --time
last: 23 days ago, at 12:09 GMT
hold: in 29 days, at 17:30 GMT
next: 9 days ago, at 12:00 GMT (but held)
From my side, no at all. It’s already time-consuming to make a GS extension for non-gjs-skilled guys like me.
It would be wonderful that snapd at least optionally emits some notification or signal (is libnotify desktops-UI-wide ?) when a snap is auto-updated. Because my extension does not notify about updates that happen. It checks if there are updates at desktop startup and also show a button to see the recent changes. I absolutely do not know how to make a real-time notification function about snap updating process.
v27 adds an option to hold updates for 1 month (no I won’t add a 2 months one…) and cleans up the snap-to-be-updated notification
v28 displays the auto-update state in startup notification (and adds hold delay if needed, to remind us when will be threatened)
edit: v29 will shorten the message in notification (useful if you have a lot of pending updates), v30 shortens time formatting, show next auto-update, increases the delay for the notification at startup.
did you report a bug about that ? normally there is a rather large outcry if it fails for a bigger amount of people … it works here on all machines and i have not seen any recent report after the last fix …
I was using the snap-store snap from the edge channel and it was not starting for some weeks. I switched back to stable and now it opens up again. Was really not opening up at all, so whatever is in the edge channel Can’t say much about that