proton-bridge icon indicating copy to clipboard operation
proton-bridge copied to clipboard

new protonmail-bridge endlessly grows the directory /home/user/.local/share/protonmail/bridge-v3/gluon/backend/store

Open hakova opened this issue 1 year ago • 4 comments

Issue tracker is ONLY used for reporting bugs with technical details. "It doesn't work" or new features should be discussed with our customer support. Please use bug report function in Bridge or contact [email protected].

The directory in the subject line grows constantly over days when protonmail-bridge is used on Arch linux along with neomutt as the email client.

Expected Behavior

I believe this directory is where protonmail-bridge stores a local copy of emails. It should only grow as much as the remote inbox grows, not disproportionately.

Current Behavior

I have reset protonmail-bridge at least three times now, both using the GUI and the CLI by deleting and re-adding my account. Every time I do this, the directory in question goes back down to 1.1 GB in size, but regrows to several GBs within days. Once it reached to 9.5 GB size. I reset the bridge today again since 5 days from the last reset, and the directory was about 7 GBs in size before the reset.

Possible Solution

I am using mbsync (part of isync package in linux) to sync my local inbox sync with my protonmail inbox through protonmail-bridge. Optimize protonmail-bridge to work in harmony with mbsync.

Steps to Reproduce

Please see above. This issue may be another presentation of the this issue

Version Information

Protonmail-bridge 3.0.21 Neomutt 20230322 isync 1.4.4

Context (Environment)

I am trying to prevent my hard drive running our of space.

Detailed Description

Please see above

Possible Implementation

Please see above

hakova avatar Mar 25 '23 19:03 hakova

Hey @hakova do you keep bridge running forever as a service or do does it shutdown and restart with your user sessions?

LBeernaertProton avatar Mar 27 '23 06:03 LBeernaertProton

Were you also prompted to resync or got logged out in the past?

LBeernaertProton avatar Mar 27 '23 06:03 LBeernaertProton

@hakova do you still have issues on the latest version of bridge?

LBeernaertProton avatar Oct 04 '23 07:10 LBeernaertProton

I am experiencing the same issue, and the protonmail bridge desktop app says it is on the latest (non-beta) version. To answer the questions above: I typically keep the bridge running as a service, and it does not shutdown/restart unless I reboot. I was not prompted to resync in the past.

gbrener avatar Jul 28 '24 23:07 gbrener