Joplin server app container refuses to start

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

Hello,

image: joplin/server is for amd64 platforms and not for ARM.
For ARM you currently have to use one of the non-official images. Search for it in the forum.

Thank you.
I found one on Google : image: etechonomy/joplin-server:latest
Is there an official list of ports?

So now the container is created. Next steps:

  • understand why Invalid origin: http://192.168.50.70:22300
  • as I don't have access to port 80 and 443 of my noip dynamic domain, find a way to make a Let's encrypt certificate anyway
  • understand the logic of Nginx Proxy
  • understand the logic of ports and IP addresses on Docker

I hope Joplin is worth it....

There are no "official" RasPi ports but the one you have found is one of the two mentioned on this forum as being "unofficial" but available to use. I have used both without any problems.

You'll get "Invalid Origin" when the URL you are using to access the server is not the same as the URL in "APP_BASE_URL".

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.