[GH-ISSUE #3091] Error restarting sed couldn't open temporary file permission denied #2096

Closed
opened 2026-02-26 07:34:00 +03:00 by kerem · 6 comments
Owner

Originally created by @codethought on GitHub (Jul 31, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3091

Checklist

  • 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

Error restarting sed couldn't open temporary file permission denied

Nginx Proxy Manager Version

2.10.3 (via Docker Compose)

To Reproduce
Steps to reproduce the behavior:

  1. Go to main proxy page and login with the admin user
  2. change the user and create new password, etc..
  3. Select Hosts | Add Proxy Host
  4. Create a proxy host with your domain to an machine in your network.
  5. Click Save
  6. Restart nginx-proxy-manager
  7. Error

Expected behavior

To allow a restart and to create a proxy hosts successfully.

Screenshots

filerun8-proxy-1  | ❯ Configuring npm user ...
filerun8-proxy-1  | 0
filerun8-proxy-1  | usermod: no changes
filerun8-proxy-1  | ❯ Configuring npm group ...
filerun8-proxy-1  | ❯ Checking paths ...
filerun8-proxy-1  | ❯ Setting ownership ...
filerun8-proxy-1  | ❯ Dynamic resolvers ...
filerun8-proxy-1  | ❯ IPv6 ...
filerun8-proxy-1  | Enabling IPV6 in hosts in: /etc/nginx/conf.d
filerun8-proxy-1  | - /etc/nginx/conf.d/include/force-ssl.conf
filerun8-proxy-1  | - /etc/nginx/conf.d/include/proxy.conf
filerun8-proxy-1  | - /etc/nginx/conf.d/include/assets.conf
filerun8-proxy-1  | - /etc/nginx/conf.d/include/ssl-ciphers.conf
filerun8-proxy-1  | - /etc/nginx/conf.d/include/ip_ranges.conf
filerun8-proxy-1  | - /etc/nginx/conf.d/include/block-exploits.conf
filerun8-proxy-1  | - /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf
filerun8-proxy-1  | - /etc/nginx/conf.d/include/resolvers.conf
filerun8-proxy-1  | - /etc/nginx/conf.d/default.conf
filerun8-proxy-1  | - /etc/nginx/conf.d/production.conf
filerun8-proxy-1  | Enabling IPV6 in hosts in: /data/nginx
filerun8-proxy-1  | - /data/nginx/proxy_host/1.conf
filerun8-proxy-1  | sed: couldn't open temporary file /data/nginx/proxy_host/sedN25JQv: Permission denied
filerun8-proxy-1  | s6-rc: warning: unable to start service prepare: command exited 4
filerun8-proxy-1  | /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.

Operating System

Mac M1, Colima, Docker

Additional context

Originally created by @codethought on GitHub (Jul 31, 2023). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3091 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **Checklist** - 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** Error restarting sed couldn't open temporary file permission denied **Nginx Proxy Manager Version** <!-- What version of Nginx Proxy Manager is reported on the login page? --> 2.10.3 (via Docker Compose) **To Reproduce** Steps to reproduce the behavior: 1. Go to main proxy page and login with the admin user 2. change the user and create new password, etc.. 3. Select Hosts | Add Proxy Host 4. Create a proxy host with your domain to an machine in your network. 5. Click Save 6. Restart nginx-proxy-manager 7. Error **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> To allow a restart and to create a proxy hosts successfully. **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> ``` filerun8-proxy-1 | ❯ Configuring npm user ... filerun8-proxy-1 | 0 filerun8-proxy-1 | usermod: no changes filerun8-proxy-1 | ❯ Configuring npm group ... filerun8-proxy-1 | ❯ Checking paths ... filerun8-proxy-1 | ❯ Setting ownership ... filerun8-proxy-1 | ❯ Dynamic resolvers ... filerun8-proxy-1 | ❯ IPv6 ... filerun8-proxy-1 | Enabling IPV6 in hosts in: /etc/nginx/conf.d filerun8-proxy-1 | - /etc/nginx/conf.d/include/force-ssl.conf filerun8-proxy-1 | - /etc/nginx/conf.d/include/proxy.conf filerun8-proxy-1 | - /etc/nginx/conf.d/include/assets.conf filerun8-proxy-1 | - /etc/nginx/conf.d/include/ssl-ciphers.conf filerun8-proxy-1 | - /etc/nginx/conf.d/include/ip_ranges.conf filerun8-proxy-1 | - /etc/nginx/conf.d/include/block-exploits.conf filerun8-proxy-1 | - /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf filerun8-proxy-1 | - /etc/nginx/conf.d/include/resolvers.conf filerun8-proxy-1 | - /etc/nginx/conf.d/default.conf filerun8-proxy-1 | - /etc/nginx/conf.d/production.conf filerun8-proxy-1 | Enabling IPV6 in hosts in: /data/nginx filerun8-proxy-1 | - /data/nginx/proxy_host/1.conf filerun8-proxy-1 | sed: couldn't open temporary file /data/nginx/proxy_host/sedN25JQv: Permission denied filerun8-proxy-1 | s6-rc: warning: unable to start service prepare: command exited 4 filerun8-proxy-1 | /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. ``` **Operating System** <!-- Please specify if using a Rpi, Mac, orchestration tool or any other setups that might affect the reproduction of this error. --> Mac M1, Colima, Docker **Additional context** <!-- Add any other context about the problem here, docker version, browser version, logs if applicable to the problem. Too much info is better than too little. -->
kerem 2026-02-26 07:34:00 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@gotzlotz commented on GitHub (Aug 6, 2023):

Getting the same error when I restart.

<!-- gh-comment-id:1666968435 --> @gotzlotz commented on GitHub (Aug 6, 2023): Getting the same error when I restart.
Author
Owner

@Antergosgeek commented on GitHub (Aug 25, 2023):

Any idea what it could be? I have the exact same thing happening. When I get lucky it runs but made the mistake to stop the container and now the issue is back and I can’t get it to start anymore

<!-- gh-comment-id:1693675625 --> @Antergosgeek commented on GitHub (Aug 25, 2023): Any idea what it could be? I have the exact same thing happening. When I get lucky it runs but made the mistake to stop the container and now the issue is back and I can’t get it to start anymore
Author
Owner

@f1ynng8 commented on GitHub (Nov 22, 2023):

@Antergosgeek a temporary solution is change the file sharing from VirtioFS to gRPC FUSE in Docker Desktop for Mac. Details here: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3343

<!-- gh-comment-id:1823188891 --> @f1ynng8 commented on GitHub (Nov 22, 2023): @Antergosgeek a temporary solution is change the file sharing from VirtioFS to gRPC FUSE in Docker Desktop for Mac. Details here: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3343
Author
Owner

@Antergosgeek commented on GitHub (Apr 25, 2024):

Thank you! Sorry been a while since I looked!

<!-- gh-comment-id:2076296820 --> @Antergosgeek commented on GitHub (Apr 25, 2024): Thank you! Sorry been a while since I looked!
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2024):

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

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

@github-actions[bot] commented on GitHub (Nov 28, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:3587700712 --> @github-actions[bot] commented on GitHub (Nov 28, 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#2096
No description provided.