overseerr
overseerr copied to clipboard
ENOENT: no such file or directory, open '/opt/yarn-v1.22.19/lib/cli'
Description
I cannot run the container on my NAS Asustor Drivestor 2 Pro (A3302T).
First I tried using App Central, installing it from there a new container is created. Then, if I check the logs using Portainer, I see the following:
node:fs:453
return binding.readFileUtf8(path, stringToFlags(options.flag));
^
Error: ENOENT: no such file or directory, open '/usr/share/node_modules/yarn/lib/cli'
at Object.readFileSync (node:fs:453:20)
at Module._extensions..js (node:internal/modules/cjs/loader:1397:18)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (/usr/share/node_modules/yarn/bin/yarn.js:24:13)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/usr/share/node_modules/yarn/lib/cli'
}
Node.js v20.11.0
Fortunately, I can access the container via ssh and I have verified that the path exists
/usr/share/node_modules/yarn/lib#ls -la
total 5204
drwxr-xr-x 2 root root 4096 Feb 7 20:25 .
drwxr-xr-x 4 root root 4096 Feb 7 20:25 ..
-rwxr-xr-x 1 root root 5306478 Jul 31 2022 cli.js
-rw-r--r-- 1 root root 9910 Jul 31 2022 v8-compile-cache.js
I also checked the user the container is running under and it is the admin user of my NAS, the same for all the containers I have running correctly.
Second option was installing it using docker compose from here, but I get the same results:
node:internal/fs/utils:347
throw err;
^
Error: ENOENT: no such file or directory, open '/opt/yarn-v1.22.19/lib/cli'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1143:18)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1028:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/opt/yarn-v1.22.19/bin/yarn.js:24:13)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/opt/yarn-v1.22.19/lib/cli'
}
Version
v1.33.2
Steps to Reproduce
- Copy and paste docker compose from docs (https://docs.overseerr.dev/getting-started/installation#docker)
- Execute
docker-compose up -d - Overseerr is not properly deployed
- Check logs
Screenshots
No response
Logs
node:internal/fs/utils:347
throw err;
^
Error: ENOENT: no such file or directory, open '/opt/yarn-v1.22.19/lib/cli'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1143:18)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1028:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/opt/yarn-v1.22.19/bin/yarn.js:24:13)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/opt/yarn-v1.22.19/lib/cli'
}
Platform
desktop
Device
NAS DRIVESTOR 2 Pro (AS3302T)
Operating System
Linux AS3302T 4.9.119 #1 SMP PREEMPT Thu Jan 18 03:14:55 CST 2024 aarch64 GNU/Linux
Browser
Chrome
Additional Context
No response
Code of Conduct
- [X] I agree to follow Overseerr's Code of Conduct
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.