Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lokinet crashes on launch #1835

Closed
2 tasks done
theofficialgman opened this issue May 17, 2022 · 16 comments
Closed
2 tasks done

Lokinet crashes on launch #1835

theofficialgman opened this issue May 17, 2022 · 16 comments
Labels
Upstream Bug something isn't working that can only be fixed upstream

Comments

@theofficialgman
Copy link
Collaborator

theofficialgman commented May 17, 2022

Confirmations

What happened?

lokinet crashes on launch

Description

lokinet apt repo has official bionic binaries. these appear to be broken currently. need testing for other users to see if lokinet is functional on arm64 buster or bullseye or if its broken on everything

What is your operating system?

L4T Ubuntu Bionic

(Optional) Error log? Terminal output? Debug messages?

/usr/bin/lokinet-gui --notray
------ Lokinet Control Panel ------
Compile-time Qt Version: 5.9.5
Run-time Qt Version: 5.9.5
nohide:  T
notray:  T
Gtk-Message: 17:20:18.852: Failed to load module "canberra-gtk-module"
lokinet-gui: /drone/src/oxenmq/jobs.cpp:114: void oxenmq::OxenMQ::_queue_timer_job(int): Assertion `b->size() == std::make_pair(size_t{1}, thread > 0)' failed.
Aborted (core dumped
@theofficialgman theofficialgman added bug Something isn't working Upstream Bug something isn't working that can only be fixed upstream labels May 17, 2022
@theofficialgman
Copy link
Collaborator Author

theofficialgman commented May 18, 2022

I can't seem to find any reference to the lokinet GUI for linux in the upstream github repo, only on macos and windows.
maybe it was removed or added by the oxen deb repo maintainer?

ah yes it was removed, the qt5 GUI is no more, the new gui upstream is in a separate repo and is electron based https://github.com/oxen-io/lokinet-gui . they have not made any debs for the new GUI yet
😢

the old gui (the one still in the deb packages) is here: https://github.com/oxen-io/lokinet-control-panel/tree/master
it appears it was too much work for them as they had a specific branch per debian/ubuntu release

@Botspot
Copy link
Owner

Botspot commented May 18, 2022

@necro-nemesis

@theofficialgman theofficialgman removed the bug Something isn't working label May 18, 2022
@necro-nemesis
Copy link
Contributor

v0.9.9 is anticipated to release in the next couple weeks once packages are built for the various distros and will feature a revised GUI built on Electron. Installer changes will be forthcoming to manage these updates.

Ubuntu/Bionic currently is a build target for the old GUI. https://github.com/oxen-io/lokinet-control-panel/tree/ubuntu/bionic so the error is not related to the repo not having a bionic target for the old GUI.

As stated major changes are imminent and will be addressed when released.

@theofficialgman
Copy link
Collaborator Author

theofficialgman commented Jun 4, 2022

@necro-nemesis I've looked at the lokinet electron repo. unfortunatly, due to electron 11.X used there, this can not be included on modern linux distros https://github.com/oxen-io/lokinet-gui/blob/569f90ad88fd820aa47825bbac4b34795425c6ce/package.json#L85 . you need to upgrade to a minimum of electron 13 electron/electron#31091. refer to the blacklist below

gmans electron blacklist:
electron 18.0.0-18.2.3
electron 19.0.0-19.0.4
electron < 13.5.0

@Botspot
Copy link
Owner

Botspot commented Oct 8, 2022

@necro-nemesis, I have pinged you several times over the past few months whenever I spot a Lokinet installation failure in the Botspot Software Discord server.

Have you checked Discord recently and are you still reviewing these logs?

@theofficialgman
Copy link
Collaborator Author

theofficialgman commented Nov 20, 2022

currently hidden in the GUI of pi-apps since it quite literally has near 0 successful installs over the past many months

I see that the new electron GUI has just released 5 days ago https://github.com/oxen-io/lokinet/releases/tag/v0.9.10... however I'm in favor of removing this from pi-apps as I have no interest in maintaining or testing it, unless another maintainer would like to do so.

@necro-nemesis
Copy link
Contributor

The latest version of Lokinet including the new GUI just dropped into the repo as of Friday where Pi-Apps acquires it from. It will require some testing on various platforms including pi that are reliant on the repo hosting Lokinet to test it's installation from there. Although tagged 5 days ago it took that additional amount time for it to be added to the repo.

@theofficialgman
Copy link
Collaborator Author

I took a look at the repo yesterday and found lokinet-gui to only be available for amd64. no arm64 or armhf releases
https://deb.oxen.io/pool/main/l/lokinet-gui/. the releases for the GUI in the pool/main/l/loki-network-control-panel are only the old GUI.

in addition 18.04 support appears to not be there for all packages and all architectures

@majestrate
Copy link

the issues with the arm build is related to some idiosyncrasies in node/electron. there is/was an old abandoned npm module or two that are holding version back a bit. we are planning on addressing these in the next up coming tag.

@Botspot
Copy link
Owner

Botspot commented Nov 22, 2022

For now Lokinet is hidden in Pi-Apps. Existing users (assuming there are any) will receive no change, but new users will not be able to find it.

@necro-nemesis
Copy link
Contributor

I'm waiting on the electron dev to build 64 bit ARM version of the gui for addition to the repo before reworking the installer. I see where the app is hidden and appreciate how to gain access to it within my own fresh installation of Pi-Apps when I am able to proceed with required changes. From my testing and discussions it appears this is the last step required before Pi-Apps can be reworked to support both Lokinet ARM 32 and 64 bit. Currently lokinet and lokinet-bin 32 and 64 bit are the latest versions (v0.9.11) in the repo but the repo currently lacks the final 64 bit electron gui build to fully support Pi-Apps as a desktop application.

@Botspot
Copy link
Owner

Botspot commented Nov 14, 2024

Was there ever any outcome on this? If not, I want to remove this app completely from Pi-Apps, as it has been hidden for two years.

@theofficialgman
Copy link
Collaborator Author

Was there ever any outcome on this? If not, I want to remove this app completely from Pi-Apps, as it has been hidden for two years.

@Botspot Never resolved. lokinet-gui (the "new" gui) was never built for arm linux (only the very old, pre-1.0 release exists on older distros while newer ones actually just have no lokinet-gui package at all). The isn't the case on amd64. Seems reasonable to remove it given the lack of upstream support for 2 years.

Just for reference, I checked for this info from the packages files

arm64:
https://deb.oxen.io/dists/noble/main/binary-arm64/Packages
https://deb.oxen.io/dists/jammy/main/binary-arm64/Packages

@necro-nemesis
Copy link
Contributor

Lokinet went through a complete and lengthy refactor to use quic. I can contact the lead dev to see if now would be the time to reintroduce it within Pi-Apps if there's interest still in the community.

@Botspot
Copy link
Owner

Botspot commented Nov 14, 2024

That's fine.

@jagerman
Copy link

Speaking as upstream project dev: our development focus currently is on getting the refactored version up and running with bugs ironed out working on our internal testnet before the end of this year, and then polishing and pushing the required server-side upgrade out to the network (with an ideal release target for February). There's a lot of promising changes for reliability and performance, but at the moment our focus is on the core; as we get closer to a public-ready release we'll definitely come back to getting the new electron GUI working on ARM with an aim to re-enter pi-apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upstream Bug something isn't working that can only be fixed upstream
Projects
None yet
Development

No branches or pull requests

5 participants