-
Notifications
You must be signed in to change notification settings - Fork 12
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
nexus_wallet-Linux-1.1.0.AppImage doesn't work - critical error #56
Comments
Please note, previous version of the wallet has worked on this machine without this error (Window worked and GUI was present, but wallet failed to synchronize). This is potentially a regression from previous version. |
From my own research into the issue, it looks like electron issue 17972 may be the culprit for the current Linux issues. |
Just installed brand new Debian 10.0 Buster on AMD64 machine.
|
@pioruns Basically, this is not an issue with the wallet, but with one of the dependencies. |
@pioruns |
Thanks, I sent you back the results - no success as of yet! |
had a thought and some free time.... and came up with this: • electron-builder version=21.2.0 os=4.4.0-18362-Microsoft Aaaand...... ive got a running and syncing linux wallet on 1.1.0, 3.0.2, and ubuntu 18.04, currently syncing and downloading the bootstrap! changes were..... package-lock.json: "electron-builder": { "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-21.2.0.tgz", "integrity": "sha512-x8EXrqFbAb2L3N22YlGar3dGh8vwptbB3ovo3OF6K7NTpcsmM2zEoJv7GhFyX73rNzSG2HaWpXwGAtOp2JWiEw==", On first run, connection to core hangs, but a second load connects and boots fine! |
That's great :) Can this be packaged into AppImage? I am happy to test once ready. |
yes I can send it over one minute. Im not sure why, but it still seems to not like having a backup added in (old wallet.dat) and there is still connection to core issues on reloads, but it opens now! appimage link and VT results virustotal and deb link and VT results virustotal |
Will test that in a minute, thanks! By the way, why this is not tagged as BUG? Why no one is assigned to this issue? EDIT: |
Ok, tried to test .deb file, result:
Can't install, depends on obsolete package which doesn't exist in Debian Buster 10 anymore. Let me know about AppImage, I will check that next:) |
sorry, at the time I was using anydesk from my phone lol so some of the links got messed up, appimage should be here https://drive.google.com/open?id=1UaR-g_D1ApBZzy5sXd-GLqd89lnP17GA however these will not fix your 'gir1.2' issue, only the subsequent SUID sandboxing issues.
|
You linked nexus_wallet-Linux-1.1.0.AppImage, downloaded that, no luck.
|
So youve passed the gir1.2 issue? those instructions worked? heres a screen of it syncing on 18.04.... i will reupload a new copy, maybe i choose a bad file for the AppImage |
Just downloaded your new file nexus_wallet-Linux-1.1.1.AppImage. Result:
Also, I can't just install gir1.2-gnomekeyring-1.0_3.12.0-1build1_amd64.deb into my system, it depends on other components. Most likely source depo would need to be added in order for this to work, or installation of few more packages, but that's not the path we should be taking - Nexus is depending on obsolete library in the first place.
No idea why dpkg -i doesnt work as intended, but gdebi shows what is going on. |
eating some dinner quick, and then im on it! :) Ill grab a copy of MX and add it to my dev machine quick. Will update if i resolve the issue for your system specifically. But so far for ubuntu the SUID issue seems resolved, if an actual dev can verify thatd be great. And once i have MX working ill put it into a merge request for mainstream use if the devs see fit. |
AFAIK, Latest MX Linux is based on Debian Oldstable (Stretch), that's why I moved out from it, because I realized, that recommened way to upgrade MX is a fresh install O_o (once they release a new one based on Buster). Scrapped MX, went to base system - Debian Buster and it works perfectly, will leave my server with it for years to come. I am testing on VM anyway, I will be happy to test on other systems once you have a piece of code which needs more extensive QA :) |
Closed pull request as it doesn't fix Debian issues and id like to have all fixes in one pull. I have the same issue you have with buster, however i have skipped the gir1.2 issue completely by using a gnome edition of Debian 10. So that seems to be only an issue on non-gnome distros. However, my update fix does not work on a vanilla Debian Buster VM even though it seems to be working great on ubuntu 18.04. [update] [update 2] |
Well that's interesting! Debian 10 Gnome version somehow satisfies dependency, which is uninstallable on Debian 10 MATE, with same repositories? I rather think that AppImage worked there for you, but not .deb file? .deb file should remain uninstallable as it doesn't exist on Debian repo, you can try here https://www.debian.org/distrib/packages these packages doesn't exist in Buster. |
No progress on Debian at all. Its still stuck at the SUID issue, however it has passed the gir1.2 dependancy issue (like you said, just the AppImage ). After work today, I have a few more ideas to try, but after that ill leave it to the real devs :) |
Hey @l8nit3tr0ubl3 thank you so much for your investigating, I does seem like electron 5 is being funky. We can look into upgrading it to 6. I think 5 to 6 will be easy compared to 4 to 5 where there were dep issues. |
So, it would seem 5-6 still has issues on debian based distros (SUID above), and any non-gnome based distro (gir1.2 above) however I have just tested a version on Debian with downgraded 5-4 electron and no other changes, and it works so far on Debian 10!!! just have to test ubuntu then ill send a pull request :) |
Awesome, just let me know when the pull request is finished and I can go over it with the team. |
Heres an AppImage for anyone who wants to test Google Drive and heres a listsing of all the compiled binaries as i test them google drive folder Once all test clean i will re-issue the pull request from a cleaned up fork for review. UPDATE |
if I understand correctly, that is an option for how many rpc request can be handled concurrently. It is not the number of cores/threads in use at any one time, just a maximum number if multiple rpc requests are made all at once. It is built in to the wallet, or possibly dynamic based on system specs, but is not something I changed in my update. |
ok thanks :) So, testing is done at this point, we can wait for some of your changes to be pulled into main repo, right? I will be happy to test again once official builds are out. And certainly fail of Nexus Core at first run could be looked at. |
I wonder if the missing/unreadable settings.json is the cause of the core hanging? At which point a simple re-scan for the file after creation should fix it, or even a hardcoded core reboot after file creation..... |
Have you seen this? |
Also have you by any chance tried with electron 6? Would rather upgrade than downgrade to 4. |
Doing a chown & chmod does not work in our case, the chromium sandbox folder is created in /tmp/.mount_nexus_[randomstring] and the random string changes each time. I believe a downgrade or fully disabling the sandbox are the only options at this point (will test disabling sandbox later this evening) |
@pioruns |
I am not in sudoers file, had to use "su -" and also install procps package first. Result:
Beautiful. |
I also tried nexus_wallet-Linux-1.1.0.deb, but that still requires gir1.2-gnomekeyring-1.0 which is uninstallable. |
Great! Now I'll start working on the 1st run core lag, and some of those warnings and errors that show in your log :) I dont recommend closing this as solved yet though, as we only have a workaround at this point and not a permanent, in-wallet solution. |
Amazing. Question: how I configure datadir location when running from AppImage, or deb? in Nexus-Qt it's easy, --datadir switch, but here I am not sure. |
Try changing it in the home/pioruns/.config/Nexus Wallet/settings.json file, this will run ut at start when the core is started I believe. There should already be an option pointing to .Nexus |
settings.json contains only:
~/.Nexus folder gets created as well, database is here, along with wallet.dat, nexus.conf. I have no chance to change it?
--datadir=/home/pioruns/Nexus1 this is being ignored, and |
I can confirm, when both folders ~/.Nexus and ~/.config/Nexus Wallet not exist, it's stuck on "Connecting to Nexus Core..." |
Another error: |
This is a separate issue, and should definitely be opened as a feature request here. You make a solid point but it's not quite a bug as it's working as expected. Just something that could be optimized :) I will add it to my list of things to attempt for the team. UPDATE tl;dr for anyone with this issue use: |
I thought so! So I left it for an hour, just came back and it's done! I am 65k blocks behind, not far:)
This doesn't work on Debian, and Debian uses systemd. |
Upon finished downloading there should be a message - unpacking! Must be added, as this process can take as long as downloading did. Right now, I can see from terminal, core has been stopped and restarted again to accept bootstrap, my guess when zip file has been already unpacked. It should be stopped when downloading is started, not when file is unpacked.
|
I will be making a document that will outline some FAQs etc about different versions of linux and such tomorrow. |
Also I sent a build to @pioruns that does not contain gnomekeyring |
This is fixed in nexus_wallet-Linux-1.2.0.AppImage:
Wallet goes to UI without any problems, starts bootstrapping, problem with Sandbox is gone for AppImage, tested on Debian Buster 10 (MATE env.). |
I am going to close this now. But feel free to open this back up if this same issue is back. |
Describe the bug
Just downloaded nexus_wallet-Linux-1.1.0.AppImage on Linux MX (Debian Stretch with improved GUI). Wallet fails with critical error.
To Reproduce
This is stock Linux, nothing has been changed and I have no knowledge of any custom changed made to sandbox helper or whatever that is.
Expected behavior
nexus-wallet command should start wallet. I can see Licence Agreement I can click Yes, but it fails with error
Screenshots
not required
Desktop (please complete the following information):
$ uname -a
Linux mx 4.19.0-5-amd64 #1 SMP Debian 4.19.37-2~mx17+1 (2019-05-15) x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: MX
Description: MX 18.3 Continuum
Release: 18.3
Codename: Continuum
All packages are from Debian Stretch.
The text was updated successfully, but these errors were encountered: