axolotl-chat / axolotl

A Signal compatible cross plattform client written in Go, Rust and Vuejs
https://axolotl.chat
GNU General Public License v3.0
326 stars 52 forks source link

[BUG] snap on Debian #401

Open AA303 opened 3 years ago

AA303 commented 3 years ago

Description

snap does not run on Debian Buster

Steps to Reproduce

  1. $ sudo snap install axolotl
  2. $ axolotl

Expected behavior: [What you expect to happen]

Axolotl to run

Actual behavior: [What actually happens]

$ axolotl INFO[0000] [axolotl] Starting Signal for Ubuntu version 0.9.8 INFO[0000] [axolotl] Setup completed
INFO[0000] [axolotl] Start electron
INFO[0000] astikit: starting worker...
DEBU[0000] [axolotl] Run Backend
INFO[0000] [axolotl] Axolotl server started
DEBU[0000] [axolotl] openDb: /home/user/snap/axolotl/378/.local/share/textsecure.nanuc/db INFO[0000] [axolotl] Starting axolotl ws
DEBU[0000] [axolotl] Using axolotl-web path /snap/axolotl/378/bin/axolotl-web/ DEBU[0000] [axolotl] NewDataStore
DEBU[0000] [axolotl] NewDataStore finished
INFO[0000] [axolotl] Loading Chats
INFO[0000] [axolotl] Db setup finished
ERRO[0000] [axolotl] InitModels open /home/user/snap/axolotl/378/.config/textsecure.nanuc/settings.yml: no such file or directory DEBU[0000] [axolotl] Start Session after Decryption
DEBU[0000] [axolotl] starting Signal connection
DEBU[0000] [axolotl] config path: /home/user/snap/axolotl/378/.config/textsecure.nanuc DEBU[2021/02/28 23:42:00] [axoltol] Opening Dialog: getPhoneNumber
DEBU[2021/02/28 23:42:00] [axolotl-ws] send request getPhoneNumber
ERRO[0010] '/home/user/snap/axolotl/378/vendor/electron-linux-amd64/electron' exited with code: 1 INFO[0010] astikit: stopping worker...
ERRO[2021/02/28 23:42:10] [axolotl-electron] Electron App has crashed {app.crash app } DEBU[2021/02/28 23:42:10] [axolotl-electron] main: creating window failed: context canceled DEBU[2021/02/28 23:42:10] [axolotl-electron] open dev tools false
INFO[0010] astikit: worker is now waiting...
ERRO[0010] accept tcp 127.0.0.1:44679: use of closed network connection while TCP accepting

Please provide the Version as written in Settings->About Axolotl

Device

Debian Buster

olof-nord commented 3 years ago

Not sure how reliably the snap install work. Could you try out the Flatpak install instead? If that works, we know it is something with the install, if that also doesnt work there must be a bigger problem.

On what platform are you? x86/x64/arm? What snap version do you use? Can you use snap without problem for other programs?

https://github.com/nanu-c/axolotl/blob/main/docs/INSTALL.md#flatpak

olof-nord commented 3 years ago

See here for a comment regarding Mobian snap, if that is what you mean with Debian (thats after all the goal with Mobian right?)

https://github.com/nanu-c/axolotl/issues/376#issuecomment-778810718

olof-nord commented 3 years ago

Could you try to install libgconf-2-4? The below issue lists it as a required package.

I ran into this myself (on Arch), and solved by installing that library.

More info in the issue:

https://github.com/electron/electron/issues/1518

otrebu commented 3 years ago

I have the same error on Manjaro arm installed via: which uses this.

I tried installing gconf hoping it contains libgconf-2-4 ( as it can't be installed on manjaro directly.

No luck, still not working. Also there is another issue which seems the same, but actually on manjaro: #433