🐛 Bug Report: #201

Closed
opened 2025-10-07 00:05:44 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @brentcrammond on GitHub.

Reproduction steps

It appears the data directory in the docker image is under being stored in /app/backend/data instead of /app/data.

Expected behavior

According to the install instructions it should be under /app/data

Actual Behavior

From the command line inside container.

/app # ls backend/data
keys pocket-id.db pocket-id.db-shm pocket-id.db-wal uploads
/app #

Version and Environment

v1.0.0

Log Output

No response

Originally created by @brentcrammond on GitHub. ### Reproduction steps It appears the data directory in the docker image is under being stored in /app/backend/data instead of /app/data. ### Expected behavior According to the install instructions it should be under /app/data ### Actual Behavior From the command line inside container. /app # ls backend/data keys pocket-id.db pocket-id.db-shm pocket-id.db-wal uploads /app # ### Version and Environment v1.0.0 ### Log Output _No response_
OVERLORD added the bug label 2025-10-07 00:05:44 +03:00
Author
Owner

@nervous-inhuman commented on GitHub:

Did you change the bind mount in your docker compose/docker command?

Example config (the one I'm using right now, running 1.0.0)

services:
  server:
    image: ghcr.io/pocket-id/pocket-id:latest
    restart: always
    environment:
      APP_URL: "https://auth.example.com"
      TRUST_PROXY: "true"
      PUID: "1000"
      PGID: "1000"
    ports:
      - 127.0.0.1:3001:1411
      - 100.125.220.99:3001:1411
    volumes:
      - "./data:/app/data"
    healthcheck:
      test: "curl -f http://localhost:1411/healthz"
      interval: 1m30s
      timeout: 5s
      retries: 2
      start_period: 10s
docker compose exec -it server sh
/app # ls
data       docker     pocket-id
/app # cd  data/
/app/data # ls
GeoLite2-City.mmdb  keys                pocket-id.db        pocket-id.db-shm    pocket-id.db-wal    uploads
/app/data # 
@nervous-inhuman commented on GitHub: Did you change the bind mount in your docker compose/docker command? Example config (the one I'm using right now, running 1.0.0) ``` services: server: image: ghcr.io/pocket-id/pocket-id:latest restart: always environment: APP_URL: "https://auth.example.com" TRUST_PROXY: "true" PUID: "1000" PGID: "1000" ports: - 127.0.0.1:3001:1411 - 100.125.220.99:3001:1411 volumes: - "./data:/app/data" healthcheck: test: "curl -f http://localhost:1411/healthz" interval: 1m30s timeout: 5s retries: 2 start_period: 10s ``` ``` docker compose exec -it server sh /app # ls data docker pocket-id /app # cd data/ /app/data # ls GeoLite2-City.mmdb keys pocket-id.db pocket-id.db-shm pocket-id.db-wal uploads /app/data # ```
Author
Owner

@brentcrammond commented on GitHub:

@.***:7224174546de6a378fb705f763d11b604e3031b62efdc707cf1757b1b09705f5

services:
pocket-id:
container_name: pocket-id
image: ghcr.io/pocket-id/pocket-id # Uses the official Pocket ID Docker
image.
restart: unless-stopped # Restarts container unless manually stopped.
env_file: .env # Loads environment variables from .env file.
ports:

  • 1411:1411 # Exposes Pocket ID on port 3055.
    networks:
  • default
  • backbone
    volumes:
  • "./data:/app/data" # Mounts data directory for persistence.
    healthcheck: # Optional healthcheck to monitor container health.
    test: "curl -f http://localhost:1411/healthz"
    interval: 1m30s
    timeout: 5s
    retries: 2
    start_period: 10s

networks:
default:

backbone:
external: true

Kind Regards

Brent Crammond
MBA, BSc(Comp. Sci.)
email: @.*** @.***>
mobile: +64 21 228 5366

“Live as if you were to die tomorrow. Learn as if you were to live
forever”
- Gandhi

On Sun, May 25, 2025 at 11:02 PM Elias Schneider @.***>
wrote:

stonith404 left a comment (pocket-id/pocket-id#570)
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907757031

@brentcrammond https://github.com/brentcrammond Please share your
docker-compose.yml and the output of the command docker inspect
--format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-id.


Reply to this email directly, view it on GitHub
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907757031,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPYWIUL2Q5VEWSQZHKZ44T3AGPLVAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBXG42TOMBTGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@brentcrammond commented on GitHub: ***@***.***:7224174546de6a378fb705f763d11b604e3031b62efdc707cf1757b1b09705f5 services: pocket-id: container_name: pocket-id image: ghcr.io/pocket-id/pocket-id # Uses the official Pocket ID Docker image. restart: unless-stopped # Restarts container unless manually stopped. env_file: .env # Loads environment variables from .env file. ports: - 1411:1411 # Exposes Pocket ID on port 3055. networks: - default - backbone volumes: - "./data:/app/data" # Mounts data directory for persistence. healthcheck: # Optional healthcheck to monitor container health. test: "curl -f http://localhost:1411/healthz" interval: 1m30s timeout: 5s retries: 2 start_period: 10s networks: default: backbone: external: true Kind Regards --- Brent Crammond *MBA, BSc(Comp. Sci.)* email: ***@***.*** ***@***.***> *mobile:* +64 21 228 5366 *“Live as if you were to die tomorrow. Learn as if you were to live forever”* - *Gandhi* On Sun, May 25, 2025 at 11:02 PM Elias Schneider ***@***.***> wrote: > *stonith404* left a comment (pocket-id/pocket-id#570) > <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907757031> > > @brentcrammond <https://github.com/brentcrammond> Please share your > docker-compose.yml and the output of the command docker inspect > --format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-id. > > — > Reply to this email directly, view it on GitHub > <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907757031>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABPYWIUL2Q5VEWSQZHKZ44T3AGPLVAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBXG42TOMBTGE> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@brentcrammond commented on GitHub:

Sorry listing shows inside the running container.


Brent Crammond
Anameg Consulting Ltd
MBA, BSc (CompSci)
Mobile: +64 21 228 5366

On Sun, 25 May 2025 at 22:32, Brent Crammond @.***> wrote:

Yes, I connected to the container. You will see the listing shows where
the data is stored.

Brent Crammond
Anameg Consulting Ltd
MBA, BSc (CompSci)
Mobile: +64 21 228 5366

On Sun, 25 May 2025 at 22:31, nervous-inhuman @.***>
wrote:

nervous-inhuman left a comment (pocket-id/pocket-id#570)
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907743871

Did you change the bind mount in your docker compose/docker command?

Example config (the one I'm using rightn ow)

services:
server:
image: ghcr.io/pocket-id/pocket-id:latest
restart: always
environment:
APP_URL: "https://auth.example.com"
TRUST_PROXY: "true"
PUID: "1000"
PGID: "1000"
ports:
- 127.0.0.1:3001:1411
- 100.125.220.99:3001:1411
volumes:
- "./data:/app/data"
healthcheck:
test: "curl -f http://localhost:1411/healthz"
interval: 1m30s
timeout: 5s
retries: 2
start_period: 10s

docker compose exec -it server sh
/app # ls
data docker pocket-id
/app # cd data/
/app/data # ls
GeoLite2-City.mmdb keys pocket-id.db pocket-id.db-shm pocket-id.db-wal uploads
/app/data #


Reply to this email directly, view it on GitHub
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907743871,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPYWIT2QSHR4HJ57GSOTMD3AGLXLAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBXG42DGOBXGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

@brentcrammond commented on GitHub: Sorry listing shows inside the running container. — Brent Crammond Anameg Consulting Ltd MBA, BSc (CompSci) Mobile: +64 21 228 5366 On Sun, 25 May 2025 at 22:32, Brent Crammond ***@***.***> wrote: > Yes, I connected to the container. You will see the listing shows where > the data is stored. > > — > > Brent Crammond > Anameg Consulting Ltd > MBA, BSc (CompSci) > Mobile: +64 21 228 5366 > > > On Sun, 25 May 2025 at 22:31, nervous-inhuman ***@***.***> > wrote: > >> *nervous-inhuman* left a comment (pocket-id/pocket-id#570) >> <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907743871> >> >> Did you change the bind mount in your docker compose/docker command? >> >> Example config (the one I'm using rightn ow) >> >> services: >> server: >> image: ghcr.io/pocket-id/pocket-id:latest >> restart: always >> environment: >> APP_URL: "https://auth.example.com" >> TRUST_PROXY: "true" >> PUID: "1000" >> PGID: "1000" >> ports: >> - 127.0.0.1:3001:1411 >> - 100.125.220.99:3001:1411 >> volumes: >> - "./data:/app/data" >> healthcheck: >> test: "curl -f http://localhost:1411/healthz" >> interval: 1m30s >> timeout: 5s >> retries: 2 >> start_period: 10s >> >> docker compose exec -it server sh >> /app # ls >> data docker pocket-id >> /app # cd data/ >> /app/data # ls >> GeoLite2-City.mmdb keys pocket-id.db pocket-id.db-shm pocket-id.db-wal uploads >> /app/data # >> >> — >> Reply to this email directly, view it on GitHub >> <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907743871>, >> or unsubscribe >> <https://github.com/notifications/unsubscribe-auth/ABPYWIT2QSHR4HJ57GSOTMD3AGLXLAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBXG42DGOBXGE> >> . >> You are receiving this because you authored the thread.Message ID: >> ***@***.***> >> >
Author
Owner

@brentcrammond commented on GitHub:

Yes, I connected to the container. You will see the listing shows where the
data is stored.


Brent Crammond
Anameg Consulting Ltd
MBA, BSc (CompSci)
Mobile: +64 21 228 5366

On Sun, 25 May 2025 at 22:31, nervous-inhuman @.***>
wrote:

nervous-inhuman left a comment (pocket-id/pocket-id#570)
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907743871

Did you change the bind mount in your docker compose/docker command?

Example config (the one I'm using rightn ow)

services:
server:
image: ghcr.io/pocket-id/pocket-id:latest
restart: always
environment:
APP_URL: "https://auth.example.com"
TRUST_PROXY: "true"
PUID: "1000"
PGID: "1000"
ports:
- 127.0.0.1:3001:1411
- 100.125.220.99:3001:1411
volumes:
- "./data:/app/data"
healthcheck:
test: "curl -f http://localhost:1411/healthz"
interval: 1m30s
timeout: 5s
retries: 2
start_period: 10s

docker compose exec -it server sh
/app # ls
data docker pocket-id
/app # cd data/
/app/data # ls
GeoLite2-City.mmdb keys pocket-id.db pocket-id.db-shm pocket-id.db-wal uploads
/app/data #


Reply to this email directly, view it on GitHub
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907743871,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPYWIT2QSHR4HJ57GSOTMD3AGLXLAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBXG42DGOBXGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

@brentcrammond commented on GitHub: Yes, I connected to the container. You will see the listing shows where the data is stored. — Brent Crammond Anameg Consulting Ltd MBA, BSc (CompSci) Mobile: +64 21 228 5366 On Sun, 25 May 2025 at 22:31, nervous-inhuman ***@***.***> wrote: > *nervous-inhuman* left a comment (pocket-id/pocket-id#570) > <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907743871> > > Did you change the bind mount in your docker compose/docker command? > > Example config (the one I'm using rightn ow) > > services: > server: > image: ghcr.io/pocket-id/pocket-id:latest > restart: always > environment: > APP_URL: "https://auth.example.com" > TRUST_PROXY: "true" > PUID: "1000" > PGID: "1000" > ports: > - 127.0.0.1:3001:1411 > - 100.125.220.99:3001:1411 > volumes: > - "./data:/app/data" > healthcheck: > test: "curl -f http://localhost:1411/healthz" > interval: 1m30s > timeout: 5s > retries: 2 > start_period: 10s > > docker compose exec -it server sh > /app # ls > data docker pocket-id > /app # cd data/ > /app/data # ls > GeoLite2-City.mmdb keys pocket-id.db pocket-id.db-shm pocket-id.db-wal uploads > /app/data # > > — > Reply to this email directly, view it on GitHub > <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2907743871>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABPYWIT2QSHR4HJ57GSOTMD3AGLXLAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBXG42DGOBXGE> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@stonith404 commented on GitHub:

@brentcrammond Please share your docker-compose.yml and the output of the command docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-id.

@stonith404 commented on GitHub: @brentcrammond Please share your `docker-compose.yml` and the output of the command `docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-id`.
Author
Owner

@brentcrammond commented on GitHub:

When I put in the docker-compose.yaml

image: ghcr.io/pocket-id/pocket-id:1.0.0

I get

~/pocket-id$ docker compose up -d
[+] Running 1/1
✘ pocket-id Error manifest unknown
1.4s
Error response from daemon: manifest unknown

Kind Regards

Brent Crammond
MBA, BSc(Comp. Sci.)
email: @.*** @.***>
mobile: +64 21 228 5366

“Live as if you were to die tomorrow. Learn as if you were to live
forever”
- Gandhi

On Mon, May 26, 2025 at 7:23 AM Elias Schneider @.***>
wrote:

stonith404 left a comment (pocket-id/pocket-id#570)
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2908028048

Are you sure that you are on v1.0.0? The output of docker inspect
--format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-id indicates
that you're using v0.53.


Reply to this email directly, view it on GitHub
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2908028048,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPYWIQ7MH3ANGZR5J4DU3T3AIKCTAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBYGAZDQMBUHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@brentcrammond commented on GitHub: When I put in the docker-compose.yaml image: ghcr.io/pocket-id/pocket-id:1.0.0 I get ~/pocket-id$ docker compose up -d [+] Running 1/1 ✘ pocket-id Error manifest unknown 1.4s Error response from daemon: manifest unknown Kind Regards --- Brent Crammond *MBA, BSc(Comp. Sci.)* email: ***@***.*** ***@***.***> *mobile:* +64 21 228 5366 *“Live as if you were to die tomorrow. Learn as if you were to live forever”* - *Gandhi* On Mon, May 26, 2025 at 7:23 AM Elias Schneider ***@***.***> wrote: > *stonith404* left a comment (pocket-id/pocket-id#570) > <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2908028048> > > Are you sure that you are on v1.0.0? The output of docker inspect > --format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-id indicates > that you're using v0.53. > > — > Reply to this email directly, view it on GitHub > <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2908028048>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABPYWIQ7MH3ANGZR5J4DU3T3AIKCTAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBYGAZDQMBUHA> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@brentcrammond commented on GitHub:

Yep just tried that and that works and puts the data in the right place.
.
Kind Regards

Brent Crammond
MBA, BSc(Comp. Sci.)
email: @.*** @.***>
mobile: +64 21 228 5366

“Live as if you were to die tomorrow. Learn as if you were to live
forever”
- Gandhi

On Mon, May 26, 2025 at 7:30 AM Elias Schneider @.***>
wrote:

stonith404 left a comment (pocket-id/pocket-id#570)
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2908031074

You either have to use v1.0.0 or latest, the tag 1.0.0 doesn't exist.


Reply to this email directly, view it on GitHub
https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2908031074,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPYWISXQ3NF626MDA3O2V33AIK3ZAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBYGAZTCMBXGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@brentcrammond commented on GitHub: Yep just tried that and that works and puts the data in the right place. . Kind Regards --- Brent Crammond *MBA, BSc(Comp. Sci.)* email: ***@***.*** ***@***.***> *mobile:* +64 21 228 5366 *“Live as if you were to die tomorrow. Learn as if you were to live forever”* - *Gandhi* On Mon, May 26, 2025 at 7:30 AM Elias Schneider ***@***.***> wrote: > *stonith404* left a comment (pocket-id/pocket-id#570) > <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2908031074> > > You either have to use v1.0.0 or latest, the tag 1.0.0 doesn't exist. > > — > Reply to this email directly, view it on GitHub > <https://github.com/pocket-id/pocket-id/issues/570#issuecomment-2908031074>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABPYWISXQ3NF626MDA3O2V33AIK3ZAVCNFSM6AAAAAB53RQINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBYGAZTCMBXGQ> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@stonith404 commented on GitHub:

You either have to use v1.0.0 or latest, the tag 1.0.0 doesn't exist.

@stonith404 commented on GitHub: You either have to use `v1.0.0` or `latest`, the tag `1.0.0` doesn't exist.
Author
Owner

@stonith404 commented on GitHub:

Are you sure that you are on v1.0.0? The output of docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-id indicates that you're using v0.53.

@stonith404 commented on GitHub: Are you sure that you are on `v1.0.0`? The output of `docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-id` indicates that you're using `v0.53`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#201