specklesystems / speckle-server

The Speckle Server, Frontend, 3D Viewer, & other JS utilities.
https://speckle.systems
Other
667 stars 168 forks source link

BUG: OCI runtime create failed #3181

Closed fuglphoenix closed 1 day ago

fuglphoenix commented 2 days ago

What package are you referring to?

speckle-server docker image

Describe the bug

since version 2.21.1 I haven't been able to create the server (via docker compose). version 2.21.0 and earlier releases works fine. When depolying the speckle server, following the guide . I get the error: OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown

To Reproduce

I can't figure out is this is intended. but in an attempt to figure out the problem. I tried to connect to the running container (with exec ... bash... etc) , but couldn't. So i tried in a more basic way. this will yield the same problem: sudo docker run -it --rm --entrypoint sh speckle/speckle-server:2.21.1

OCI runtime create failed: runc create failed: unable to start container process: exec: "sh": executable file not found in $PATH: unknown

It seems that there is something wrong with the path in underlying image.

using version 2.21.0 will work just fine.

System Info

Running on Ubuntu 24.04.1 LTS

Failure Logs

OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown

Additional context

linear[bot] commented 2 days ago

WEB-1949 BUG: OCI runtime create failed

iainsproat commented 1 day ago

Hi @fuglphoenix - thank you for the bug report. We were able to recreate this.

The issue was with our documentation. The node path in speckle server has been replaced with /nodejs/bin/node but the documentation was not updated to match.

We've now updated the docker compose file in our documentation. Please update your docker compose file to match the updated version. https://speckle.guide/dev/server-manualsetup.html