-
Notifications
You must be signed in to change notification settings - Fork 397
bitwarden snap fails to launch #56
Comments
We've been trying to get the snap working, but was not able to get any kind of stack trace on the errors. How did you get that stack trace? |
@popey Any update here? We'd like to get this snap out but are having a hard time debugging it. |
I just installed your snap out of the store and did How are you currently building bitwarden? I'm trying to debug it here, but I can't even get it to build. If I grab your source and Essentially what I wanted to do was add You can try this yourself by adding a
It's possible we may also need to add another stage package, but this will get us passed the first issue I identified above. |
Looks like you don't have the I was trying to run the snap via just clicking bitwarden icon after install. I guess I need to use |
I did do |
@popey I am still not sure why you cannot build yourself. Maybe try I just tried again after adding the following to package.json:
and I get:
Any ideas? |
I tried
Then I did
Then did I am clearly missing a step I think. Are you able to build it in a clean machine ? I used Odd that you get a broken snap out of the build! Can you share the snap so I can look at it? |
@popey Our CI does clean builds every time. See process here: https://travis-ci.org/bitwarden/desktop Let me see if I can upload the snap. |
Here's the snap I just built with those changes: https://send.firefox.com/download/9004179935/#zDi3uMZglZIj3D6pcR4zvA |
Ok! I finally got it to build thanks to reading your travis output. Thanks! I'd missed the Here's an extra thing you can do. The store does a review of snaps before they can be released. You can get the same review tools which can check your snap for sanity. Here's how.
Now run the review on the snap:-
Aha! What's "command.sh"? Looks like that's coming from electron-builder? |
It's weird that wasn't run for you automatically by Anyways, I found this. Looks like it was fixed in I can log into an account, however, it seems that rendering data in the vault is broken. Investigating further shows that none of my synced data is in the |
Ok, it's now failing because one of the node modules you're using (atomic) is trying to do a |
Great. Let me know if anything changes, but shouldn't devmode confinement not be restricted at all? I thought that was the point of it? |
In theory, but there's a bug. It's now fixed and should land in snapd 2.32. Once that is released I'll get back to you so we can move forward. |
@popey Anything changed yet regarding this? |
@kspearrin apologies for the delay getting back to you. 2.32 has been released, so you should be good to go. if you want to push a built to the edge channel, I can help test that. |
Built in devmode and got it all running without issue. I see these messages in terminal though, not sure if they are a problem or not:
When I try to install it with a confinement strict build I get:
Any ideas? |
@popey I got around the above mentioned error by using the One last problem I see. When running in strict mode, I now see this error:
I am guessing this will prevent the app from using the gnome keyring when trying to persist the encryption key on the device (Settings -> Lock Options -> Never). I thought we added the needed plug and packages for this though?
|
According to https://docs.snapcraft.io/reference/interfaces the password-manager-service is not autoconnected. So after installing you need to |
Looks like that solved it! The only things left are the |
I don't believe they're a problem as such, all apps which use the desktop-gtk launchers spit that garbage out :). Glad to see it's all fixed now! |
@popey I pushed 1.2.0 to the snap store. Seems to be working in my tests. https://snapcraft.io/bitwarden
What do I need to do to make this happen? |
Awesome! Create a thread on the store category on the forum, requesting autoconnection. |
I have opened the auto connection request here: https://forum.snapcraft.io/t/auto-connecting-the-password-manager-service-interface-for-the-bitwarden-snap/5051 Closing this topic now. Thanks! |
I just installed the bitwarden snap from the store on 18.04.
Looks like you're missing a libssl or related stage package.
The text was updated successfully, but these errors were encountered: