Skip to content

Incorrect error "Application folder /app and Data folder /data are shared" - volume subpath issue? #38

@scottjamesrogers

Description

@scottjamesrogers

Recently the application stopped working. The container still starts fine but the logs report:

Application folder /app and Data folder /data are shared. Please fix this.

The configuration has not changed, and the application was working correctly without issue previously. The /app and /data folder are not shared.

The image is deployed using the following compose config:

volumes:
  roon:

services:
  roon:
    image: steefdebruijn/docker-roonserver:latest
    container_name: roon
    hostname: roon
    restart: unless-stopped
    volumes:
      - type: volume
        source: roon
        target: /data
        volume:
          subpath: data
      - type: volume
        source: roon
        target: /app
        volume:
          subpath: app
      - type: volume
        source: roon
        target: /backup
        volume:
          subpath: backup
      - ${MEDIA_DATA_ROOT}/library/music:/music:ro
    environment:
      - TZ=${TIMEZONE}
    network_mode: host

I assume this is due to the use of volume subpaths in my compose file. Is there a recent update that could have changed the way this validation check is being performed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions