Skip to content

Commit d6b8b58

Browse files
add header for lucidity ;)
1 parent cc26f8d commit d6b8b58

File tree

1 file changed

+28
-21
lines changed

1 file changed

+28
-21
lines changed

docs/cdk/get-started/deploy-rollup/start-node.md

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,6 @@ This command spins up the following services:
1414
- Pool DB
1515
- Mock prover
1616

17-
### Configuration issues
18-
19-
If you have errors related to configuration issues, see the warning at step 4 in the [configure node deployment](configure-node-deployment.md#set-up) section.
20-
21-
### Process binding issue
22-
23-
If you need to restart, make sure you kill any db processes hanging with the following commands.
24-
25-
```sh
26-
sudo lsof -t -i:5432
27-
kill -9 <PID>
28-
```
29-
30-
### Kill all Docker containers and images
31-
32-
```sh
33-
docker rm $(docker ps -aq)
34-
docker rmi $(docker images -q)
35-
```
36-
3717
## Log sample
3818

3919
??? "Logs sample"
@@ -63,4 +43,31 @@ docker rmi $(docker images -q)
6343
zkevm-rpc | /src/db/db.go:53 github.com/0xPolygonHermez/zkevm-node/db.CheckMigrations()
6444
zkevm-rpc | /src/cmd/run.go:263 main.checkStateMigrations()
6545
zkevm-rpc | /src/cmd/run.go:70 main.start()
66-
zkevm-state-db | 2024-01-24 13:49:21.909 UTC [78] ERROR: relation "public.gorp_migrations" does not exist at character 22
46+
zkevm-state-db | 2024-01-24 13:49:21.909 UTC [78] ERROR: relation "public.gorp_migrations" does not exist at character 22
47+
48+
## Troubleshooting
49+
50+
### Configuration issues
51+
52+
If you have errors related to configuration issues, see the warning at step 4 in the [configure node deployment](configure-node-deployment.md#set-up) section.
53+
54+
### Process binding issue
55+
56+
If you need to restart, make sure you kill any hanging db processes with the following commands.
57+
58+
!!! info
59+
You can find the port number from the log warnings.
60+
61+
```sh
62+
sudo lsof -t -i:<DB_PORT>
63+
kill -9 <PID>
64+
```
65+
66+
### Kill all Docker containers and images
67+
68+
You can fix many restart issues and persistent errors by stopping and deleting all Docker containers and images.
69+
70+
```sh
71+
docker rm $(docker ps -aq)
72+
docker rmi $(docker images -q)
73+
```

0 commit comments

Comments
 (0)