Skip to content

ZeroNetX not working on Linux Debian + possibly on other platforms too due multiple issues described (incl. no working trackers?) #241

@slrslr

Description

@slrslr

I think that the ZeroNetX is currently not working for the new users due to lack of working trackers and in case of Linux thanks to non working executable file. Details:

I have been trying to run older, possibly outdated ZNX using Python modules installed from Debian 12 package manager APT:
apt install python3-{gevent,greenlet,msgpack,base58,rsa,pyasn1,maxminddb,socks,websocket}

because trying to install the modules using pip from Python VENV python3 -m venv .venv && source .venv/bin/activate && python3 -m pip install -r requirements.txt resulted in pysha3 installation failure seen on the screenshot
Image

Updating the ZNX code failed:

$ git pull
remote: Enumerating objects: 302, done.
remote: Counting objects: 100% (100/100), done.
remote: Compressing objects: 100% (2/2), done.
Receiving objects: 100% (302/302), 113.36 KiB | 2.02 MiB/s, done.
remote: Total 302 (delta 98), reused 100 (delta 98), pack-reused 202 (from 1)
Resolving deltas: 100% (199/199), completed with 28 local objects.
From https://github.com/ZeroNetX/ZeroNet
 * [new branch]        multi-sig         -> origin/multi-sig
   5ee92885..29002595  py3-latest        -> origin/py3-latest
   ab7e38c2..6205a20f  py3-patches       -> origin/py3-patches
 * [new branch]        rust-impl-tracker -> origin/rust-impl-tracker
 * [new tag]           v0.7.9            -> v0.7.9
 * [new tag]           v0.8.0            -> v0.8.0
 * [new tag]           v0.8.1            -> v0.8.1
 * [new tag]           v0.8.2            -> v0.8.2
 * [new tag]           v0.8.3            -> v0.8.3
 * [new tag]           v0.8.4            -> v0.8.4
 * [new tag]           v0.8.5            -> v0.8.5
Fetching submodule plugins
From https://github.com/ZeroNetX/ZeroNet-Plugins
   d3cbe17..689d930  master     -> origin/master
Could not access submodule 'NameYo'
Errors during submodule fetch:
        plugins

Then I have tried to download ZNX from Git manually:

cd /path/to/apps && wget https://github.com/ZeroNetX/ZeroNet/releases/latest/download/ZeroNet-linux.zip -O zeronetx.zip && unzip zeronetx.zip && mv ZeroNet-linux zeronetx && cd zeronetx && sed -i "s|runtime/|/usr/|g" ./ZeroNet.sh && sed -i "s|../runtime/bin/openssl|openssl|" ./core/src/Crypt/CryptConnection.py && chmod +x ./ZeroNet.sh && ./ZeroNet.sh --version

as you can see, I had to do replacement in two files, otherwise I would see error like: runtime/bin/python3: No such file or directory

this may need to be fixed in ZNX code.

Other roadblock that needs to be removed by @canewsin is lack of working trackers. Currently ZNX Dashboard site is not available to new users (content.json download failed, no peers)

Fix it by inserting some trackers:

echo -e "\ntrackers =\n zero://tqmo2nffqo4qc5jgmz3me5eri3zpgf3v2zciufzmhnvznjve5c3argad.onion:15441\n zero://202:7d01:9137:6c29:afea:ce96:300e:336e:15441\n zero://rlmi4jdimr7pvnalkc2fuz4r46vevyqw5qob5j5exxjzelhad4in3kyd.onion:15441\n zero://204:78f3:7c56:a432:f66c:fa1d:8d9b:b332:15441\n zero://fzlzmxuz2bust72cuy5g4w6d62tx624xcjaupf2kp7ffuitbiniy2hqd.onion:15441\n zero://5vczpwawviukvd7grfhsfxp7a6huz77hlis4fstjkym5kmf4pu7i7myd.onion:15441" >> zeronet.conf

And run ZNX again:

./ZeroNet.sh

Opened http://127.0.0.1:43110/1HELLoE3sFD9569CLCbHEAVqvqV7U2Ri9d with error (which also should be fixed in ZNX):

Not Found
/media/1HELLoE3sFD9569CLCbHEAVqvqV7U2Ri9d/

Reload that webpage (F5) worked to display web dashboard.

I think that these roadblocks should be removed now before Rust implementation is finished. ZNX should also support ZeroID2 on ThreadIt and other default sites, since ZeroID is dead for months.
There are also recent commit #239 which is fixing a roadblock in selecting GateWay, ZeroID2 and other non .bit providers on ZN sites.
This would revive ZNX until Rust version is available @canewsin (if financial support is needed, I have already sent you an email).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions