Closed justanothergithubuserNr2 closed 1 year ago
OS: Ubuntu 22.04
Currently, the issue cannot be prevented with the 4. WORKAROUND
presented before.
I have to delete ~/.var/app/io.kopia.KopiaUI
before every start of the app.
I need to find some time debugging this.
I guess a first thing to do would be to start the Kopia flatpak via console to get some debug message: flatpak run io.kopia.KopiaUI
When you "close" the app and the command does not finish automatically, this might be a starting point for investigation. The behavior could be compared to running the Kopia executable outside of Flatpak.
Indeed, the process did not close if I start it vie console:
$ flatpak run io.kopia.KopiaUI
[2:0527/083753.763986:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
Gtk-Message: 08:37:54.069: Failed to load module "xapp-gtk3-module"
Gtk-Message: 08:37:54.069: Failed to load module "appmenu-gtk-module"
Gtk-Message: 08:37:54.115: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:37:54.119: Failed to load module "canberra-gtk-module"
[2:0527/083754.146395:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[2:0527/083754.146474:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
08:37:54.242 › failed to load
08:37:54.247 › APPIMAGE env is not defined, current application is not an AppImage
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
08:37:54.748 › failed to load
08:37:55.250 › failed to load
08:37:55.752 › failed to load
08:37:56.254 › failed to load
08:37:56.756 › failed to load
[2:0527/083757.347315:ERROR:cert_verify_proc_builtin.cc(677)] CertVerifyProcBuiltin for 127.0.0.1 failed:
----- Certificate i=0 (O=Kopia) -----
ERROR: No matching issuer found
[57:0527/083757.348327:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -202
For testing it, it have connected to a test repo and then closed the app.
I checked it and it in my setup the process finished cleanly after closing the app. The log output is:
$ flatpak run io.kopia.KopiaUI
[2:0909/214913.795293:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gtk-Message: 21:49:14.691: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:49:14.694: Failed to load module "canberra-gtk-module"
[2:0909/214914.746192:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0909/214914.746346:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
21:49:14.853 › APPIMAGE env is not defined, current application is not an AppImage
libva error: /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so init failed
EDIT: Whan I interact with my repo, I also get the certificate errors but it still finishes the process correctly. I don't get the failed to load
errors though.
So this doesn't seem to be a Flatpak specific problem. Please report it upstream at https://github.com/kopia/kopia/issues.
This can be solved temporarily by deleting
~/.var/app/io.kopia.KopiaUI
To prevent this issue (workaround - no real solution):