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

Unable to transfer to new Ubuntu 24.04 server (Stack trace: Error: /usr/bin/sashimono/mb-xrpl/build/Release/node_sqlite3.node: cannot open shared object file: No such file or directory) #477

Open
migotron opened this issue Jan 25, 2025 · 2 comments

Comments

@migotron
Copy link

I am unable to transfer to a different server.
I have ran the evernode transfer command.
I have ran all the troubleshooting steps on the Evernode documentation for transfer failures and verified my wallet has the adequate funds.
I have my wallet address and secret, and verified I have placed the correct address when prompted.
Stack trace: Error: /usr/bin/sashimono/mb-xrpl/build/Release/node_sqlite3.node: cannot open shared object file: No such file or directory

Image

I am able to start brand new nodes but for some reason I cannot transfer one node to another VPS.
I have started a new node using the same VPS class and provider.

I initiated the transfer from the old server.
"Transfer process was successfully initiated. You can now install and register Evernode using the account "
I verified the host registration NFT is in my wallet so I think I am safe on losing access of my node registration.

I attempted to re-install on the same server and I am getting the same error, when setting up Xahau host

@RJ-Flash
Copy link

RJ-Flash commented Feb 2, 2025

The error message indicates that the required SQLite3 node module (node_sqlite3.node) is missing or cannot be loaded. This is likely causing the Evernode transfer failure.

Steps to Fix the Issue:

  1. Ensure Required Dependencies Are Installed:
    Run the following commands to ensure all necessary dependencies are installed:

    sudo apt update && sudo apt upgrade -y
    sudo apt install -y build-essential sqlite3 libsqlite3-dev
  2. Rebuild Node Modules for Sashimono:
    Since the error points to /usr/bin/sashimono/mb-xrpl/build/Release/node_sqlite3.node, try rebuilding it:

    cd /usr/bin/sashimono/mb-xrpl
    npm rebuild sqlite3
  3. Verify Node.js and NPM Versions:
    Ensure your Node.js and NPM versions are compatible with Evernode:

    node -v
    npm -v

    If your Node.js version is too old or incompatible, upgrade it:

    sudo apt install -y nodejs npm
  4. Manually Install SQLite3 for Node.js:
    Run the following command:

    npm install sqlite3 --build-from-source
  5. Try Running Evernode Again:
    If the above steps succeeded, reattempt Evernode registration:

    sudo systemctl restart sashimono
  6. If the Issue Persists, Check File Permissions:

    sudo chmod -R 755 /usr/bin/sashimono
    sudo chown -R $USER:$USER /usr/bin/sashimono
  7. Reattempt the Transfer Process:

    • Run the Evernode transfer command again.
    • If it fails, try a fresh installation and register your node with the same wallet.

Final Option: Manual Transfer

If all else fails, you can:

  • Deploy a new node.
  • Migrate any relevant data manually.
  • Re-register the node.

After performing these steps, try the Evernode transfer command again and check if the error persists. Let me know what output you get.

@kithminisg
Copy link
Contributor

@migotron , Have you tried following command?

curl -fsSL https://raw.githubusercontent.com/EvernodeXRPL/evernode-24-resources/main/sashimono/installer/evernode.sh | sudo bash -s transfer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants