Operating system
Linux
Joplin version
latest
What issue do you have?
Hello everyone,
I am somehow a beginner when it comes to Docker but I can't make the joplin-app container to start.
The log says : exec /usr/local/bin/tini: exec format error
I use Portainer on a Raspberry Pi 3B running DietPi.
I made a new Stack called joplin.
Here is my compose:
services:
db:
image: postgres:16
volumes:
- ./data/postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_DB=${POSTGRES_DATABASE}
app:
image: joplin/server:latest
depends_on:
- db
ports:
- "22300:22300"
restart: unless-stopped
environment:
- APP_PORT=22300
- APP_BASE_URL=${APP_BASE_URL}
- DB_CLIENT=pg
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DATABASE=${POSTGRES_DATABASE}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PORT=${POSTGRES_PORT}
- POSTGRES_HOST=db
Here is my env:
APP_PORT=22300
DB_CLIENT=pg
POSTGRES_PASSWORD=joplin
POSTGRES_DATABASE=joplin
POSTGRES_USER=joplin
POSTGRES_PORT=5432
POSTGRES_HOST=localhost
The images are downloaded.
The containers are created.
A network is created.
The joplin-db-1 container runs fine
But the joplin-app-1 container fails to start with the log showing
2024-02-24T03:40:05.403183000Z exec /usr/local/bin/tini: exec format error
2024-02-24T03:41:06.829760000Z exec /usr/local/bin/tini: exec format error
2024-02-24T03:42:08.168444000Z exec /usr/local/bin/tini: exec format error
What did I do wrong?
Or how can I figure why the container does not start?
Thank you