ProtonMail / proton-bridge

Proton Mail Bridge application
GNU General Public License v3.0
1.14k stars 152 forks source link

Bridge Flatpak fails to load at startup, "instance already exists" #390

Closed bmhieserich closed 1 year ago

bmhieserich commented 1 year ago

I have the Bridge set as a startup application, to automatically start up and log in. However, since this weekend it will not do this. Attempting to open from KDE Application Launcher does nothing. Attempting to open from terminal provides the following output with fatal error: INFO[May 22 09:43:42.063] bridge-gui starting INFO[May 22 09:43:42.063] Using Qt 6.3.2 ERRO[May 22 09:43:42.064] Instance already exists /home/[USERNAME]/.var/app/ch.protonmail.protonmail-bridge/cache/protonmail/bridge-v3/bridge-v3-gui.lock (PID : 8 - Host : [HOSTNAME] - App : bridge-gui) ERRO[May 22 09:43:47.065] Could not connect to bridge focus service for a raise call. FATA[May 22 09:43:47.069] reportID: 1ad021cd014741c3c8c9572f8344ab50 Captured exception: Could not connect to bridge focus service for a raise call. FATA[May 22 09:43:48.008] Failed to launch error="exit status 1" exe_path=/app/lib/protonmail/bridge/bridge-gui exe_to_launch=bridge-gui launcher_path=/app/lib/protonmail/bridge/proton-bridge launcher_version=3.1.3

Expected Behavior

Bridge should launch at startup and automatically log in.

Current Behavior

The above issue appears and Bridge will not launch unless it is completely uninstalled and reinstalled.

Steps to Reproduce

  1. Set the Bridge as a startup application.
  2. Shut down or restart system.
  3. Bridge fails to open at startup.
  4. Attempt to open Bridge with command line, get above output.

Version Information

Bridge Flatpak version 3.1.3

Context (Environment)

I would like to not have to completely uninstall and reinstall Bridge to run the application, since this also requires me to have to re-enter the password every time I open Thunderbird.

Detailed Description

Even if I have to log in to the Bridge every time, it should be able to start when opened without a fatal error and preferably as a startup application.

LBeernaertProton commented 1 year ago

Flathub is not an official supported distribution method. Please raise any issues you may have in the flathub repo