NathanVaughn / webtrees-docker

Up-to-date Docker image for webtrees with all the bells and whistles.
https://hub.docker.com/r/nathanvaughn/webtrees
MIT License
64 stars 15 forks source link

latest tag does not include all images - only amd64 #81

Closed ThRPctmylSgltwH closed 3 years ago

ThRPctmylSgltwH commented 3 years ago

I have been using the yaml file below for webtrees without issues until the latest change.

I now see the following error when updating the stack.

Failure failed to deploy a stack: volumes Additional property /srv/dev-disk-by-uuid/Files/AppData/Databases/webtrees is not allowed

The error is on the volumes:

I am using Open Media Vault with Docker 5:20.10.9~3-0~debian-buster and deploying the stack with Portainer 2.9.1. The system is a Raspberry PI 4 with 4 GB RAM.

It has worked perfectly until today when I had to update the stack due to the issue with PHP8 being downgraded to PHP7.4.

Is there a solution?

version: "2.1" services: app: depends_on:

volumes: /srv/dev-disk-by-uuid/Files/AppData/Databases/webtrees: driver: local /srv/dev-disk-by-uuid/Files/AppData/Config/webtrees/data: driver: local /srv/dev-disk-by-uuid/Files/AppData/Config/webtrees/media: driver: local /srv/dev-disk-by-uuid/Files/AppData/Config/webtrees/themes: driver: local

NathanVaughn commented 3 years ago

I have no idea. I'm running the latest image also from ghcr.io on my server with no issue. The only thing that changed in the image was the PHP runtime, otherwise the Dockerfile is the exact same.

image

ThRPctmylSgltwH commented 3 years ago

If I use this yaml file without the named volumes since they are not needed, the error that is in the container logs is "standard_init_linux.go:228: exec user process caused: exec format error". The container is then running but without an IP address and the error keeps repeating in the log file. I think that something is not right in the container but I do not know how to find it since I can only see the log file and have no means to get a command prompt inside of the container.

If I try to get a command prompt in the container, the error is "Failure Container 3bb263bc4575bb35ddfdb446a50c9d71d202c0a51b959f75da312b144fbca91f is restarting, wait until the container is running" so the container just keeps restarting but never runs.

I am on a Raspberry PI 4, so, linux/arm/v7 if that matters.

@NathanVaughn ### After further work, the latest tag does not include all images, only amd64. I just pulled the 2.0.17 container explicitly and all is working fine. Could you update the latest container?

version: "2.1" services: app: depends_on:

db: image: yobasystems/alpine-mariadb:10.4.17 command: "--default-authentication-plugin=mysql_native_password" environment: MYSQL_DATABASE: "webtrees" MYSQL_USER: "webtrees" MYSQL_ROOT_PASSWORD: "badpassword" MYSQL_PASSWORD: "badpassword" restart: unless-stopped volumes:

standard_init_linux.go:228: exec user process caused: exec format error

NathanVaughn commented 3 years ago

Yes, wow, I really dropped the ball on this one. When I ran my script to publish new builds, it did 2.0.16 and 2.0.17 in the wrong order, so 2.0.16 became the "latest" image. I thought I fixed this by manually retagging the images, but apparently that only did the amd64 versions. I fixed the script so it sorts the versions correctly, and I fired off a new build.

NathanVaughn commented 3 years ago

Issue should be resolved, please let me know

ThRPctmylSgltwH commented 3 years ago

It works perfectly now. Thank you for keeping this project alive and making it available to the community. You work is appreciated.