Cardinal-Cryptography / Cardinal-Cryptography/aleph-node-issues

Testnet upgrading to V13 fail after git pull + run_node.sh

Open
#13 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Did you read the documentation and guides?

- [X] I have inspected the documentation.

### Is there an existing issue?

- [X] I have searched the existing issues.

### Description of the problem

I upgraded the testnet V12 to V13 as recommended: stop docker + launch run_node.sh. It worked. but no pruning option in env/files, no download of parityDB. Checking docs, I saw that it is recommended to git pull the aleph-zero-node/ directory.

After git pull, updating correct ports in env/ files, I saw pruning option. When I launched run_node.sh, it downloaded the 58Gb of data. Installation finished with "Testnest sucessfully updated" with a message to remove manually db/.

Nevertheless, the docker was not started, it was continuously restarting. (restarting (123)).
I stopped docker, updated it again, made a git pull, restarted the update to get the pruning option & downloading db.

```
when restarting I got the arror at the end of run_node.sh install:
docker: Error response from daemon: driver failed programming external connectivity on endpoint powerpsy (b8ac417cf3f0e13e5a128d77e91348b6b6bcd21993da9d46f55663d5765c2d3d): Error starting userland proxy: listen tcp4 0.0.0.0:31343: bind: address already in use.
```

closing docker, renaming the docker to another name to rebuild it (I had message that the container name was already used)
run_node.sh properly: I get an error on binding ports: `Error starting userland proxy: listen tcp4 0.0.0.0:31343: bind: address already in use`.

closing docker `docker stop $(docker ps -a -q)`, rebooting,
```
2024-02-25 06:22:40.564 INFO main sc_cli:🏃 Aleph Node
2024-02-25 06:22:40.564 INFO main sc_cli:🏃 ✌️ version 0.13.0-ebd98ce0c88
2024-02-25 06:22:40.564 INFO main sc_cli:🏃 ❤️ by Cardinal:Aleph Zero Foundation, 2021-2024
2024-02-25 06:22:40.564 INFO main sc_cli:🏃 📋 Chain specification: Aleph Zero Testnet
2024-02-25 06:22:40.564 INFO main sc_cli:🏃 🏷️ Node name: powerpsy
2024-02-25 06:22:40.564 INFO main sc_cli:🏃 👤 Role: AUTHORITY
2024-02-25 06:22:40.564 INFO main sc_cli:🏃 💾 Database: ParityDb at /data/chains/testnet/paritydb/full
./docker_entrypoint.sh: line 141: CUSTOM_ARGS: unbound variable
CLI parameter --execution` has no effect anymore and will be removed in the future!

====================

Version: 0.13.0-ebd98ce0c88

0: sp_panic_handler::set::{{closure}}
1: as core::ops::function::Fn>::call
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/alloc/src/boxed.rs:1987:9
std::panicking::rust_panic_with_hook
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:695:13
2: std::panicking::begin_panic_handler::{{closure}}
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:580:13
3: std::sys_common::backtrace::rust_end_short_backtrace
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:150:18
4: rust_begin_unwind
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:578:5
5: core::panicking::panic_fmt
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:67:14
6: core::panicking::panic
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:117:5
7: parity_db::column::HashColumn::get_in_index
8: parity_db::column::HashColumn::get
9: parity_db::db::Db::get
10: >::get
11: sc_state_db::StateDbSync::new
12: sc_service::builder::new_db_backend
13: aleph_node::service::new_partial
14: aleph_node::service::new_authority
15: aleph_node::main::{{closure}}::{{closure}}
16: sc_cli:🏃:Runner::run_node_until_exit
17: aleph_node::main
18: std::sys_common::backtrace::rust_begin_short_backtrace
19: main
20:
21: __libc_start_main
22: _start

Thread 'main' panicked at 'called Option::unwrap() on a None value', /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parity-db-0.4.12/src/file.rs:130

This is a bug. Please report it at:

docs.alephzero.org
```

### Information on your setup.

ubuntu 22.04 LTS desktop freshly updated
intel 11900 + 64Go DDR4, 2To NVME SSD, B560M chipset

running testnet 12.2 (node powerpsy), upgrading to 13
latest docker install without root privilege, validator node

### Steps to reproduce

1. modify env/validator file (ports or anything)
2. stop docker
3. ./run_node.sh
4. backup env/ files
5. stop docker
6. git pull
7. modify env/validator_testnet (with working ports)
8. ./run_node.sh

"docker ps -a" shows a restarting container

### Did you attach relevant logs?

- [X] I have attached logs (if relevant).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.