space-engineers-dedicated-docker-linux icon indicating copy to clipboard operation
space-engineers-dedicated-docker-linux copied to clipboard

Fixing mod download error and running build not working for me

Open survaaki opened this issue 1 year ago • 3 comments

Hopefully this is just something simple, but I am having what seems some weird issue getting 'docker-compose build' to work. As per the suggested fix in https://github.com/mmmaxwwwell/space-engineers-dedicated-docker-linux/issues/48#issuecomment-1238333801 I was trying to build after modifying entrypoint-space_engineers.bash but it fails on "RUN mkdir -p ..." in line 10 of the Dockerfile. I simply can't see a reason for this?

   9 |     RUN runuser wine bash -c ./install-winetricks
  10 | >>> RUN \
  11 | >>>   mkdir -p /appdata/space-engineers/bin &&\
  12 | >>>   mkdir -p /appdata/space-engineers/config
  13 |     COPY entrypoint.bash /entrypoint.bash
--------------------
ERROR: failed to solve: failed to prepare qj3tgpqnlx07aox39967mrekz as ditrch5n9egap3x1eyoh2f8yq: invalid argument
ERROR: Service 'se-server' failed to build : Build failed

Anyone got a hint as to what I can do to fix this or what I am missing?

survaaki avatar Mar 04 '23 07:03 survaaki

I bet the docker compose user doesn't have write permission to the bind mount paths

mmmaxwwwell avatar Mar 04 '23 11:03 mmmaxwwwell

I am running docker-compose as root? Also the error message is rather strange, no indication of a permission problem or anything I can relate to. Sounds like a syntax error the way it says "invalid argument" but the syntax is correct. I'll dig into it to find out if there is some special permission required. Strange that https://github.com/mmmaxwwwell/space-engineers-dedicated-docker-linux/issues/48#issuecomment-1238333801 didn't mention any issue when he ran it.

survaaki avatar Mar 06 '23 04:03 survaaki

Try recursively opening up the permissions on the appdata folder in the repo's root, and see if it works.

mmmaxwwwell avatar Mar 06 '23 04:03 mmmaxwwwell

closing due to inactivity, hope your issue is resolved, feel free to reopen

I pushed a new commit to the v2 branch to get around the mod download issue, please test

mmmaxwwwell avatar May 18 '24 18:05 mmmaxwwwell