Skip to content

[BUG] "chmod: changing permissions of '/XXX': Bad address" error message #39

Open
@jlobster

Description

@jlobster

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I am experiencing the same issue as the docker-swag issue linuxserver/docker-swag#514. I am also on QNAP. Tried running as root and as proper UID/GID. See system info below.

Wondering which version I can pin it to to make it work, since QNAP does not appear to be fixing this. :(

Expected Behavior

No response

Steps To Reproduce

  1. Use compose file below (I use dockge)
  2. Start stack

Environment

uname -a:
`Linux AltQNAP453B 5.10.60-qnap #1 SMP Thu Nov 14 01:14:29 CST 2024 x86_64 GNU/Linux`

docker info:
`Client:
 Version:    27.1.2-qnap4
 Context:    default
 Debug Mode: false
 Plugins:
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.1-qnap2
    Path:     /usr/local/lib/docker/cli-plugins/docker-compose

Server:
 Containers: 11
  Running: 9
  Paused: 0
  Stopped: 2
 Images: 32
 Server Version: 27.1.2-qnap4
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: true
  Native Overlay Diff: false
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay qnet
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 kata-runtime nvidia-runtime runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 8fc6bcff51318944179630522a095cc9dbf9f353
 runc version: v1.1.13-0-g58aa920
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
 Kernel Version: 5.10.60-qnap
 Operating System: QTS 5.2.2 (20241114)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.622GiB
 Name: AltQNAP453B
 ID: 47fba746-d9e6-4171-9dee-83e4da858a92
 Docker Root Dir: /share/CACHEDEV1_DATA/Container/container-station-data/lib/docker
 Debug Mode: true
  File Descriptors: 121
  Goroutines: 138
  System Time: 2025-01-14T00:11:01.064840442-06:00
  EventsListeners: 3
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine
 Default Address Pools:
   Base: 172.29.0.0/16, Size: 22`

CPU architecture

x86-64

Docker creation

version: "3.8"
services:
  speedtest-tracker:
    ## Speedtest Tracker: Track speedtests
    image: lscr.io/linuxserver/speedtest-tracker:latest
    container_name: speedtest-tracker
    restart: unless-stopped
    networks:
      - web
    ports:
      - 8980:80
    environment:
      - PUID=1000
      - PGID=100
      - TZ=${TZ}
      - APP_KEY= [REDACTED]
      - APP_URL=http://192.168.1.16 # (also tried :8980)
      - DB_CONNECTION=sqlite
      - SPEEDTEST_SCHEDULE=0 */6 * * *
      - SPEEDTEST_SERVERS=68132,2409,16089
      - DISPLAY_TIMEZONE=${TZ}
    volumes:
      - ${APPDATA}/speedtest-tracker:/config
networks:
  web:
    name: web
    driver: bridge

Container logs

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
speedtest-tracker: https://github.com/sponsors/alexjustesen

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    100
───────────────────────────────────────
Linuxserver.io version: v1.1.0-ls72
Build-date: 2025-01-14T02:10:22+00:00
───────────────────────────────────────
    
using keys found in /config/keys
chmod: changing permissions of '/etc/logrotate.d/acpid': Bad address
chmod: changing permissions of '/etc/logrotate.d/nginx': Bad address
chmod: changing permissions of '/etc/logrotate.d/php-fpm': Bad address
chmod: changing permissions of '/etc/logrotate.d/php-fpm83': Bad address
chmod: changing permissions of '/config/nginx/site-confs': Bad address
chmod: changing permissions of '/config/nginx/site-confs/default.conf.sample': Bad address
chmod: changing permissions of '/config/nginx/site-confs/default.conf': Bad address
chmod: changing permissions of '/config/nginx/nginx.conf.sample': Bad address
chmod: changing permissions of '/config/nginx/ssl.conf.sample': Bad address
chmod: changing permissions of '/config/nginx/nginx.conf': Bad address
chmod: changing permissions of '/config/nginx/ssl.conf': Bad address
chmod: changing permissions of '/config/nginx/dhparams.pem': Bad address
chmod: changing permissions of '/config/nginx/resolver.conf': Bad address
chmod: changing permissions of '/config/nginx/worker_processes.conf': Bad address
s6-rc: warning: unable to start service init-permissions: command exited 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions