mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:42:59 +03:00
🐛 Bug Report: #208
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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:
networks:
volumes:
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:
@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)
@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:
@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:
@stonith404 commented on GitHub:
@brentcrammond Please share your
docker-compose.ymland the output of the commanddocker inspect --format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-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 commented on GitHub:
You either have to use
v1.0.0orlatest, the tag1.0.0doesn't exist.@stonith404 commented on GitHub:
Are you sure that you are on
v1.0.0? The output ofdocker inspect --format='{{index .RepoDigests 0}}' ghcr.io/pocket-id/pocket-idindicates that you're usingv0.53.@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: