Back

Synology Nas Functions Error

  • 0
  • Self Hosted
WhMonkey
27 Aug, 2024, 19:52

Hello,

I don't think this can be solved but I'm posting here just incase anyone has any ideas. I'm selfhosting on my Synology NAS and when making a Function I get this error:

TypeScript
Docker Error: docker: Error response from daemon: NanoCPUs can not be set, as your kernel does not support CPU CFS scheduler or the cgroup is not mounted.
See 'docker run --help'.

/usr/src/code/src/Executor/Executor.php:97
#0 /usr/src/code/src/Appwrite/Platform/Workers/Builds.php(424): Executor\Executor->createRuntime('66cdfb70a1a1d18...', '66cc6ce90006997...', '/storage/functi...', 'openruntimes/py...', 'v3', true, 'src/SecureImage...', '/storage/builds...', Array, 'tar -zxf /tmp/c...')
#1 [internal function]: Appwrite\Platform\Workers\Builds->Appwrite\Platform\Workers\{closure}()
#2 {main}

Please let me know if you have any ideas (I've tried Googling it already). Thank you πŸ™‚

TL;DR
Error message indicates an issue with setting NanoCPUs on the NAS due to kernel or cgroup incompatibility with CPU CFS scheduler. No straightforward solution found yet.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more