[GH-ISSUE #101] Always crash when click local assets on webapp #144

Open
opened 2026-03-01 18:33:30 +03:00 by kerem · 1 comment
Owner

Originally created by @fnMrRice on GitHub (Jul 19, 2025).
Original GitHub issue: https://github.com/netbootxyz/docker-netbootxyz/issues/101

Image

The image is running on unraid. webapp crashes everytime when i click the local assets button.
there is no log file so i don't know what happened.
is there any way i can extract the webapp run log?

Originally created by @fnMrRice on GitHub (Jul 19, 2025). Original GitHub issue: https://github.com/netbootxyz/docker-netbootxyz/issues/101 <img width="1764" height="1173" alt="Image" src="https://github.com/user-attachments/assets/96ad7bf5-4a6d-46cb-999d-c08511a196d6" /> The image is running on unraid. webapp crashes everytime when i click the local assets button. there is no log file so i don't know what happened. is there any way i can extract the webapp run log?
Author
Owner

@fnMrRice commented on GitHub (Jul 19, 2025):

I run node from the container and got the error

/app # export WEB_APP_PORT=3002
/app # NODE_ENV=production /usr/bin/node app.js 
listening on *:3002
stqlgpEQDq4lKJ3HAAAB connected time=1752919349312
node:fs:562
  return binding.open(
                 ^

Error: ENOENT: no such file or directory, open '/config/endpoints.yml'
    at Object.openSync (node:fs:562:18)
    at Object.readFileSync (node:fs:446:35)
    at Socket.<anonymous> (/app/app.js:184:28)
    at Socket.emit (node:events:518:28)
    at Socket.emitUntyped (/app/node_modules/socket.io/dist/typed-events.js:69:22)
    at /app/node_modules/socket.io/dist/socket.js:697:39
    at process.processTicksAndRejections (node:internal/process/task_queues:85:11) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/config/endpoints.yml'
}

Node.js v22.16.0
/app # cd /config
/config # ls -al
total 4
drwxr-xr-x    1 nbxyz    nbxyz           56 Jul 19 09:30 .
drwxr-xr-x    1 root     root           258 Jul 19 09:31 ..
drwxr-xr-x    1 nbxyz    nbxyz           10 Jul 19 09:30 log
drwxr-xr-x    1 nbxyz    nbxyz         3086 Jul 19 09:30 menus
-rw-r--r--    1 nbxyz    nbxyz            6 Jul 19 09:30 menuversion.txt
drwxr-xr-x    1 nbxyz    nbxyz           40 Jul 19 09:30 nginx
<!-- gh-comment-id:3092232871 --> @fnMrRice commented on GitHub (Jul 19, 2025): I run node from the container and got the error ``` /app # export WEB_APP_PORT=3002 /app # NODE_ENV=production /usr/bin/node app.js listening on *:3002 stqlgpEQDq4lKJ3HAAAB connected time=1752919349312 node:fs:562 return binding.open( ^ Error: ENOENT: no such file or directory, open '/config/endpoints.yml' at Object.openSync (node:fs:562:18) at Object.readFileSync (node:fs:446:35) at Socket.<anonymous> (/app/app.js:184:28) at Socket.emit (node:events:518:28) at Socket.emitUntyped (/app/node_modules/socket.io/dist/typed-events.js:69:22) at /app/node_modules/socket.io/dist/socket.js:697:39 at process.processTicksAndRejections (node:internal/process/task_queues:85:11) { errno: -2, code: 'ENOENT', syscall: 'open', path: '/config/endpoints.yml' } Node.js v22.16.0 /app # cd /config /config # ls -al total 4 drwxr-xr-x 1 nbxyz nbxyz 56 Jul 19 09:30 . drwxr-xr-x 1 root root 258 Jul 19 09:31 .. drwxr-xr-x 1 nbxyz nbxyz 10 Jul 19 09:30 log drwxr-xr-x 1 nbxyz nbxyz 3086 Jul 19 09:30 menus -rw-r--r-- 1 nbxyz nbxyz 6 Jul 19 09:30 menuversion.txt drwxr-xr-x 1 nbxyz nbxyz 40 Jul 19 09:30 nginx ```
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/docker-netbootxyz#144
No description provided.