[GH-ISSUE #138] Portainer problem with v2.0.13: Cannot find module '/app/node_modules/nodemon/bin/nodemon.js #123

Closed
opened 2026-02-26 06:30:23 +03:00 by kerem · 3 comments
Owner

Originally created by @cboulanger on GitHub (May 9, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/138

Using Portainer (https://www.portainer.io) and installed from GitHub Master (currently same as v2.0.13)

Application container stopps immediately after Startup

Logs:

Uncaught Error: Cannot find module '/app/node_modules/nodemon/bin/nodemon.js'

FROM
Function.Module._resolveFilename (internal/modules/cjs/loader.js:584:5)
Function.Module._load (internal/modules/cjs/loader.js:508:25)
Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
startup (internal/bootstrap/node.js:283:19)
bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

Portainer state info:

{
    "AppArmorProfile": "docker-default",
    "Args": [
        "--max_old_space_size=250",
        "--abort_on_uncaught_exception",
        "node_modules/nodemon/bin/nodemon.js"
    ],
    "Config": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "node",
            "--max_old_space_size=250",
            "--abort_on_uncaught_exception",
            "node_modules/nodemon/bin/nodemon.js"
        ],
        "Domainname": "",
        "Entrypoint": null,
        "Env": [
            "NODE_ENV=development",
            "FORCE_COLOR=1",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NGINX_VERSION=1.15.12-1~stretch",
            "NJS_VERSION=1.15.12.0.3.1-1~stretch"
        ],
        "ExposedPorts": {
            "443/tcp": {},
            "80/tcp": {},
            "81/tcp": {}
        },
        "Hostname": "3e05cbb271a5",
        "Image": "jc21/nginx-proxy-manager-base:latest",
        "Labels": {
            "com.docker.compose.config-hash": "054dc65263605b48ad9bc61221f829156bb300a9",
            "com.docker.compose.container-number": "1",
            "com.docker.compose.oneoff": "False",
            "com.docker.compose.project": "nginxproxymanager",
            "com.docker.compose.service": "app",
            "com.docker.compose.version": "1.5.0",
            "maintainer": "Jamie Curnow <jc@jc21.com>"
        },
        "OnBuild": null,
        "OpenStdin": false,
        "StdinOnce": false,
        "StopSignal": "SIGTERM",
        "Tty": false,
        "User": "",
        "Volumes": null,
        "WorkingDir": "/app"
    },
    "Created": "2019-05-09T07:15:20.177360121Z",
    "Driver": "overlay2",
    "ExecIDs": null,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f-init/diff:/var/lib/docker/overlay2/64e1eec296145ae216a10ed94e5b78c1a855b338be1afe97dc43fd131d8d51de/diff:/var/lib/docker/overlay2/e5e13569391dcbfc9c8365484dab900d60a9149decca54bde42ca73480c9d09f/diff:/var/lib/docker/overlay2/c3dc9a2ed87fd4c5984e494e31366195a3784acab31ae2a65f24f39a19311cbe/diff:/var/lib/docker/overlay2/ab435018d03aa68e66640f5a7e5fde42e40c6747778c284fdcf8cbbea68fd236/diff",
            "MergedDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/merged",
            "UpperDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/diff",
            "WorkDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/work"
        },
        "Name": "overlay2"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": [
            "/opt/portainer-data/compose/2/data:/data",
            "/opt/portainer-data/compose/2/data/letsencrypt:/etc/letsencrypt",
            "/opt/portainer-data/compose/2:/app",
            "/opt/portainer-data/compose/2/rootfs/etc/nginx:/etc/nginx"
        ],
        "BlkioDeviceReadBps": null,
        "BlkioDeviceReadIOps": null,
        "BlkioDeviceWriteBps": null,
        "BlkioDeviceWriteIOps": null,
        "BlkioWeight": 0,
        "BlkioWeightDevice": null,
        "CapAdd": null,
        "CapDrop": null,
        "Cgroup": "",
        "CgroupParent": "",
        "ConsoleSize": [
            0,
            0
        ],
        "ContainerIDFile": "",
        "CpuCount": 0,
        "CpuPercent": 0,
        "CpuPeriod": 0,
        "CpuQuota": 0,
        "CpuRealtimePeriod": 0,
        "CpuRealtimeRuntime": 0,
        "CpuShares": 0,
        "CpusetCpus": "",
        "CpusetMems": "",
        "DeviceCgroupRules": null,
        "Devices": [],
        "DiskQuota": 0,
        "Dns": null,
        "DnsOptions": null,
        "DnsSearch": null,
        "ExtraHosts": null,
        "GroupAdd": null,
        "IOMaximumBandwidth": 0,
        "IOMaximumIOps": 0,
        "IpcMode": "shareable",
        "Isolation": "",
        "KernelMemory": 0,
        "Links": null,
        "LogConfig": {
            "Config": {},
            "Type": "json-file"
        },
        "MaskedPaths": [
            "/proc/asound",
            "/proc/acpi",
            "/proc/kcore",
            "/proc/keys",
            "/proc/latency_stats",
            "/proc/timer_list",
            "/proc/timer_stats",
            "/proc/sched_debug",
            "/proc/scsi",
            "/sys/firmware"
        ],
        "Memory": 0,
        "MemoryReservation": 0,
        "MemorySwap": 0,
        "MemorySwappiness": 0,
        "NanoCpus": 0,
        "NetworkMode": "nginxproxymanager_default",
        "OomKillDisable": false,
        "OomScoreAdj": 0,
        "PidMode": "",
        "PidsLimit": 0,
        "PortBindings": {
            "443/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "8443"
                }
            ],
            "80/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "8080"
                }
            ],
            "81/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "8081"
                }
            ]
        },
        "Privileged": false,
        "PublishAllPorts": false,
        "ReadonlyPaths": [
            "/proc/bus",
            "/proc/fs",
            "/proc/irq",
            "/proc/sys",
            "/proc/sysrq-trigger"
        ],
        "ReadonlyRootfs": false,
        "RestartPolicy": {
            "MaximumRetryCount": 0,
            "Name": ""
        },
        "Runtime": "runc",
        "SecurityOpt": null,
        "ShmSize": 67108864,
        "UTSMode": "",
        "Ulimits": [],
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/hostname",
    "HostsPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/hosts",
    "Id": "3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587",
    "Image": "sha256:30a3b59cfd9aa724fbc6940a4b10677fcbcea7cc383e11ec22a68f4b3069d57c",
    "LogPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587-json.log",
    "MountLabel": "",
    "Mounts": [
        {
            "Destination": "/data",
            "Mode": "",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/opt/portainer-data/compose/2/data",
            "Type": "bind"
        },
        {
            "Destination": "/etc/letsencrypt",
            "Mode": "",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/opt/portainer-data/compose/2/data/letsencrypt",
            "Type": "bind"
        },
        {
            "Destination": "/app",
            "Mode": "",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/opt/portainer-data/compose/2",
            "Type": "bind"
        },
        {
            "Destination": "/etc/nginx",
            "Mode": "",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/opt/portainer-data/compose/2/rootfs/etc/nginx",
            "Type": "bind"
        }
    ],
    "Name": "/nginxproxymanager_app_1",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "Networks": {
            "nginxproxymanager_default": {
                "Aliases": [
                    "app",
                    "3e05cbb271a5"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": {},
                "IPAddress": "",
                "IPPrefixLen": 0,
                "IPv6Gateway": "",
                "Links": [
                    "/nginxproxymanager_db_1:db",
                    "/nginxproxymanager_db_1:/nginxproxymanager_db_1"
                ],
                "MacAddress": "",
                "NetworkID": "852727f9f1c9afe614a0cee035409a8a2417ac3edcb999f1c94ef6ae609b916c"
            },
            "vms": {
                "Aliases": [
                    "3e05cbb271a5"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": null,
                "IPAddress": "",
                "IPPrefixLen": 0,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "",
                "NetworkID": "fbecdfda308910c6d57e0cb24b27d7462f7c4054a8319e4dfdd92657cd2d1c88"
            }
        },
        "Ports": {},
        "SandboxID": "aa7e8f5614ec578bc7e75ccbaad6cad8d2a1b33af683e600d3cee2bf224cd27d",
        "SandboxKey": "/var/run/docker/netns/aa7e8f5614ec",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null
    },
    "Path": "node",
    "Platform": "linux",
    "ProcessLabel": "",
    "ResolvConfPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/resolv.conf",
    "RestartCount": 0,
    "State": {
        "Dead": false,
        "Error": "",
        "ExitCode": 132,
        "FinishedAt": "2019-05-09T07:16:32.84781311Z",
        "OOMKilled": false,
        "Paused": false,
        "Pid": 0,
        "Restarting": false,
        "Running": false,
        "StartedAt": "2019-05-09T07:16:32.690441584Z",
        "Status": "exited"
    }
}

I can downgrade to the latest version that worked for me, but maybe you have an idea what could be the problem?

Originally created by @cboulanger on GitHub (May 9, 2019). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/138 Using Portainer (https://www.portainer.io) and installed from GitHub Master (currently same as v2.0.13) Application container stopps immediately after Startup Logs: ``` Uncaught Error: Cannot find module '/app/node_modules/nodemon/bin/nodemon.js' FROM Function.Module._resolveFilename (internal/modules/cjs/loader.js:584:5) Function.Module._load (internal/modules/cjs/loader.js:508:25) Function.Module.runMain (internal/modules/cjs/loader.js:754:12) startup (internal/bootstrap/node.js:283:19) bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) ``` Portainer state info: ``` { "AppArmorProfile": "docker-default", "Args": [ "--max_old_space_size=250", "--abort_on_uncaught_exception", "node_modules/nodemon/bin/nodemon.js" ], "Config": { "AttachStderr": false, "AttachStdin": false, "AttachStdout": false, "Cmd": [ "node", "--max_old_space_size=250", "--abort_on_uncaught_exception", "node_modules/nodemon/bin/nodemon.js" ], "Domainname": "", "Entrypoint": null, "Env": [ "NODE_ENV=development", "FORCE_COLOR=1", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "NGINX_VERSION=1.15.12-1~stretch", "NJS_VERSION=1.15.12.0.3.1-1~stretch" ], "ExposedPorts": { "443/tcp": {}, "80/tcp": {}, "81/tcp": {} }, "Hostname": "3e05cbb271a5", "Image": "jc21/nginx-proxy-manager-base:latest", "Labels": { "com.docker.compose.config-hash": "054dc65263605b48ad9bc61221f829156bb300a9", "com.docker.compose.container-number": "1", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "nginxproxymanager", "com.docker.compose.service": "app", "com.docker.compose.version": "1.5.0", "maintainer": "Jamie Curnow <jc@jc21.com>" }, "OnBuild": null, "OpenStdin": false, "StdinOnce": false, "StopSignal": "SIGTERM", "Tty": false, "User": "", "Volumes": null, "WorkingDir": "/app" }, "Created": "2019-05-09T07:15:20.177360121Z", "Driver": "overlay2", "ExecIDs": null, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f-init/diff:/var/lib/docker/overlay2/64e1eec296145ae216a10ed94e5b78c1a855b338be1afe97dc43fd131d8d51de/diff:/var/lib/docker/overlay2/e5e13569391dcbfc9c8365484dab900d60a9149decca54bde42ca73480c9d09f/diff:/var/lib/docker/overlay2/c3dc9a2ed87fd4c5984e494e31366195a3784acab31ae2a65f24f39a19311cbe/diff:/var/lib/docker/overlay2/ab435018d03aa68e66640f5a7e5fde42e40c6747778c284fdcf8cbbea68fd236/diff", "MergedDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/merged", "UpperDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/diff", "WorkDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/work" }, "Name": "overlay2" }, "HostConfig": { "AutoRemove": false, "Binds": [ "/opt/portainer-data/compose/2/data:/data", "/opt/portainer-data/compose/2/data/letsencrypt:/etc/letsencrypt", "/opt/portainer-data/compose/2:/app", "/opt/portainer-data/compose/2/rootfs/etc/nginx:/etc/nginx" ], "BlkioDeviceReadBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceWriteIOps": null, "BlkioWeight": 0, "BlkioWeightDevice": null, "CapAdd": null, "CapDrop": null, "Cgroup": "", "CgroupParent": "", "ConsoleSize": [ 0, 0 ], "ContainerIDFile": "", "CpuCount": 0, "CpuPercent": 0, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpuShares": 0, "CpusetCpus": "", "CpusetMems": "", "DeviceCgroupRules": null, "Devices": [], "DiskQuota": 0, "Dns": null, "DnsOptions": null, "DnsSearch": null, "ExtraHosts": null, "GroupAdd": null, "IOMaximumBandwidth": 0, "IOMaximumIOps": 0, "IpcMode": "shareable", "Isolation": "", "KernelMemory": 0, "Links": null, "LogConfig": { "Config": {}, "Type": "json-file" }, "MaskedPaths": [ "/proc/asound", "/proc/acpi", "/proc/kcore", "/proc/keys", "/proc/latency_stats", "/proc/timer_list", "/proc/timer_stats", "/proc/sched_debug", "/proc/scsi", "/sys/firmware" ], "Memory": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": 0, "NanoCpus": 0, "NetworkMode": "nginxproxymanager_default", "OomKillDisable": false, "OomScoreAdj": 0, "PidMode": "", "PidsLimit": 0, "PortBindings": { "443/tcp": [ { "HostIp": "", "HostPort": "8443" } ], "80/tcp": [ { "HostIp": "", "HostPort": "8080" } ], "81/tcp": [ { "HostIp": "", "HostPort": "8081" } ] }, "Privileged": false, "PublishAllPorts": false, "ReadonlyPaths": [ "/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger" ], "ReadonlyRootfs": false, "RestartPolicy": { "MaximumRetryCount": 0, "Name": "" }, "Runtime": "runc", "SecurityOpt": null, "ShmSize": 67108864, "UTSMode": "", "Ulimits": [], "UsernsMode": "", "VolumeDriver": "", "VolumesFrom": null }, "HostnamePath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/hostname", "HostsPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/hosts", "Id": "3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587", "Image": "sha256:30a3b59cfd9aa724fbc6940a4b10677fcbcea7cc383e11ec22a68f4b3069d57c", "LogPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587-json.log", "MountLabel": "", "Mounts": [ { "Destination": "/data", "Mode": "", "Propagation": "rprivate", "RW": true, "Source": "/opt/portainer-data/compose/2/data", "Type": "bind" }, { "Destination": "/etc/letsencrypt", "Mode": "", "Propagation": "rprivate", "RW": true, "Source": "/opt/portainer-data/compose/2/data/letsencrypt", "Type": "bind" }, { "Destination": "/app", "Mode": "", "Propagation": "rprivate", "RW": true, "Source": "/opt/portainer-data/compose/2", "Type": "bind" }, { "Destination": "/etc/nginx", "Mode": "", "Propagation": "rprivate", "RW": true, "Source": "/opt/portainer-data/compose/2/rootfs/etc/nginx", "Type": "bind" } ], "Name": "/nginxproxymanager_app_1", "NetworkSettings": { "Bridge": "", "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "HairpinMode": false, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "MacAddress": "", "Networks": { "nginxproxymanager_default": { "Aliases": [ "app", "3e05cbb271a5" ], "DriverOpts": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAMConfig": {}, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "Links": [ "/nginxproxymanager_db_1:db", "/nginxproxymanager_db_1:/nginxproxymanager_db_1" ], "MacAddress": "", "NetworkID": "852727f9f1c9afe614a0cee035409a8a2417ac3edcb999f1c94ef6ae609b916c" }, "vms": { "Aliases": [ "3e05cbb271a5" ], "DriverOpts": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAMConfig": null, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "Links": null, "MacAddress": "", "NetworkID": "fbecdfda308910c6d57e0cb24b27d7462f7c4054a8319e4dfdd92657cd2d1c88" } }, "Ports": {}, "SandboxID": "aa7e8f5614ec578bc7e75ccbaad6cad8d2a1b33af683e600d3cee2bf224cd27d", "SandboxKey": "/var/run/docker/netns/aa7e8f5614ec", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null }, "Path": "node", "Platform": "linux", "ProcessLabel": "", "ResolvConfPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/resolv.conf", "RestartCount": 0, "State": { "Dead": false, "Error": "", "ExitCode": 132, "FinishedAt": "2019-05-09T07:16:32.84781311Z", "OOMKilled": false, "Paused": false, "Pid": 0, "Restarting": false, "Running": false, "StartedAt": "2019-05-09T07:16:32.690441584Z", "Status": "exited" } } ``` I can downgrade to the latest version that worked for me, but maybe you have an idea what could be the problem?
kerem 2026-02-26 06:30:23 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jc21 commented on GitHub (May 9, 2019):

Looks like you’re using the docket compose file in the root of the project.
That’s only for development as it states at the top of that file

On Thu, 9 May 2019 at 5:28 pm, Christian Boulanger notifications@github.com
wrote:

Using Portainer (https://www.portainer.io) and installed from GitHub
Master (currently same as v2.0.13)

Application container stopps immediately after Startup

Logs:

Uncaught Error: Cannot find module '/app/node_modules/nodemon/bin/nodemon.js'

FROM
Function.Module._resolveFilename (internal/modules/cjs/loader.js:584:5)
Function.Module._load (internal/modules/cjs/loader.js:508:25)
Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
startup (internal/bootstrap/node.js:283:19)
bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

Portainer state info:

{
"AppArmorProfile": "docker-default",
"Args": [
"--max_old_space_size=250",
"--abort_on_uncaught_exception",
"node_modules/nodemon/bin/nodemon.js"
],
"Config": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": [
"node",
"--max_old_space_size=250",
"--abort_on_uncaught_exception",
"node_modules/nodemon/bin/nodemon.js"
],
"Domainname": "",
"Entrypoint": null,
"Env": [
"NODE_ENV=development",
"FORCE_COLOR=1",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NGINX_VERSION=1.15.12-1stretch",
"NJS_VERSION=1.15.12.0.3.1-1
stretch"
],
"ExposedPorts": {
"443/tcp": {},
"80/tcp": {},
"81/tcp": {}
},
"Hostname": "3e05cbb271a5",
"Image": "jc21/nginx-proxy-manager-base:latest",
"Labels": {
"com.docker.compose.config-hash": "054dc65263605b48ad9bc61221f829156bb300a9",
"com.docker.compose.container-number": "1",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "nginxproxymanager",
"com.docker.compose.service": "app",
"com.docker.compose.version": "1.5.0",
"maintainer": "Jamie Curnow jc@jc21.com"
},
"OnBuild": null,
"OpenStdin": false,
"StdinOnce": false,
"StopSignal": "SIGTERM",
"Tty": false,
"User": "",
"Volumes": null,
"WorkingDir": "/app"
},
"Created": "2019-05-09T07:15:20.177360121Z",
"Driver": "overlay2",
"ExecIDs": null,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f-init/diff:/var/lib/docker/overlay2/64e1eec296145ae216a10ed94e5b78c1a855b338be1afe97dc43fd131d8d51de/diff:/var/lib/docker/overlay2/e5e13569391dcbfc9c8365484dab900d60a9149decca54bde42ca73480c9d09f/diff:/var/lib/docker/overlay2/c3dc9a2ed87fd4c5984e494e31366195a3784acab31ae2a65f24f39a19311cbe/diff:/var/lib/docker/overlay2/ab435018d03aa68e66640f5a7e5fde42e40c6747778c284fdcf8cbbea68fd236/diff",
"MergedDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/merged",
"UpperDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/diff",
"WorkDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/work"
},
"Name": "overlay2"
},
"HostConfig": {
"AutoRemove": false,
"Binds": [
"/opt/portainer-data/compose/2/data:/data",
"/opt/portainer-data/compose/2/data/letsencrypt:/etc/letsencrypt",
"/opt/portainer-data/compose/2:/app",
"/opt/portainer-data/compose/2/rootfs/etc/nginx:/etc/nginx"
],
"BlkioDeviceReadBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceWriteIOps": null,
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"CapAdd": null,
"CapDrop": null,
"Cgroup": "",
"CgroupParent": "",
"ConsoleSize": [
0,
0
],
"ContainerIDFile": "",
"CpuCount": 0,
"CpuPercent": 0,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpuShares": 0,
"CpusetCpus": "",
"CpusetMems": "",
"DeviceCgroupRules": null,
"Devices": [],
"DiskQuota": 0,
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": null,
"GroupAdd": null,
"IOMaximumBandwidth": 0,
"IOMaximumIOps": 0,
"IpcMode": "shareable",
"Isolation": "",
"KernelMemory": 0,
"Links": null,
"LogConfig": {
"Config": {},
"Type": "json-file"
},
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": 0,
"NanoCpus": 0,
"NetworkMode": "nginxproxymanager_default",
"OomKillDisable": false,
"OomScoreAdj": 0,
"PidMode": "",
"PidsLimit": 0,
"PortBindings": {
"443/tcp": [
{
"HostIp": "",
"HostPort": "8443"
}
],
"80/tcp": [
{
"HostIp": "",
"HostPort": "8080"
}
],
"81/tcp": [
{
"HostIp": "",
"HostPort": "8081"
}
]
},
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
],
"ReadonlyRootfs": false,
"RestartPolicy": {
"MaximumRetryCount": 0,
"Name": ""
},
"Runtime": "runc",
"SecurityOpt": null,
"ShmSize": 67108864,
"UTSMode": "",
"Ulimits": [],
"UsernsMode": "",
"VolumeDriver": "",
"VolumesFrom": null
},
"HostnamePath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/hostname",
"HostsPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/hosts",
"Id": "3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587",
"Image": "sha256:30a3b59cfd9aa724fbc6940a4b10677fcbcea7cc383e11ec22a68f4b3069d57c",
"LogPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587-json.log",
"MountLabel": "",
"Mounts": [
{
"Destination": "/data",
"Mode": "",
"Propagation": "rprivate",
"RW": true,
"Source": "/opt/portainer-data/compose/2/data",
"Type": "bind"
},
{
"Destination": "/etc/letsencrypt",
"Mode": "",
"Propagation": "rprivate",
"RW": true,
"Source": "/opt/portainer-data/compose/2/data/letsencrypt",
"Type": "bind"
},
{
"Destination": "/app",
"Mode": "",
"Propagation": "rprivate",
"RW": true,
"Source": "/opt/portainer-data/compose/2",
"Type": "bind"
},
{
"Destination": "/etc/nginx",
"Mode": "",
"Propagation": "rprivate",
"RW": true,
"Source": "/opt/portainer-data/compose/2/rootfs/etc/nginx",
"Type": "bind"
}
],
"Name": "/nginxproxymanager_app_1",
"NetworkSettings": {
"Bridge": "",
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"HairpinMode": false,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"MacAddress": "",
"Networks": {
"nginxproxymanager_default": {
"Aliases": [
"app",
"3e05cbb271a5"
],
"DriverOpts": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAMConfig": {},
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"Links": [
"/nginxproxymanager_db_1:db",
"/nginxproxymanager_db_1:/nginxproxymanager_db_1"
],
"MacAddress": "",
"NetworkID": "852727f9f1c9afe614a0cee035409a8a2417ac3edcb999f1c94ef6ae609b916c"
},
"vms": {
"Aliases": [
"3e05cbb271a5"
],
"DriverOpts": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAMConfig": null,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"Links": null,
"MacAddress": "",
"NetworkID": "fbecdfda308910c6d57e0cb24b27d7462f7c4054a8319e4dfdd92657cd2d1c88"
}
},
"Ports": {},
"SandboxID": "aa7e8f5614ec578bc7e75ccbaad6cad8d2a1b33af683e600d3cee2bf224cd27d",
"SandboxKey": "/var/run/docker/netns/aa7e8f5614ec",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null
},
"Path": "node",
"Platform": "linux",
"ProcessLabel": "",
"ResolvConfPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/resolv.conf",
"RestartCount": 0,
"State": {
"Dead": false,
"Error": "",
"ExitCode": 132,
"FinishedAt": "2019-05-09T07:16:32.84781311Z",
"OOMKilled": false,
"Paused": false,
"Pid": 0,
"Restarting": false,
"Running": false,
"StartedAt": "2019-05-09T07:16:32.690441584Z",
"Status": "exited"
}
}

