Illegal instruction (start.sh in docker container) #409

Closed
opened 2025-10-09 18:47:29 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @TrotsenkoSergey on GitHub.

follow these instructions

On 'docker compose up' have this issue:

planka-1    | ./start.sh: line 3:     8 Illegal instruction     (core dumped) node db/init.js
planka-1 exited with code 0
Originally created by @TrotsenkoSergey on GitHub. [follow these instructions](https://docs.planka.cloud/docs/installation/docker/production_version) On 'docker compose up' have this issue: ``` planka-1 | ./start.sh: line 3: 8 Illegal instruction (core dumped) node db/init.js planka-1 exited with code 0 ```
Author
Owner

@daniel-hiller commented on GitHub:

root@test:~# mkdir /opt/planka
root@test:~# curl -L https://raw.githubusercontent.com/plankanban/planka/master/docker-compose.yml -o /opt/planka/docker-compose.yml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2016  100  2016    0     0   9878      0 --:--:-- --:--:-- --:--:--  9931
root@test:~# openssl rand -hex 64
c92cfe49a36f0703c5200990c8e499eebcd123e751c92d1d13cab15f1ef6bc58c841fb90ee26ccd870c95c755f5a29664c586956dbc2bc69076bef38eac42583
root@test:~# cd /opt/planka
root@test:~# nano docker-compose.yml
root@test:/opt/planka# docker compose up -d
[+] Running 22/22
 ✔ planka 12 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                                   7.6s
   ✔ 4abcf2066143 Already exists                                                                                                                            0.2s
   ✔ eb6c7c29ba4d Pull complete                                                                                                                             1.1s
   ✔ 3d4a65156edf Pull complete                                                                                                                             0.3s
   ✔ 5bdb6c27eb32 Pull complete                                                                                                                             0.5s
   ✔ 8a3aaf6a1ed2 Pull complete                                                                                                                             0.7s
   ✔ 08fb22e39675 Pull complete                                                                                                                             0.7s
   ✔ 514e58f4af6c Pull complete                                                                                                                             1.0s
   ✔ 3d0eb03df346 Pull complete                                                                                                                             1.1s
   ✔ 36bc3267337b Pull complete                                                                                                                             1.2s
   ✔ c346911237d5 Pull complete                                                                                                                             2.1s
   ✔ 1c17bb2f937f Pull complete                                                                                                                             1.5s
   ✔ fe212f4dab78 Pull complete                                                                                                                             1.6s
 ✔ postgres 8 layers [⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                                      6.6s
   ✔ f4902422f3db Pull complete                                                                                                                             1.2s
   ✔ 44ab1639b862 Pull complete                                                                                                                             1.3s
   ✔ 31edc9d9a67e Pull complete                                                                                                                             2.3s
   ✔ 8b3409f37352 Pull complete                                                                                                                             1.6s
   ✔ be2417e2cf5f Pull complete                                                                                                                             1.7s
   ✔ 80b88554bb5f Pull complete                                                                                                                             1.9s
   ✔ e959a60f7350 Pull complete                                                                                                                             2.1s
   ✔ 3c5d736a7471 Pull complete                                                                                                                             2.3s
[+] Running 2/7
 ⠋ Network planka_default                     Created                                                                                                      11.0s
 ⠏ Volume "planka_project-background-images"  Created                                                                                                      11.0s
 ⠏ Volume "planka_attachments"                Created                                                                                                      11.0s
 ⠏ Volume "planka_db-data"                    Created                                                                                                      11.0s
 ⠏ Volume "planka_user-avatars"               Created                                                                                                      11.0s
 ✔ Container planka-postgres-1                Healthy                                                                                                      10.8s
 ✔ Container planka-planka-1                  Started
root@test:/opt/planka# docker compose logs planka
planka-1  | debug: Detected Sails environment is "production", but NODE_ENV is `undefined`.
planka-1  | debug: Automatically setting the NODE_ENV environment variable to "production".
planka-1  | debug:

For me it's working just fine
Ubuntu 22.04 LTS with Docker 25.0.3

Which OS and Docker version are you using?

@daniel-hiller commented on GitHub: ``` root@test:~# mkdir /opt/planka root@test:~# curl -L https://raw.githubusercontent.com/plankanban/planka/master/docker-compose.yml -o /opt/planka/docker-compose.yml % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2016 100 2016 0 0 9878 0 --:--:-- --:--:-- --:--:-- 9931 root@test:~# openssl rand -hex 64 c92cfe49a36f0703c5200990c8e499eebcd123e751c92d1d13cab15f1ef6bc58c841fb90ee26ccd870c95c755f5a29664c586956dbc2bc69076bef38eac42583 root@test:~# cd /opt/planka root@test:~# nano docker-compose.yml root@test:/opt/planka# docker compose up -d [+] Running 22/22 ✔ planka 12 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 7.6s ✔ 4abcf2066143 Already exists 0.2s ✔ eb6c7c29ba4d Pull complete 1.1s ✔ 3d4a65156edf Pull complete 0.3s ✔ 5bdb6c27eb32 Pull complete 0.5s ✔ 8a3aaf6a1ed2 Pull complete 0.7s ✔ 08fb22e39675 Pull complete 0.7s ✔ 514e58f4af6c Pull complete 1.0s ✔ 3d0eb03df346 Pull complete 1.1s ✔ 36bc3267337b Pull complete 1.2s ✔ c346911237d5 Pull complete 2.1s ✔ 1c17bb2f937f Pull complete 1.5s ✔ fe212f4dab78 Pull complete 1.6s ✔ postgres 8 layers [⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 6.6s ✔ f4902422f3db Pull complete 1.2s ✔ 44ab1639b862 Pull complete 1.3s ✔ 31edc9d9a67e Pull complete 2.3s ✔ 8b3409f37352 Pull complete 1.6s ✔ be2417e2cf5f Pull complete 1.7s ✔ 80b88554bb5f Pull complete 1.9s ✔ e959a60f7350 Pull complete 2.1s ✔ 3c5d736a7471 Pull complete 2.3s [+] Running 2/7 ⠋ Network planka_default Created 11.0s ⠏ Volume "planka_project-background-images" Created 11.0s ⠏ Volume "planka_attachments" Created 11.0s ⠏ Volume "planka_db-data" Created 11.0s ⠏ Volume "planka_user-avatars" Created 11.0s ✔ Container planka-postgres-1 Healthy 10.8s ✔ Container planka-planka-1 Started ``` ``` root@test:/opt/planka# docker compose logs planka planka-1 | debug: Detected Sails environment is "production", but NODE_ENV is `undefined`. planka-1 | debug: Automatically setting the NODE_ENV environment variable to "production". planka-1 | debug: ``` For me it's working just fine Ubuntu 22.04 LTS with Docker 25.0.3 Which OS and Docker version are you using?
Author
Owner

@daniel-hiller commented on GitHub:

Hi
I'm busy today, I will check the issue in the evening and give you feedback

@daniel-hiller commented on GitHub: Hi I'm busy today, I will check the issue in the evening and give you feedback
Author
Owner

@TrotsenkoSergey commented on GitHub:

I tried it on another Ubuntu server and everything started fine, thanks for the quick feedback!

@TrotsenkoSergey commented on GitHub: I tried it on another Ubuntu server and everything started fine, thanks for the quick feedback!
Author
Owner

@TrotsenkoSergey commented on GitHub:

same OS and Docker version, but...strange

 ✔ Network planka_default       Created                                         0.2s
 ✔ Container planka-postgres-1  Created                                         1.0s
 ✔ Container planka-planka-1    Created                                         0.8s
Attaching to planka-1, postgres-1
postgres-1  |
postgres-1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres-1  |
postgres-1  | 2024-03-06 17:32:49.793 UTC [1] LOG:  starting PostgreSQL 14.11 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
postgres-1  | 2024-03-06 17:32:49.793 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres-1  | 2024-03-06 17:32:49.793 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres-1  | 2024-03-06 17:32:49.858 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1  | 2024-03-06 17:32:49.968 UTC [22] LOG:  database system was shut down at 2024-03-06 10:25:15 UTC
postgres-1  | 2024-03-06 17:32:50.098 UTC [1] LOG:  database system is ready to accept connections
planka-1    | ./start.sh: line 3:     8 Illegal instruction     (core dumped) node db/init.js
planka-1 exited with code 0
planka-1    | ./start.sh: line 3:     8 Illegal instruction     (core dumped) node db/init.js
planka-1 exited with code 0
planka-1    | ./start.sh: line 3:     7 Illegal instruction     (core dumped) node db/init.js
planka-1 exited with code 0
planka-1    | ./start.sh: line 3:     7 Illegal instruction     (core dumped) node db/init.js
planka-1 exited with code 132
planka-1    | ./start.sh: line 3:     9 Illegal instruction     (core dumped) node db/init.js
planka-1 exited with code 132
planka-1    | ./start.sh: line 3:     8 Illegal instruction     (core dumped) node db/init.js
planka-1 exited with code 132
@TrotsenkoSergey commented on GitHub: same OS and Docker version, but...strange ``` ✔ Network planka_default Created 0.2s ✔ Container planka-postgres-1 Created 1.0s ✔ Container planka-planka-1 Created 0.8s Attaching to planka-1, postgres-1 postgres-1 | postgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization postgres-1 | postgres-1 | 2024-03-06 17:32:49.793 UTC [1] LOG: starting PostgreSQL 14.11 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit postgres-1 | 2024-03-06 17:32:49.793 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres-1 | 2024-03-06 17:32:49.793 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres-1 | 2024-03-06 17:32:49.858 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres-1 | 2024-03-06 17:32:49.968 UTC [22] LOG: database system was shut down at 2024-03-06 10:25:15 UTC postgres-1 | 2024-03-06 17:32:50.098 UTC [1] LOG: database system is ready to accept connections planka-1 | ./start.sh: line 3: 8 Illegal instruction (core dumped) node db/init.js planka-1 exited with code 0 planka-1 | ./start.sh: line 3: 8 Illegal instruction (core dumped) node db/init.js planka-1 exited with code 0 planka-1 | ./start.sh: line 3: 7 Illegal instruction (core dumped) node db/init.js planka-1 exited with code 0 planka-1 | ./start.sh: line 3: 7 Illegal instruction (core dumped) node db/init.js planka-1 exited with code 132 planka-1 | ./start.sh: line 3: 9 Illegal instruction (core dumped) node db/init.js planka-1 exited with code 132 planka-1 | ./start.sh: line 3: 8 Illegal instruction (core dumped) node db/init.js planka-1 exited with code 132 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#409