Fabrizio Ruggeri Posted December 28, 2018 Report Posted December 28, 2018 When I try to setup the sync through google drive (which was working fine on version 5) I get the step of authorizing your app. Then the xdg-open opens enpass but a new window and the first window stay always in the state of waiting for authorization process to be complete. I attach a gif to better explain the issue
Sahil Sharma Posted December 28, 2018 Report Posted December 28, 2018 Hi @Fabrizio Ruggeri Seems there are more than one install of Enpass (or Enpass beta). Can you please share output of following command after second Enpass window opens. ps -ef | grep Enpass Thanks.
Fabrizio Ruggeri Posted December 29, 2018 Author Report Posted December 29, 2018 Sure. Only one instance of Enpass seems to be running fabrizio 2102 1 0 13:01 ? 00:00:06 /opt/enpass/Enpass -minimize fabrizio 9973 3880 0 13:22 pts/1 00:00:00 grep --color=auto Enpass
Fabrizio Ruggeri Posted December 29, 2018 Author Report Posted December 29, 2018 Sorry, after rebooting my laptop everything is working fine. As you were guessing probably there was a second instance still running after the upgrade. Thank you for the help. Do you usually change the title to something like "Solved" here?
kaiben Posted December 31, 2018 Report Posted December 31, 2018 I have the same problem as described here. First I updated Enpass to 6.0 on Android. There it worked without problems and sync with google is working again. Today I updated Enpass on Linux Unbuntu 18.04. When I want to to init the synchronization, firefox is started on the google pages. I grant the access and than it starts a second Enpass application to process the link, not the one already running. Rebooting the system does not help.
Brent Posted December 31, 2018 Report Posted December 31, 2018 I'm also having this issue. I don't seem to have another Enpass and rebooting doesn't help. I'm running Mint 19.1 Cinnamon. When I install enpass, I get a menu item for Enpass. Choosing the menu item doesn't run enpass. I can start enpass from /opt/enpass. Setting up sync takes me to the Google login page and - after I approve - prompts me to open xdg-open. The process never completes, however. Would appreciate any ideas!
Vinod Kumar Posted January 2, 2019 Report Posted January 2, 2019 Hi @Brent, It seems Enpass protocol handlers are not updated properly at install time. Please run these commands on Terminal. sudo update-desktop-database sudo update-mime-database /usr/share/mime Try again and share results.
kaiben Posted January 2, 2019 Report Posted January 2, 2019 Executing the two update-... commands does not help. Still same problem.
kaiben Posted January 6, 2019 Report Posted January 6, 2019 Are there any news, regarding this problem? Problem still exists on my Kubuntu 18:04 system.
Vinod Kumar Posted January 7, 2019 Report Posted January 7, 2019 Hi all, I have filed a bug report for Kubuntu 18.04. Investigating it. Thanks.
x10an14 Posted January 14, 2019 Report Posted January 14, 2019 Hi! I've got a similar issue on my machine (Linux Mint 19.1 - i3wm desktop interface) when it comes to syncing with Google drive (using Firefox v64.0). I authenticate successfully with Google, and approve 'enpass.io' to access, but when I expect to be redirected back to the Enpass (v6) window, I instead get the attached screenshot. (Given by this url: enpassauth://googledrive/?scope=https://www.googleapis.com/auth/drive.appfolder&state=security_token_sinew&code=<sanitized>). This is after executing the below: $ sudo update-desktop-database $ sudo update-mime-database /usr/share/mime $ sudo reboot $ # After reboot: $ sudo grep -iHRn 'enpass' /usr/share/mime/ [sudo] password for user: /usr/share/mime/types:6:application/enpasscard /usr/share/mime/globs:207:application/enpasscard:*.enpasscard /usr/share/mime/application/enpasscard.xml:2:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/enpasscard"> /usr/share/mime/application/enpasscard.xml:4: <comment>Enpass Sharing File</comment> /usr/share/mime/application/enpasscard.xml:5: <glob pattern="*.enpasscard"/> /usr/share/mime/packages/application-enpass.xml:2: <mime-type type="application/enpasscard"> /usr/share/mime/packages/application-enpass.xml:3: <comment>Enpass Sharing File</comment> /usr/share/mime/packages/application-enpass.xml:4: <glob pattern="*.enpasscard"/> /usr/share/mime/globs2:207:50:application/enpasscard:*.enpasscard Binary file /usr/share/mime/mime.cache matches $ # And also self-edit inspired by: https://askubuntu.com/a/1039162/817936 $ cat ~/.local/share/applications/mimeapps.list [Default Applications] application/enpass=/opt/Enpass/Enpass application/enpassauth=/opt/Enpass/Enpass Any ideas/suggestions?
Vinod Kumar Posted January 14, 2019 Report Posted January 14, 2019 Hi @x10an14, There is something wrong in this output. $ cat ~/.local/share/applications/mimeapps.list [Default Applications] application/enpass=/opt/Enpass/Enpass application/enpassauth=/opt/Enpass/Enpass The path of Enpass executable should be /opt/enpass/Enpass not /opt/Enpass/Enpass. May I know from where you have installed it? Thanks. 1
x10an14 Posted January 14, 2019 Report Posted January 14, 2019 Hi @Vinod Kumar! Thank you for your prompt reply! I've installed through your package repository - but I might've messed up the capitalization of that folder myself. After updating to v6 today, I noticed a symlink from '/opt/enpass' to '/opt/Enpass', so I just removed the symlink and manually fixed my path-links. So, after reverting that change, xdg-open worked (even without editing my '~/.local/share/applications/mimeapps.list'). Thanks! =)
Alessandro Posted January 17, 2019 Report Posted January 17, 2019 Hello, I have the same problem as the original poster. However, I don't have 2 instances of Enpass running and rebooting the computer did not solve my issue. Can you help? Thank you
Anshu kumar Posted January 18, 2019 Report Posted January 18, 2019 Hey @Alessandro, Sorry for the trouble you are going through. Please run these commands on Terminal and then try again. sudo update-desktop-database sudo update-mime-database /usr/share/mime If the problem persists, please try this command in terminal and share result. xdg-open enpassauth://googledrive Thanks for your co-operation.
srouleau Posted April 11, 2019 Report Posted April 11, 2019 Running the update-desktop-database/update-mime-database appear to have fixed the 2 instances of Enpass running while attempting to setup a sync. However, Enpass still sits there waiting forever and doesn't complete the operation. What else can I do to track this down?
Alessandro Posted April 13, 2019 Report Posted April 13, 2019 Hello, sorry for the very very long delay. Actually the problem is not solved running xdg-open enpassauth://googledrive just starts the sync process but it is still running endlessly, with no effective syncing. Thank you
Alessandro Posted April 13, 2019 Report Posted April 13, 2019 Ok I solved my problem, it came from the browser! My default one is Opera. Opening the authorization link in Firefox allowed for the process to go on smoothly.
srouleau Posted April 13, 2019 Report Posted April 13, 2019 @Alessandro you're one lucky dude. I can't get it to sync at all
Anshu kumar Posted April 15, 2019 Report Posted April 15, 2019 Hey @srouleau, Sorry for the trouble you are going through. Please share some more info so that we can help you better. Which Linux version and Enapss version are you using? Have you installed two versions (Enpass 5 and Enpass 6) of Enpass on your system? Are you using a multiuser system? Which cloud services are you using to sync? What is your preferred browser and its version? Thanks for your co-operation.
srouleau Posted April 15, 2019 Report Posted April 15, 2019 Hello @Anshu kumar Here is the requested information: 1) Kubuntu 18.10, Enpass 6.0.6.323 2) I had Enpass 5 before, went through the upgrade, and now only have 6 installed. 3) Well I guess by definition Kubuntu is multi-user, but in practice I'm the only one using this computer. 4) I tried both Google Drive and OneDrive -- same result. 5) I use Firefox (66.0.2+build1-0ubuntu0.18.10.1) Thanks!
srouleau Posted April 17, 2019 Report Posted April 17, 2019 Quick (related) question @Anshu kumar : As my Linux box is slowly lagging behind my Windows and Android copies of Enpass, how will it reconcile the database once I get it to work again on Linux? Is the database synchronized as a blob, or it's actually item-by-item? I ask because I added a few items on Linux, and a few items on Windows. Thanks!
Anshu kumar Posted April 17, 2019 Report Posted April 17, 2019 Hey @srouleau, On 4/15/2019 at 7:38 PM, srouleau said: 5) I use Firefox (66.0.2+build1-0ubuntu0.18.10.1) I would suggest you please make Chrome as your default browser and then try sync if you haven't tried it yet and share your findings. 20 minutes ago, srouleau said: As my Linux box is slowly lagging behind my Windows and Android copies of Enpass, how will it reconcile the database once I get it to work again on Linux? Is the database synchronized as a blob, or it's actually item-by-item? It will sync item by item. Thanks!
srouleau Posted April 17, 2019 Report Posted April 17, 2019 @Anshu kumar With Chrome it seemed to have taken a step back. Whereas with Firefox I could get it to stay in the same instance of Enpass, Chrome would launch a second copy of Enpass. I tried updated the mime database, to no avail.
Anshu kumar Posted April 18, 2019 Report Posted April 18, 2019 Hey @srouleau, I'm sorry to hear that the workaround didn't help! I've noted down this issue in high priority and notified the dev team to look into it. Till then I request you to please co-operate with us.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now