Comments (12)
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.
So those are required now? In the documentation here (below) it says that they are not required.
Should I create the saves & server directories prior to running docker-compose up
?
from valheim-docker.
I should be more clear in the documentation, they are required if your user and group ID are not 1000.
from valheim-docker.
@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.
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.
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.
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.
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.
@mbround18 still getting the same error... :(
from valheim-docker.
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.
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.
Best of luck! Let me know how it goes
from valheim-docker.
Related Issues (20)
- Not able to see BepInEx overlay in game when using TYPE=BepInEx HOT 2
- Can't start container due to lack of network. HOT 4
- How to debug container 'unhealthy'
- Daily saves clean up HOT 2
- Stop messages are not being sent to webhook HOT 5
- First start have failed HOT 3
- World save is not triggered on container stop HOT 10
- [BUG] "TZ" variable only changes the name of the timezone and not the time. HOT 9
- [ODIN] add preset/modifiers
- Cannot connect anymore since latest update (2023-Oct-11) HOT 7
- resource modifier help HOT 5
- cannot install bepinex using TYPE env variable HOT 5
- Requesting help,I created a container using the container,but it indicates that it is unhealthy and unable to connect. HOT 4
- On a fresh install, there is no longer a `/home/steam/valheim/unstripped_corlib`. This makes Odin think BepInEx is not installed and start the server without it. A workaround is to create it as an empty directory (`./valheim/server/unstripped_corlib`).
- Incompatible version error HOT 5
- Getting two Stop messages for server in Discord using webhook and auto restart scheduler HOT 1
- AppID Changed
- Execing into docker fails with odin commands
- Non-Existent Cron Directory Causing Auto-Backup to Not Trigger
- Weird permission issues because PUID/PGID is being ignored I think? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valheim-docker.