Jellyfin Forum
lstat /proc/10788/ns/net: no such file or directory - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: lstat /proc/10788/ns/net: no such file or directory (/t-lstat-proc-10788-ns-net-no-such-file-or-directory)



lstat /proc/10788/ns/net: no such file or directory - Comp0mzd - 2023-11-06

Code:
Started Container jellyfin Started Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to create new parent process: namespace path: lstat /proc/10788/ns/net: no such file or directory: unknown
I'm trying to start jellyfin container and mount the media volume as a SMB storage on a Hetzner Storage Box however I always get the error above. I have no idea what could cause this issue.
Below the docker compose configuration :
Code:
jellyfin:
    image: linuxserver/jellyfin:latest
    container_name: jellyfin
    networks:
      - media-net
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    volumes:
      - jellyfin-config:/config
      - media-stack-torrents:/data
    ports:
      - 8096:8096
      - 7359:7359/udp
      - 8920:8920
    restart: unless-stopped
volumes:
  media-stack-torrents:
      driver: local
      driver_opts:
        type: none
        o: bind
        device: /mnt/storage-box
Jellyfin Version
10.8.X
Code:
- OS: Debian 11
- Linux Kernel: 5.10.0-26-amd64
- Virtualization: Docker w Portainer
- Clients: /
- Browser: /
- FFmpeg Version: /
- Playback Method: /
- Hardware Acceleration: /
- GPU Model: /
- Plugins: /
- Reverse Proxy: /
- Base URL: /
- Networking: /
- Storage: cifs

Would appreciate any help and i can provide more context if needed


RE: lstat /proc/10788/ns/net: no such file or directory - TheDreadPirate - 2023-11-06

I think this is related to the "networks" config. For testing, what happens when you comment out

Code:
networks:
      - media-net



RE: lstat /proc/10788/ns/net: no such file or directory - Comp0mzd - 2023-11-06

(2023-11-06, 02:46 PM)Comp0mzd Wrote:
Code:
Started Container jellyfin Started Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to create new parent process: namespace path: lstat /proc/10788/ns/net: no such file or directory: unknown
I'm trying to start jellyfin container and mount the media volume as a SMB storage on a Hetzner Storage Box however I always get the error above. I have no idea what could cause this issue.
Below the docker compose configuration :
Code:
jellyfin:
    image: linuxserver/jellyfin:latest
    container_name: jellyfin
    networks:
      - media-net
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    volumes:
      - jellyfin-config:/config
      - media-stack-torrents:/data
    ports:
      - 8096:8096
      - 7359:7359/udp
      - 8920:8920
    restart: unless-stopped
volumes:
  media-stack-torrents:
      driver: local
      driver_opts:
        type: none
        o: bind
        device: /mnt/storage-box
Jellyfin Version
10.8.X
Code:
- OS: Debian 11
- Linux Kernel: 5.10.0-26-amd64
- Virtualization: Docker w Portainer
- Clients: /
- Browser: /
- FFmpeg Version: /
- Playback Method: /
- Hardware Acceleration: /
- GPU Model: /
- Plugins: /
- Reverse Proxy: /
- Base URL: /
- Networking: /
- Storage: cifs

Would appreciate any help and i can provide more context if needed

Unfortunately I depend on the network here is my entire docker compose file with the other services 
Code:
version: "3"
name: media-stack
services:
  vpn:
    container_name: vpn
    image: qmcgaw/gluetun:latest
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=airvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
      - WIREGUARD_PRESHARED_KEY=${WIREGUARD_PRESHARED_KEY}
      - WIREGUARD_ADDRESSES=${WIREGUARD_ADDRESSES}
      - SERVER_COUNTRIES=${SERVER_COUNTRIES}
    networks:
      - media-net
    ports:
      # prowlarr ports
      - 9696:9696
      # Transmission ports. Uncomment below if Transmission is used with VPN
      - 9091:9091
      - 51413:51413
      - 51413:51413/udp
    restart: "unless-stopped"
  transmission:
    container_name: transmission
    image: linuxserver/transmission:latest
    network_mode: service:vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
      - USER=${TRANSMISSION_USERNAME}
      - PASS=${TRANSMISSION_PASSWORD}
    volumes:
      - tx-config:/config
      - media-stack-torrents:/downloads
      - tx-watch:/watch
    restart: "unless-stopped"
   
  radarr:
    container_name: radarr
    image: linuxserver/radarr:latest
    networks:
      - media-net
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    ports:
      - 7878:7878
    volumes:
      - radarr-config:/config
      - media-stack-torrents:/downloads
    restart: "unless-stopped"

  sonarr:
    image: linuxserver/sonarr:latest
    container_name: sonarr
    networks:
      - media-net
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    volumes:
      - sonarr-config:/config
      - media-stack-torrents:/downloads
    ports:
      - 8989:8989
    restart: unless-stopped

  prowlarr:
    container_name: prowlarr
    image: linuxserver/prowlarr:latest
    depends_on:
      - vpn
    network_mode: service:vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    volumes:
      - prowlarr-config:/config
    restart: unless-stopped

  jellyfin:
    image: linuxserver/jellyfin:latest
    container_name: jellyfin
    networks:
      - media-net
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    volumes:
      - jellyfin-config:/config
      - media-stack-torrents:/data
    ports:
      - 8096:8096
      - 7359:7359/udp
      - 8920:8920
    restart: unless-stopped
volumes:
  media-stack-torrents:
      driver: local
      driver_opts:
        type: cifs
        o: addr=*redacted*,username=*redacted*,password=*redacted*,vers=3.0
        device: //*redacted*/media-stack
  radarr-config:
  sonarr-config:
  jackett-config:
  jackett-blackhole:
  prowlarr-config:
  jellyfin-config:
  tx-config:
  tx-watch:

networks:
  media-net:
    external: true
I'm really wondering if it's an issue with jellyfin itself or the vpn but can't have any logs


RE: lstat /proc/10788/ns/net: no such file or directory - TheDreadPirate - 2023-11-06

(2023-11-06, 03:42 PM)Comp0mzd Wrote: I'm really wondering if it's an issue with jellyfin itself or the vpn but can't have any logs

The container isn't starting, so it's not related to jellyfin.  The message you were getting, "namespace path: lstat /proc/10788/ns/net: no such file or directory", is related to something trying to get information about your network setup.  ns = name space, net = network.  And 10788 is a PID.