Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to update to newest version #255

Open
1 task done
frant1 opened this issue Jan 6, 2025 · 2 comments
Open
1 task done

[BUG] Unable to update to newest version #255

frant1 opened this issue Jan 6, 2025 · 2 comments

Comments

@frant1
Copy link

frant1 commented Jan 6, 2025

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
Copy link

github-actions bot commented Jan 6, 2025

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

@thespad
Copy link
Member

thespad commented Jan 6, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

2 participants