I can downgrade to the latest version that worked for me, but maybe you
have an idea what could be the problem?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jc21/nginx-proxy-manager/issues/138, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AALSVMO5YGCKTNF4B74RLOLPUPHA7ANCNFSM4HLX3CAQ
.

<!-- gh-comment-id:490873656 --> @jc21 commented on GitHub (May 9, 2019): Looks like you’re using the docket compose file in the root of the project. That’s only for development as it states at the top of that file On Thu, 9 May 2019 at 5:28 pm, Christian Boulanger <notifications@github.com> wrote: > Using Portainer (https://www.portainer.io) and installed from GitHub > Master (currently same as v2.0.13) > > Application container stopps immediately after Startup > > Logs: > > Uncaught Error: Cannot find module '/app/node_modules/nodemon/bin/nodemon.js' > > FROM > Function.Module._resolveFilename (internal/modules/cjs/loader.js:584:5) > Function.Module._load (internal/modules/cjs/loader.js:508:25) > Function.Module.runMain (internal/modules/cjs/loader.js:754:12) > startup (internal/bootstrap/node.js:283:19) > bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) > > Portainer state info: > > { > "AppArmorProfile": "docker-default", > "Args": [ > "--max_old_space_size=250", > "--abort_on_uncaught_exception", > "node_modules/nodemon/bin/nodemon.js" > ], > "Config": { > "AttachStderr": false, > "AttachStdin": false, > "AttachStdout": false, > "Cmd": [ > "node", > "--max_old_space_size=250", > "--abort_on_uncaught_exception", > "node_modules/nodemon/bin/nodemon.js" > ], > "Domainname": "", > "Entrypoint": null, > "Env": [ > "NODE_ENV=development", > "FORCE_COLOR=1", > "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", > "NGINX_VERSION=1.15.12-1~stretch", > "NJS_VERSION=1.15.12.0.3.1-1~stretch" > ], > "ExposedPorts": { > "443/tcp": {}, > "80/tcp": {}, > "81/tcp": {} > }, > "Hostname": "3e05cbb271a5", > "Image": "jc21/nginx-proxy-manager-base:latest", > "Labels": { > "com.docker.compose.config-hash": "054dc65263605b48ad9bc61221f829156bb300a9", > "com.docker.compose.container-number": "1", > "com.docker.compose.oneoff": "False", > "com.docker.compose.project": "nginxproxymanager", > "com.docker.compose.service": "app", > "com.docker.compose.version": "1.5.0", > "maintainer": "Jamie Curnow <jc@jc21.com>" > }, > "OnBuild": null, > "OpenStdin": false, > "StdinOnce": false, > "StopSignal": "SIGTERM", > "Tty": false, > "User": "", > "Volumes": null, > "WorkingDir": "/app" > }, > "Created": "2019-05-09T07:15:20.177360121Z", > "Driver": "overlay2", > "ExecIDs": null, > "GraphDriver": { > "Data": { > "LowerDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f-init/diff:/var/lib/docker/overlay2/64e1eec296145ae216a10ed94e5b78c1a855b338be1afe97dc43fd131d8d51de/diff:/var/lib/docker/overlay2/e5e13569391dcbfc9c8365484dab900d60a9149decca54bde42ca73480c9d09f/diff:/var/lib/docker/overlay2/c3dc9a2ed87fd4c5984e494e31366195a3784acab31ae2a65f24f39a19311cbe/diff:/var/lib/docker/overlay2/ab435018d03aa68e66640f5a7e5fde42e40c6747778c284fdcf8cbbea68fd236/diff", > "MergedDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/merged", > "UpperDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/diff", > "WorkDir": "/var/lib/docker/overlay2/0038768e76d05d6f836a1b576f8ebce214d8fa2cd8a8bf7680109a7166bf0d3f/work" > }, > "Name": "overlay2" > }, > "HostConfig": { > "AutoRemove": false, > "Binds": [ > "/opt/portainer-data/compose/2/data:/data", > "/opt/portainer-data/compose/2/data/letsencrypt:/etc/letsencrypt", > "/opt/portainer-data/compose/2:/app", > "/opt/portainer-data/compose/2/rootfs/etc/nginx:/etc/nginx" > ], > "BlkioDeviceReadBps": null, > "BlkioDeviceReadIOps": null, > "BlkioDeviceWriteBps": null, > "BlkioDeviceWriteIOps": null, > "BlkioWeight": 0, > "BlkioWeightDevice": null, > "CapAdd": null, > "CapDrop": null, > "Cgroup": "", > "CgroupParent": "", > "ConsoleSize": [ > 0, > 0 > ], > "ContainerIDFile": "", > "CpuCount": 0, > "CpuPercent": 0, > "CpuPeriod": 0, > "CpuQuota": 0, > "CpuRealtimePeriod": 0, > "CpuRealtimeRuntime": 0, > "CpuShares": 0, > "CpusetCpus": "", > "CpusetMems": "", > "DeviceCgroupRules": null, > "Devices": [], > "DiskQuota": 0, > "Dns": null, > "DnsOptions": null, > "DnsSearch": null, > "ExtraHosts": null, > "GroupAdd": null, > "IOMaximumBandwidth": 0, > "IOMaximumIOps": 0, > "IpcMode": "shareable", > "Isolation": "", > "KernelMemory": 0, > "Links": null, > "LogConfig": { > "Config": {}, > "Type": "json-file" > }, > "MaskedPaths": [ > "/proc/asound", > "/proc/acpi", > "/proc/kcore", > "/proc/keys", > "/proc/latency_stats", > "/proc/timer_list", > "/proc/timer_stats", > "/proc/sched_debug", > "/proc/scsi", > "/sys/firmware" > ], > "Memory": 0, > "MemoryReservation": 0, > "MemorySwap": 0, > "MemorySwappiness": 0, > "NanoCpus": 0, > "NetworkMode": "nginxproxymanager_default", > "OomKillDisable": false, > "OomScoreAdj": 0, > "PidMode": "", > "PidsLimit": 0, > "PortBindings": { > "443/tcp": [ > { > "HostIp": "", > "HostPort": "8443" > } > ], > "80/tcp": [ > { > "HostIp": "", > "HostPort": "8080" > } > ], > "81/tcp": [ > { > "HostIp": "", > "HostPort": "8081" > } > ] > }, > "Privileged": false, > "PublishAllPorts": false, > "ReadonlyPaths": [ > "/proc/bus", > "/proc/fs", > "/proc/irq", > "/proc/sys", > "/proc/sysrq-trigger" > ], > "ReadonlyRootfs": false, > "RestartPolicy": { > "MaximumRetryCount": 0, > "Name": "" > }, > "Runtime": "runc", > "SecurityOpt": null, > "ShmSize": 67108864, > "UTSMode": "", > "Ulimits": [], > "UsernsMode": "", > "VolumeDriver": "", > "VolumesFrom": null > }, > "HostnamePath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/hostname", > "HostsPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/hosts", > "Id": "3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587", > "Image": "sha256:30a3b59cfd9aa724fbc6940a4b10677fcbcea7cc383e11ec22a68f4b3069d57c", > "LogPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587-json.log", > "MountLabel": "", > "Mounts": [ > { > "Destination": "/data", > "Mode": "", > "Propagation": "rprivate", > "RW": true, > "Source": "/opt/portainer-data/compose/2/data", > "Type": "bind" > }, > { > "Destination": "/etc/letsencrypt", > "Mode": "", > "Propagation": "rprivate", > "RW": true, > "Source": "/opt/portainer-data/compose/2/data/letsencrypt", > "Type": "bind" > }, > { > "Destination": "/app", > "Mode": "", > "Propagation": "rprivate", > "RW": true, > "Source": "/opt/portainer-data/compose/2", > "Type": "bind" > }, > { > "Destination": "/etc/nginx", > "Mode": "", > "Propagation": "rprivate", > "RW": true, > "Source": "/opt/portainer-data/compose/2/rootfs/etc/nginx", > "Type": "bind" > } > ], > "Name": "/nginxproxymanager_app_1", > "NetworkSettings": { > "Bridge": "", > "EndpointID": "", > "Gateway": "", > "GlobalIPv6Address": "", > "GlobalIPv6PrefixLen": 0, > "HairpinMode": false, > "IPAddress": "", > "IPPrefixLen": 0, > "IPv6Gateway": "", > "LinkLocalIPv6Address": "", > "LinkLocalIPv6PrefixLen": 0, > "MacAddress": "", > "Networks": { > "nginxproxymanager_default": { > "Aliases": [ > "app", > "3e05cbb271a5" > ], > "DriverOpts": null, > "EndpointID": "", > "Gateway": "", > "GlobalIPv6Address": "", > "GlobalIPv6PrefixLen": 0, > "IPAMConfig": {}, > "IPAddress": "", > "IPPrefixLen": 0, > "IPv6Gateway": "", > "Links": [ > "/nginxproxymanager_db_1:db", > "/nginxproxymanager_db_1:/nginxproxymanager_db_1" > ], > "MacAddress": "", > "NetworkID": "852727f9f1c9afe614a0cee035409a8a2417ac3edcb999f1c94ef6ae609b916c" > }, > "vms": { > "Aliases": [ > "3e05cbb271a5" > ], > "DriverOpts": null, > "EndpointID": "", > "Gateway": "", > "GlobalIPv6Address": "", > "GlobalIPv6PrefixLen": 0, > "IPAMConfig": null, > "IPAddress": "", > "IPPrefixLen": 0, > "IPv6Gateway": "", > "Links": null, > "MacAddress": "", > "NetworkID": "fbecdfda308910c6d57e0cb24b27d7462f7c4054a8319e4dfdd92657cd2d1c88" > } > }, > "Ports": {}, > "SandboxID": "aa7e8f5614ec578bc7e75ccbaad6cad8d2a1b33af683e600d3cee2bf224cd27d", > "SandboxKey": "/var/run/docker/netns/aa7e8f5614ec", > "SecondaryIPAddresses": null, > "SecondaryIPv6Addresses": null > }, > "Path": "node", > "Platform": "linux", > "ProcessLabel": "", > "ResolvConfPath": "/var/lib/docker/containers/3e05cbb271a542be913fe5cc0311bfe9abcffb66d4ec8337cd75cb2de26ac587/resolv.conf", > "RestartCount": 0, > "State": { > "Dead": false, > "Error": "", > "ExitCode": 132, > "FinishedAt": "2019-05-09T07:16:32.84781311Z", > "OOMKilled": false, > "Paused": false, > "Pid": 0, > "Restarting": false, > "Running": false, > "StartedAt": "2019-05-09T07:16:32.690441584Z", > "Status": "exited" > } > } > > I can downgrade to the latest version that worked for me, but maybe you > have an idea what could be the problem? > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/jc21/nginx-proxy-manager/issues/138>, or mute the > thread > <https://github.com/notifications/unsubscribe-auth/AALSVMO5YGCKTNF4B74RLOLPUPHA7ANCNFSM4HLX3CAQ> > . >
Author
Owner

@cboulanger commented on GitHub (May 9, 2019):

Thanks for your quick feedback. Yes, you're right, I didn't read carefully enough. The problem is that Portainer only accepts docker-compose.yml files of version 2 and I cannot specify a config file. I forked the repo and changed "3" to "2" in /doc/example/docker-compose.yml - now it works like a charm.

<!-- gh-comment-id:491029979 --> @cboulanger commented on GitHub (May 9, 2019): Thanks for your quick feedback. Yes, you're right, I didn't read carefully enough. The problem is that Portainer only accepts docker-compose.yml files of version 2 and I cannot specify a config file. I forked the repo and changed "3" to "2" in /doc/example/docker-compose.yml - now it works like a charm.
Author
Owner

@jc21 commented on GitHub (May 9, 2019):

Cool. I was considering putting some effort into portainer library listing
soon

On Fri, 10 May 2019 at 5:12 am, Christian Boulanger <
notifications@github.com> wrote:

Closed #138 https://github.com/jc21/nginx-proxy-manager/issues/138.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
https://github.com/jc21/nginx-proxy-manager/issues/138#event-2331191622,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALSVMPJEYQTLLGNXK4ILMLPURZRNANCNFSM4HLX3CAQ
.

<!-- gh-comment-id:491074202 --> @jc21 commented on GitHub (May 9, 2019): Cool. I was considering putting some effort into portainer library listing soon On Fri, 10 May 2019 at 5:12 am, Christian Boulanger < notifications@github.com> wrote: > Closed #138 <https://github.com/jc21/nginx-proxy-manager/issues/138>. > > — > You are receiving this because you commented. > > > Reply to this email directly, view it on GitHub > <https://github.com/jc21/nginx-proxy-manager/issues/138#event-2331191622>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AALSVMPJEYQTLLGNXK4ILMLPURZRNANCNFSM4HLX3CAQ> > . >
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#123
No description provided.