[GH-ISSUE #2541] Rancher Desktop on Mac - Server Not Starting Permission Errors #1775

Closed
opened 2026-02-26 07:32:24 +03:00 by kerem · 3 comments
Owner

Originally created by @ERisEPR on GitHub (Jan 15, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2541

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
Server will not start using Rancher Desktop on mac. Server was working on Docker Desktop

Nginx Proxy Manager Version
Latest as of 01142022

Error Logs:

Enabling IPV6 in hosts: /etc/nginx/conf.d
/etc/nginx/conf.d/include/ssl-ciphers.conf
/etc/nginx/conf.d/include/proxy.conf
/etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf
/etc/nginx/conf.d/include/force-ssl.conf
/etc/nginx/conf.d/include/ip_ranges.conf
/etc/nginx/conf.d/include/block-exploits.conf
/etc/nginx/conf.d/include/assets.conf
/etc/nginx/conf.d/include/resolvers.conf
/etc/nginx/conf.d/production.conf
/etc/nginx/conf.d/default.conf
Enabling IPV6 in hosts: /data/nginx
nginx: [emerg] open() "/data/logs/fallback_error.log" failed (13: Permission denied)
[1/15/2023] [7:30:17 AM] [Global   ] › ✖  error     getaddrinfo ENOTFOUND db

Operating System
Intel Mac - Rancher Desktop 1.7.0

Docker Compose File:

version: "3"
services:
  app:
    image: "jc21/nginx-proxy-manager:latest"
    container_name: npm_app
    restart: unless-stopped
    ports:
      - "80:80"
      - "81:81"
      - "443:443"
    environment:
       DB_MYSQL_HOST: "db"
       DB_MYSQL_PORT: 3306
       DB_MYSQL_USER: "xxx"
       DB_MYSQL_PASSWORD: "xxxxxx"
       DB_MYSQL_NAME: "npm"
    volumes:
      - /Users/usermain/appdata/docker/nginx_proxy_manager/data:/data
      - /Users/usermain/appdata/docker/nginx_proxy_manager/etc/letsencrypt:/etc/letsencrypt
    depends_on:
      - db
  db:
    image: "jc21/mariadb-aria:latest"
    container_name: npm_db
    restart: unless-stopped
    environment:
      MYSQL_ROOT_PASSWORD: "npm"
      MYSQL_DATABASE: "npm"
      MYSQL_USER: "xxx"
      MYSQL_PASSWORD: "xxxxxx"
    volumes:
      - /Users/usermain/appdata/docker/nginx_proxy_manager/data/mysql:/var/lib/mysql
Originally created by @ERisEPR on GitHub (Jan 15, 2023). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2541 - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** Server will not start using Rancher Desktop on mac. Server was working on Docker Desktop **Nginx Proxy Manager Version** Latest as of 01*14*2022 Error Logs: ``` Enabling IPV6 in hosts: /etc/nginx/conf.d /etc/nginx/conf.d/include/ssl-ciphers.conf /etc/nginx/conf.d/include/proxy.conf /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf /etc/nginx/conf.d/include/force-ssl.conf /etc/nginx/conf.d/include/ip_ranges.conf /etc/nginx/conf.d/include/block-exploits.conf /etc/nginx/conf.d/include/assets.conf /etc/nginx/conf.d/include/resolvers.conf /etc/nginx/conf.d/production.conf /etc/nginx/conf.d/default.conf Enabling IPV6 in hosts: /data/nginx nginx: [emerg] open() "/data/logs/fallback_error.log" failed (13: Permission denied) [1/15/2023] [7:30:17 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db ``` **Operating System** Intel Mac - Rancher Desktop 1.7.0 Docker Compose File: ``` version: "3" services: app: image: "jc21/nginx-proxy-manager:latest" container_name: npm_app restart: unless-stopped ports: - "80:80" - "81:81" - "443:443" environment: DB_MYSQL_HOST: "db" DB_MYSQL_PORT: 3306 DB_MYSQL_USER: "xxx" DB_MYSQL_PASSWORD: "xxxxxx" DB_MYSQL_NAME: "npm" volumes: - /Users/usermain/appdata/docker/nginx_proxy_manager/data:/data - /Users/usermain/appdata/docker/nginx_proxy_manager/etc/letsencrypt:/etc/letsencrypt depends_on: - db db: image: "jc21/mariadb-aria:latest" container_name: npm_db restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: "npm" MYSQL_DATABASE: "npm" MYSQL_USER: "xxx" MYSQL_PASSWORD: "xxxxxx" volumes: - /Users/usermain/appdata/docker/nginx_proxy_manager/data/mysql:/var/lib/mysql ```
kerem 2026-02-26 07:32:24 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@ERisEPR commented on GitHub (Jan 15, 2023):

temporary workaround fix:

changed mapping:

volumes:
  - /Users/usermain/appdata/docker/nginx_proxy_manager/data:/data
  - /Users/usermain/appdata/docker/nginx_proxy_manager/etc/letsencrypt:/etc/letsencrypt
  - /data/logs:/data/logs   <---- added

and commented out port:

environment:
       DB_MYSQL_HOST: "db"
       #  DB_MYSQL_PORT: 3306  <---- comment
       DB_MYSQL_USER: "xxx"
       DB_MYSQL_PASSWORD: "xxxxxx"
       DB_MYSQL_NAME: "npm"
<!-- gh-comment-id:1383122192 --> @ERisEPR commented on GitHub (Jan 15, 2023): temporary workaround fix: changed mapping: ``` volumes: - /Users/usermain/appdata/docker/nginx_proxy_manager/data:/data - /Users/usermain/appdata/docker/nginx_proxy_manager/etc/letsencrypt:/etc/letsencrypt - /data/logs:/data/logs <---- added ``` and commented out port: ``` environment: DB_MYSQL_HOST: "db" # DB_MYSQL_PORT: 3306 <---- comment DB_MYSQL_USER: "xxx" DB_MYSQL_PASSWORD: "xxxxxx" DB_MYSQL_NAME: "npm" ```
Author
Owner

@github-actions[bot] commented on GitHub (Jan 30, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:1915914392 --> @github-actions[bot] commented on GitHub (Jan 30, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Mar 16, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2727129095 --> @github-actions[bot] commented on GitHub (Mar 16, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1775
No description provided.