Jump to content
IslandBoy

Enpass running in Task Manager (even when closed) stops OneDrive Sync

Recommended Posts

I have just started to sync my Documents folder with OneCloud. It always stalls with two files remaining open: enpasssettings.db and syncmeta.db. These files remain locked even when Enpass is not running on the desktop. I have to use TaskManager to shut Enpass down. Then the files sync OK. I remember something like this in 2018 when the same issue prevented an Enpass update.

  1. Please fix this issue - it is an irritation every time I use Enpass and I'm sure you don't want that.
  2. The app should not continue to run in Task Manager even after I have closed it on the desktop.

Thanks

Share this post


Link to post
Share on other sites

Exit by "Exit" on Menu - Enpass closes fully, no issues with OneDrive sync

Exit by X in top right corner - Enpass comes out of Apps list BUT goes into Background Processes list - OneDrive won't sync due to Enpass files

Exit by right-click on Taskbar - same issue.

Share this post


Link to post
Share on other sites

Hi @IslandBoy

Thanks for writing back.

We want to share that when you add an item in any of the devices, the same item will be available/synced on all the other devices with which you have synced the Enpass data once you unlock Enpass app on those other devices. For more details, refer to this user manual.

Thanks.

Share this post


Link to post
Share on other sites

Hallo, I'm very aware of that, thank you. I have been an Enpass user for some years across several devices: 2 PCs, a tablet and a phone. 

The issue I and the other user have reported is nothing to do with that so please don't confuse and get distracted.

As I found in testing today, if you exit the app by Menu, it closes completely. Then the local files are released and OneDrive can sync them properly. If, however, you X out of the app or right-click close in Taskbar, the app stays running in Background Processes. This keeps the files locked and unavailable to OneDrive for syncing so OneDrive reports error. It's a pain.

This is not anything to do with Enpass itself syncing itself to the cloud. It's because, like many people, I have setup the OneDrive option for syncing all Docs to the cloud.

If you look in Task Manager and close Enpass the three ways, you will see this behaviour.

Edited by IslandBoy

Share this post


Link to post
Share on other sites

Not sure if this is an issue of enpass. Enpass has its sync mechanism, mixing in another sync mechanism (Onedrive) is not ideal,generally speaking.. 

If you install the Store version, I think your db will reside in appdata rather than Documents, otherwise I'd stop syncing Documents if possible, Onedrive's default location is directly under user's home folder. 

Doesn't seem like you're able to exclude files yet in Onedrive https://answers.microsoft.com/en-us/msoffice/forum/all/stopping-onedrive-from-syncing-specific-files/e5f3fd2e-6ec4-403b-9435-1ada19026919

At least not Onedrive personal, but for Onedrive Business the admin can apparently do it 

Share this post


Link to post
Share on other sites

It is exactly an issue of Enpass. You will see this if you follow the diagnostic I posted. There are 3 ways to close Enpass. 1 works, 2 don't. Clearly they are different. If you don't believe me, do the different close-downs and look at Task Manager. But please don't disagree with an untested "opinion".

Share this post


Link to post
Share on other sites

@Ivarson Prior to my recent reimage, I was using the version from the store. Must be why I wasn't seeing this before.

I think I'll switch back as this is annoying and keep an eye on this situation. You never know when MS will pull the plug on the MS Store.

Share this post


Link to post
Share on other sites

Well crap. Not only did the download from the MS Store take forever, I am getting errors when trying to restore.

  • Something went wrong while restoring from OneDrive. Error code: -978
  • Something went wrong. Error 400.

On my phone I getting this error and on my PC since restoring a backup: 

  • Something went wrong while restoring from OneDrive. Error code: 507978
Edited by Zeke

Share this post


Link to post
Share on other sites

Hi @Zeke

We are sorry for the inconvenience caused to you.

Please follow these troubleshooting steps and let me know if the problem persists.

  • Turn off the sync from all devices.
  • Open OneDrive in any browser --> App --> Open Enpass Folder --> Select vault.enpassdbsync --> Rename it as oldvault.enpassdbsync.
  • Now open Enpass and turn on the sync.

Hope this helps!

Share this post


Link to post
Share on other sites

Hi @IslandBoy,

When you try to quit Enpass by clicking on 'X' button in the top right corner, the app is sent to the system tray at that time app is running and also keeping a hold of files in the Documents folder. So, either you can use the command to Exit (Ctrl+Q) or click on the Enpass icon in the menu bar and select Quit, also you can try to change the Enpass data location outside of Documents folder. That way sync of OneDrive with Documents folder will not interfere.

Thanks!

Share this post


Link to post
Share on other sites

Hi @IslandBoy,

When you quit Enpass by clicking on close('X') button in the top right corner, the app is sent to the system tray, but the app is running, so that user can access the data from Enpass assistant from the system tray even when the app is on system tray.

Thanks for understanding.

Share this post


Link to post
Share on other sites
On 2/11/2020 at 9:57 PM, IslandBoy said:

It is exactly an issue of Enpass. You will see this if you follow the diagnostic I posted. There are 3 ways to close Enpass. 1 works, 2 don't. Clearly they are different. If you don't believe me, do the different close-downs and look at Task Manager. But please don't disagree with an untested "opinion".

It's well-known behaviour that apps in windows goes to systray when clicking 'X' in upper corner or Close. Especially when it has a reason of living permanently during the logged on user's session like Enpass does to serve queries from your webbrowsers plugin. 

It also makes perfect sense that the files are locked while the app is opened since Enpass needs to respond fast upon a query from a plugin or a keyboard shortcut is pressed, and also it does background sync while being locked

It's techincally possible to release the file allocations while app is still running, but it's error-prone, and Enpass has builtin Sync so there is no point.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...