Description
Import-Key with Lighthouse is not working on Debian System:
./sedge import-key --network gnosis --start-validator lighthouse
2025-03-27 23:47:31 -- [INFO] [Logger Init] Log level: info
2025-03-27 23:47:31 -- [INFO] You are running the latest version of sedge. Version: v1.9.0
2025-03-27 23:47:31 -- [INFO] Setting up containers
2025-03-27 23:47:31 -- [INFO] Running command: docker compose -f /root/sedge-data/docker-compose.yml build validator
2025-03-27 23:47:31 -- [INFO] Running command: docker compose -f /root/sedge-data/docker-compose.yml pull validator
[+] Pulling 4/4
✔ validator Pulled 7.2s
✔ 9cb31e2e37ea Pull complete 4.0s
✔ 8b2328461686 Pull complete 4.3s
✔ 7c9d91462320 Pull complete 5.1s
2025-03-27 23:47:39 -- [INFO] Running command: docker compose -f /root/sedge-data/docker-compose.yml create validator
[+] Creating 3/3
✔ Network sedge-network Created 0.0s
✔ Container sedge-validator-blocker Created 0.1s
✔ Container sedge-validator-client Created 0.0s
2025-03-27 23:47:39 -- [INFO] Running command: docker build -t sedge/validator-import-lighthouse --build-arg NETWORK=gnosis --build-arg LH_VERSION=sigp/lighthouse:v7.0.0-beta.4 /tmp/sedge-validator-import-context-210668689
[+] Building 15.2s (12/12) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 539B 0.0s
=> [internal] load metadata for docker.io/library/debian:stable-20221004-slim 0.9s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [1/8] FROM docker.io/library/debian:stable-20221004-slim@sha256:92ed72016796475ea1f18f84cd8e2f8519ece3a9ea27fdde1157464078ea5371 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 1.00kB 0.0s
=> [2/8] RUN apt-get update && apt-get install -y curl dos2unix bash 9.8s
=> [3/8] RUN version=$(echo sigp/lighthouse:v7.0.0-beta.4 | cut -d':' -f 2) && curl -L https://github.com/sigp/lighthouse/releases/download/$version/lighthouse-$version-aarch64-unknown-linux-gnu.tar.gz --output lh.gz 2.5s
=> [4/8] RUN tar -xvf lh.gz 0.8s
=> [5/8] COPY validator-init.sh . 0.0s
=> [6/8] RUN dos2unix validator-init.sh 0.2s
=> [7/8] RUN chmod +x validator-init.sh 0.2s
=> exporting to image 0.7s
=> => exporting layers 0.6s
=> => writing image sha256:d20e998a0e10b293899e0180b17e35b618295e9b45e4975de6a06e48ea6952a3 0.0s
=> => naming to docker.io/sedge/validator-import-lighthouse 0.0s
2025-03-27 23:47:55 -- [INFO] Importing validator keys
2025-03-27 23:47:55 -- [INFO] The keys import container is starting
2025-03-27 23:47:55 -- [INFO] The validator container is being restarted
2025-03-27 23:47:55 -- [FATA] validator import container exited with non-zero exit code: validator-import service container with id 808023cfb7576453ea89e7658b7571ded6608fe0eb45da9d23b5d8ceb353f57f ends with status code 126. Here are the logs for more details:
QFound validator key in /keystore/validator_keys/keystore-m_12381_3600_0_0_0.json
Importing validator...
7validator-init.sh: 23: ./lighthouse: Exec format error
uname -a
Linux gnosis 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux
cat /etc/debian_version
12.10