Axolotl on PinePhone / Mobian
#91
(06-02-2021, 12:36 AM)dante404 Wrote:
(05-28-2021, 07:52 AM)arno_nuehm Wrote: Axolotl is out in v1.0.0

Hi there,

I've updated from last version (already installed as .deb) to this new version (on up-to-date mobian), now Axolotl won't start anymore (nothing seems to happen when starting via icon).
I've already tried: Completely deinstall Axolotl, reboot, reinstall, start (fail), rebooted again, start (fail).

If I try to start Axolotl in terminal, these error message appears (after a strange "file is not a database" debug info):
Code:
ERRO[001] '/home/mobian/.config/textsecure.nanuc/electron/vendor/electron-linux-arm64/electron' exited with code: 1

then stopping worker und
Code:
[axolotl-electron] main: creating window failed: context canceled.


Any suggestions what I could try to fix this? Sad

Best Regards,
Dante
(BTW... THANKS FOR YOUR WORK ON THIS PROJECT ARNO!!! Smile )


You're very welcome!

Could you please try to rename the following folder by adding some digits at the end
Code:
/home/mobian/.config/textsecure.nanuc/electron/vendor/electron-linux-arm64/

and restart Axolotl via terminal. This will force Axolotl to re-install Electron and hopefully solve your problem. If Axolotl is working fine, you can delete the renamed folder completely.

Let me know, if this works for you.

Cheers!
  Reply
#92
Thank you Arno. Smile That didn' work (error message that a subdirectory of the renamed directory is missing).
But: I have deinstalled axolotl and manually searched and removed every folder or file somehow connected to/named like axolotl or textsecure, rebooted, reinstalled.. and it works again. Big Grin

One difference to the old version I've noticed:
I can no longer set a password (the password settings menu, and after trying to set one the whole app (until restart), is empty). Seems like a bug?
But afaik that has nothing todo with the messaging but only protecting the locally stored data, right? (On a encrypted mobian not really necessary I guess. Wink )

Again, thanks for your help! Smile
Best Regards,
dante
  Reply
#93
(06-03-2021, 03:57 AM)dante404 Wrote: Thank you Arno. Smile  That didn' work (error message that a subdirectory of the renamed directory is missing).
But: I have deinstalled axolotl and manually searched and removed every folder or file somehow connected to/named like axolotl or textsecure, rebooted, reinstalled.. and it works again. Big Grin

One difference to the old version I've noticed:
I can no longer set a password (the password settings menu, and after trying to set one the whole app (until restart), is empty). Seems like a bug?
But afaik that has nothing todo with the messaging but only protecting the locally stored data, right? (On a encrypted mobian not really necessary I guess. Wink )

Again, thanks for your help! Smile
Best Regards,
dante

Glad to hear it worked somehow! But there must be a convenient way to re-install Electron and I can't remember how. But I'm on it.

Regarding the encryption password bug: Yes, I just tested it and it seems broken. I will open an issue on github to let the devs know. And yes, it just affects the local data.
  Reply
#94
(06-03-2021, 03:57 AM)dante404 Wrote: Thank you Arno. Smile  That didn' work (error message that a subdirectory of the renamed directory is missing).
But: I have deinstalled axolotl and manually searched and removed every folder or file somehow connected to/named like axolotl or textsecure, rebooted, reinstalled.. and it works again.

Can you please share with a beginner how did you manually search and remove everything linked to axolotl?

Im also pressing the icon but nothing is starting even after waiting 10+ minutes. Ive tried purging axolotl and reinstalling but it leads to the same issue.
  Reply
#95
(06-11-2021, 07:16 AM)ergo owl Wrote: Can you please share with a beginner how did you manually search and remove everything linked to axolotl?

First I followed all remove variants described here , just for sure:
Code:
sudo apt remove --purge axolotl
sudo rm /usr/share/applications/axolotl.desktop
sudo rm -rf go
sudo apt remove --purge npm nodejs mercurial golang python

Then I opened the file explorer Dolphin and used the search option to find all remaining files/directories with names containing "axolotl" and deleted them, then did the same step for "textsecure".

Then I rebooted and followed the install instructions:
Code:
git clone https://github.com/nuehm-arno/axolotl-mobian-package
cd axolotl-mobian-package && sudo apt install ./axolotl_1.0.0-1_arm64.deb

SORRY for the late reply Sad , was on holiday...
  Reply
#96
(06-11-2021, 07:16 AM)ergo owl Wrote:
(06-03-2021, 03:57 AM)dante404 Wrote: Thank you Arno. Smile  That didn' work (error message that a subdirectory of the renamed directory is missing).
But: I have deinstalled axolotl and manually searched and removed every folder or file somehow connected to/named like axolotl or textsecure, rebooted, reinstalled.. and it works again.

Can you please share with a beginner how did you manually search and remove everything linked to axolotl?

Im also pressing the icon but nothing is starting even after waiting 10+ minutes. Ive tried purging axolotl and reinstalling but it leads to the same issue.

Have you managed to work everything out or do you still need some help?

I was on holidays, too.
  Reply
#97
Hello there,

the latest update of libwpewebkit-1.0-3 from v2.30.6-1 to v2.32.1-1 makes Axolotl in daemonized setup unusable with the browser "cog" on my system.

Here you can find the old version, if you have the same problem and want to downgrade the library:

https://ftp.be.debian.org/debian/pool/main/w/wpewebkit/

Installation from the download folder via

Code:
sudo apt install ./libwpewebkit-1.0-3_2.30.6-1_arm64.deb

Hopefully, there will be another update soon.

And to prevent apt from updating the package again, use the following

Code:
sudo apt-mark hold libwpewebkit-1.0-3

("unhold" reverts this)


Cheers
  Reply
#98
v1.0.1-2 with fixes and improvements is out and you can find it here

https://github.com/nuehm-arno/axolotl-mobian-package

Cheers!
  Reply
#99
Thanks! However I'm running into a problem - what's happening is after the first run which does take a little while, a nearly blank display pops up saying "404 page not found". (I did delete the textsecure.nanuc directories from a previous installation under .config and .local.) Looking at the terminal output it appears that before the 404 error axolotl was trying to popup a dialog box for entering a phone number but that never appears.

Code:
[mobian@mobian ~]$ axolotl
INFO[0000] [axolotl] Starting Signal for Ubuntu version 1.0.1.1
INFO[0000] [axolotl] Setup completed                   
INFO[0000] [axolotl] Start electron                   
INFO[0000] [axolotl] Axolotl server started           
INFO[0000] [axolotl] Starting axolotl ws               
INFO[0000] astikit: starting worker...                 
DEBU[0000] [axolotl] Using axolotl-web path ./axolotl-web/dist
DEBU[0000] [axolotl] Run Backend                       
DEBU[0000] [axolotl] openDb: /home/mobian/.local/share/textsecure.nanuc/db
DEBU[0000] [axolotl] NewDataStore                     
DEBU[0000] [axolotl] NewDataStore finished             
ERRO[0000] [axolotl-electron] main: starting astilectron failed: provisioning failed: provisioning electron failed: unzipping /home/mobian/.config/textsecure.nanuc/electron/vendor/electron-linux-arm64-v12.0.0.zip into /home/mobian/.config/textsecure.nanuc/electron/vendor/electron-linux-arm64 failed: unzipping /home/mobian/.config/textsecure.nanuc/electron/vendor/electron-linux-arm64-v12.0.0.zip into /home/mobian/.config/textsecure.nanuc/electron/vendor/electron-linux-arm64 failed: astikit: opening overall zip reader on /home/mobian/.config/textsecure.nanuc/electron/vendor/electron-linux-arm64-v12.0.0.zip failed: zip: not a valid zip file
INFO[0000] astikit: stopping worker...                 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x71e9e8]

goroutine 37 [running]:
github.com/asticode/go-astilectron.(*writer).write(0x0, 0xbd43fc, 0x11, 0xbe42d9, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/mobian/go/pkg/mod/github.com/asticode/go-astilectron@v0.22.3/writer.go:39 +0x1b8
github.com/asticode/go-astilectron.synchronousEvent.func1(0x40003ed240, 0xbddbf2)
/home/mobian/go/pkg/mod/github.com/asticode/go-astilectron@v0.22.3/helper.go:145 +0x7c
github.com/asticode/go-astilectron.synchronousFunc(0xd486e0, 0x40003ed280, 0xd39d80, 0x400038c500, 0x40002614f0, 0xbddbf2, 0x1c, 0x3, 0xbccf00, 0x40000ae260, ...)
/home/mobian/go/pkg/mod/github.com/asticode/go-astilectron@v0.22.3/helper.go:133 +0x170
github.com/asticode/go-astilectron.synchronousEvent(0xd486e0, 0x40003ed280, 0xd39d80, 0x400038c500, 0x0, 0xbd43fc, 0x11, 0xbe42d9, 0x1, 0x0, ...)
/home/mobian/go/pkg/mod/github.com/asticode/go-astilectron@v0.22.3/helper.go:144 +0xbc
github.com/asticode/go-astilectron.(*Window).Create(0x400038c500, 0xbe42d9, 0x1)
/home/mobian/go/pkg/mod/github.com/asticode/go-astilectron@v0.22.3/window.go:309 +0x158
main.runElectron()
/home/mobian/go/src/github.com/nanu-c/axolotl/main.go:131 +0x550
main.runUI(0x0, 0x0)
/home/mobian/go/src/github.com/nanu-c/axolotl/main.go:59 +0x8c
created by main.main
/home/mobian/go/src/github.com/nanu-c/axolotl/main.go:160 +0xe4
[mobian@mobian ~]$ axolotl
INFO[0000] [axolotl] Starting Signal for Ubuntu version 1.0.1.1
INFO[0000] [axolotl] Setup completed                   
DEBU[0000] [axolotl] Run Backend                       
DEBU[0000] [axolotl] openDb: /home/mobian/.local/share/textsecure.nanuc/db
INFO[0000] [axolotl] Axolotl server started           
INFO[0000] [axolotl] Starting axolotl ws               
DEBU[0000] [axolotl] NewDataStore                     
DEBU[0000] [axolotl] Using axolotl-web path ./axolotl-web/dist
INFO[0000] [axolotl] Start electron                   
INFO[0000] astikit: starting worker...                 
DEBU[0000] [axolotl] NewDataStore finished             
INFO[0000] [axolotl] Loading Chats                     
INFO[0000] [axolotl] Db setup finished                 
ERRO[0000] [axolotl] InitModels open /home/mobian/.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/mobian/.config/textsecure.nanuc
DEBU[2021/07/20 11:57:50] [axolotl] Opening Dialog: getPhoneNumber   
DEBU[2021/07/20 11:57:50] [axolotl-ws] send request getPhoneNumber   
INFO[2021/07/20 12:04:14] [axolotl-electron] Electron App load

[Image: clyBzQP2_o.jpg]
  Reply
(07-20-2021, 10:14 AM)Zebulon Walton Wrote: ...
I did delete the textsecure.nanuc directories from a previous installation under .config and .local.
...

I just
  1. backed up the textsecure directories
  2. did a git pull
  3. followed by a sudo apu install ./axolotl
and all seems fine.

There is no need (AFAIK) to delete the textsecure directories unless you want a fresh/unadulterated install.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  atinout binaries for mobian/debian? NeutralGrey 4 1,319 10-31-2024, 04:16 AM
Last Post: astylethargic
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 39 8,245 10-15-2024, 01:12 PM
Last Post: anonymous
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 799 06-25-2024, 10:38 AM
Last Post: mikehenson
  Mobian-Kicksecure? 3460p 0 809 05-26-2024, 02:09 PM
Last Post: 3460p
  Mobian repository status henrythemouse 16 12,039 04-10-2024, 10:02 AM
Last Post: diederik
  cant verify mobian image at website gnugpg penguins_rule 0 872 03-18-2024, 08:54 PM
Last Post: penguins_rule
  unofficial kali linux for pinephone help needed pinesmell 5 5,022 01-08-2024, 02:50 PM
Last Post: ERPlegend
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 3,908 11-22-2023, 11:46 AM
Last Post: aLoop100o
  What actions needed to keep on mobian testing user641 3 2,578 09-05-2023, 06:44 AM
Last Post: Zebulon Walton
  Mobian boot failed with zstd message after upgrade. Mahgue 0 968 09-01-2023, 11:29 AM
Last Post: Mahgue

Forum Jump:


Users browsing this thread: 3 Guest(s)