linuxserver/docker-bookstack

[BUG] Unable to update to newest version

frant1 opened this issue · 3 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When upgrading to v24.10.3 or newest, bookstack is failing to run with the output :
s6-rc: warning: unable to start service init-permissions: command exited 1

I saw someone had the same issue using Podman and you rejected it because he used podman.. I'm using docker-compose here so Podman is not part of the problem.

Expected Behavior

Bookstack should start and be accessible via web browser

Steps To Reproduce

  1. Pull the latest version of the image (docker pull...)
  2. Restart container (docker-compose down && docker-compose up -d)

Environment

- OS: Debian 10.13
- How docker service was installed : With APT

CPU architecture

x86-64

Docker creation

docker-compose up -d

using docker-compose.yml :

version: "2.1"
services:
  bookstack:
    image: ghcr.io/linuxserver/bookstack:latest
    container_name: bookstack
    environment:
      - PUID=1000
      - PGID=1000
      - APP_URL=https://XXXXX
      - DB_HOST=bookstack_db
      - DB_USER=XXXXX
      - DB_PASS=XXXXX
      - DB_DATABASE=XXXXX
    ports:
      - 6875:80
    volumes:
      - /data/config:/config
    restart: unless-stopped
    depends_on:
      - bookstack_db
  bookstack_db:
    image: ghcr.io/linuxserver/mariadb:latest
    container_name: bookstack_db
    environment:
      - PUID=1000
      - PGID=1000
      - MYSQL_ROOT_PASSWORD=XXXXX
      - TZ=Europe/Paris
      - MYSQL_DATABASE=XXXXX
      - MYSQL_USER=XXXXX
      - MYSQL_PASSWORD=XXXXX
    ports:
      - 3306:3306
    volumes:
      - /data/config:/config
    restart: unless-stopped

Container logs

using keys found in /config/keys
chmod: changing permissions of '/etc/logrotate.d/acpid': Operation not permitted
chmod: changing permissions of '/etc/logrotate.d/nginx': Operation not permitted
chmod: changing permissions of '/etc/logrotate.d/php-fpm': Operation not permitted
chmod: changing permissions of '/etc/logrotate.d/php-fpm83': Operation not permitted
chmod: changing permissions of '/config/nginx/nginx.conf': Operation not permitted
chmod: changing permissions of '/config/nginx/nginx.conf.sample': Operation not permitted
chmod: changing permissions of '/config/nginx/ssl.conf.sample': Operation not permitted
chmod: changing permissions of '/config/nginx/resolver.conf': Operation not permitted
chmod: changing permissions of '/config/nginx/worker_processes.conf': Operation not permitted
chmod: changing permissions of '/config/nginx/site-confs': Operation not permitted
chmod: changing permissions of '/config/nginx/site-confs/default.conf.sample': Operation not permitted
chmod: changing permissions of '/config/nginx/site-confs/default.conf': Operation not permitted
chmod: changing permissions of '/config/nginx/ssl.conf': Operation not permitted
chmod: changing permissions of '/config/nginx/dhparams.pem': Operation not permitted
s6-rc: warning: unable to start service init-permissions: command exited 1

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

You appear to be using the same bind mount for both Bookstack and Mariadb, which is never going to go well. If you're not and you've just made up paths, that's not helpful for troubleshooting your issue.

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.