Code Monkey home page Code Monkey logo

Comments (12)

mbround18 avatar mbround18 commented on May 21, 2024

On your host what are the permissions of ./valheim/saves and ./valheim/server ? also as per my reply whats your user and group id? if they are not 1000 you need to supply them as environment variables.

from valheim-docker.

AtroposOrbis avatar AtroposOrbis commented on May 21, 2024

So those are required now? In the documentation here (below) it says that they are not required.
image

Should I create the saves & server directories prior to running docker-compose up?

from valheim-docker.

mbround18 avatar mbround18 commented on May 21, 2024

I should be more clear in the documentation, they are required if your user and group ID are not 1000.

from valheim-docker.

AtroposOrbis avatar AtroposOrbis commented on May 21, 2024

@mbround18 I supplied the ID of 0/0 as I'm logged in as root. Alas, the error still occurs. Status code 8 still.

from valheim-docker.

mbround18 avatar mbround18 commented on May 21, 2024

might I suggest you create a non root user, add them to the docker group, then run the docker compose as that user? It is a massive security risk to run as root.

from valheim-docker.

AtroposOrbis avatar AtroposOrbis commented on May 21, 2024

might I suggest you create a non root user, add them to the docker group, then run the docker compose as that user? It is a massive security risk to run as root.

This is just a quick VPS so I wasn't looking to create something secure right now. Just to get the server running to verify that this container works. Does it require this step then? If so I'll try creating a user now....

from valheim-docker.

mbround18 avatar mbround18 commented on May 21, 2024

Yesss!!! Lol this container is designed to be run on a non root user :P that is best practice when it comes to docker and I don't just highly recommend it, it is needed! 💯

from valheim-docker.

AtroposOrbis avatar AtroposOrbis commented on May 21, 2024

T_T Alright. I'll get the commands in place and then post them here for you to hopefully add to the guide for others.

from valheim-docker.

AtroposOrbis avatar AtroposOrbis commented on May 21, 2024

@mbround18 still getting the same error... :(
image

from valheim-docker.

mbround18 avatar mbround18 commented on May 21, 2024

Is this steam user in the docker group? (In order to spin up the compose)

Sometimes docker compose has funky permissions and it's dependant on how you set it up. You can try, as the steam user, creating those directories on your host.

from valheim-docker.

AtroposOrbis avatar AtroposOrbis commented on May 21, 2024

Is this steam user in the docker group? (In order to spin up the compose)

Sometimes docker compose has funky permissions and it's dependant on how you set it up. You can try, as the steam user, creating those directories on your host.

I did docker and then full perms and still no luck. I'll just going to nuke the vds and start from scratch today. -_-

from valheim-docker.

mbround18 avatar mbround18 commented on May 21, 2024

Best of luck! Let me know how it goes

from valheim-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.