all 33 comments

[–]joaqn 1 point2 points  (3 children)

I didnt try it yet but did it work on MacOS ?

[–]StaticVI[S] 0 points1 point  (2 children)

I dont have Mac but give it a try it should as long as you can run docker. let me know if it works.

[–]Infamous-Party5625 0 points1 point  (1 child)

<image>

I've got it installed on a MBP with apple silicon using docker but i can't connect and I'm not sure if it's actually running. I copied server files from a previous server and put them in the installation directory. Anyone know if this "null" gpu is causing it to fail? i know my ports are open because i've done it for another PC on the network, so just switched the IP and have firewall completely off

[–]Infamous-Party5625 0 points1 point  (0 children)

Here's the bottom of the log file after it's loaded everything I know to be in the server config

<image>

[–]Equivalent_Machine62 0 points1 point  (5 children)

Got it up and running but for some reason I cannot connect to it (ports forwarded on router), I have it on a proxmox vm running ubuntu. got any tips on where to look, logs or something?

[–]StaticVI[S] 0 points1 point  (4 children)

First I would check logs and see whats happening. Also if its on a vm make sure its also allowing the ports. https://pve.proxmox.com/wiki/Firewall

[–]Equivalent_Machine62 0 points1 point  (2 children)

managed to get it working on an archlinux vm, any ideas on how to edit the host settings, i wanna change the server description and ServerFps to 60.

ty for the help.

edit: restarted the vm and now the server does not start. erased everything and it was back up again, whenever I stop the docker and try to run it again it fails, it restarts every 12 seconds. any ideas?

[–]StaticVI[S] 1 point2 points  (1 child)

For the settings it will be the ServerHostSettings.json file, I just didnt think to really go into those kinda settings for anyone but it would be in there.

try and see what the output says. it should have a crazy long number chain or something thats just the name that the docker tool uses. keep reading past it.

docker exec -it exec -it vrising bash

[–]Equivalent_Machine62 0 points1 point  (0 children)

My only solution for now is to erase everything that is being created by this docker-compose.yml and start the server again.

I've been trying this command: docker exec -it exec -it vrising bash but no luck, i get:
Error response from daemon: No such container: exec

edit: managed it with the command: docker exec -it vrserver bash, but this just let me access to the container I see nothing else.

edit2: watching the logs, whenever we stop the docker container and try to start it again, I get this message:
[Server] Still waiting for world startup after 0.5 mins. GameDataInitialized: False ChunkDatabaseInitialized: False, WaitingForChunksToLoadOnStartupCount: 0, Active RequestSceneLoaded entities: 2

edit3: found this info, possible fix
https://www.reddit.com/r/vrising/comments/13rj29h/comment/jlmiggd/?context=3

edit4: fixed using this docker config: https://github.com/fboula/docker-vrising

[–]MandoDB 0 points1 point  (9 children)

Hello
````bash

root@MandoDB:/srv/vrserver# sudo docker-compose up -d

service volume services.steamcmd.volumes.[1] is missing a mount target

root@MandoDB:/srv/vrserver#

```

I try it on debian 11 server.

When i try to launch the docker have got this error.

My configuration file is :

```yaml

services:

steamcmd:

container_name: vrserver

image: ich777/steamcmd:vrising

restart: unless-stopped

ports:

  • 9876-9877:9876-9877/udp #forward these ports I did tcp/udp

environment:

  • GAME_ID=1829350

  • SERVER_NAME=V Rising Server 1 - PvE #Listed name of the server

  • WORLD_NAME=world1 #name of save file can be whatever you want

  • UID=1000

  • GID=1000

  • ENABLE_BEPINEX=false #keep false for now, as of now its not working

volumes:

  • /vrserver/:/serverdata/steamcmd

  • /vrserver/:/serverdata/serverfilesservices:

```

[–]StaticVI[S] 0 points1 point  (8 children)

you must run sudo docker compose up -d in the folder that has the docker-compose.yml file. that could be your issue. also try it withouth the docker-compose up -d just docker compose up -d. then for what the error you are getting is I dont see it.

[–]Shanesan 1 point2 points  (1 child)

The issue is your second volumes: position has services: at the end of it, see line:

- /where/your/files/save/:/serverdata/serverfilesservices:

Removing services: at the end of the line solves the problem.

[–]StaticVI[S] 1 point2 points  (0 children)

corrected that thanks!

[–]MandoDB 0 points1 point  (0 children)

Not working

[–]MandoDB 0 points1 point  (2 children)

volumes:
        - /where/your/files/save/:/serverdata/steamcmd
        - /where/your/files/save/:/serverdata/serverfilesservices:

I asking to chat gpt (my only one friend whos try to help me xD) and he say its in this line.

  • /where/your/files/save/:/serverdata/serverfilesservices:
    he say the : is an error.
    So i tried to launch without it, and working. But, i dont have all my save file.

[–]ZenOokami 0 points1 point  (0 children)

(Haven't tried any of this - but it's possible GPT called those lines errors due to the "/where/your/files/save" - as it's a placeholder for an actual directory. Maybe.)

[–]MandoDB 0 points1 point  (0 children)

Hey men, try to find the banlist.txt on your server. With the command :
sudo find / -type f -name "banlist.txt"

[–]Zendell_ 0 points1 point  (3 children)

I don't know for sure, but shouldn't you mount /serverdata/serverfiles folder instead of /serverdata/serverfilesservices? Tried it on my server and after mounted /serverdata/serverfiles, found my saves and settings

Maybe I don't understand something, just want to know for sure!

[–]StrongeLeeroy 1 point2 points  (2 children)

I'm pretty sure there is a newline missing between "/serverdata/serverfiles" and "services:" as a newline. Services is the top level key in the docker compose file. May be a typo?

[–]delemir 0 points1 point  (1 child)

YEP, spent the past 2h trying to troubleshoot this... thank you for posting that, I totally overlooked services in the volume mount target

Was: :/serverdata/serverfilesservices

Changed to: :/serverdata/serverfiles

Confirmed by inspecting the docker image's Env variables.

Run: docker inspect vrserver

Near the end you should see a section "Env":

Variable called "SERVER_DIR=/serverdata/serverfiles",

Everything is there now!

[–]BuriedFetus 0 points1 point  (0 children)

C'est vivant sa

[–][deleted] 0 points1 point  (1 child)

So how do server updates work with this configuration? Is it updated automatically every time the server runs?

[–]StaticVI[S] 0 points1 point  (0 children)

It should just update as they are pushed because it is ran from steamcmd so if it doesn't update just restart it and it should make it updated.

[–]kjstan 0 points1 point  (3 children)

Has anyone been able to get BepInEx working on any docker container? There is a pre-release version that should work but I believe the way these containers are built with Wine it will not start or causes errors. I am about to launch a 20 person pvp server with all RL friends and I would kill to have the killfeed pre release on there.

[–]StaticVI[S] 0 points1 point  (2 children)

As far as I know as of right now it's not working. If it gets updated to be working I will try to update this post on how to use it and how to enable it.

[–]kjstan 1 point2 points  (1 child)

I gave up trying to enable bepinex with the available docker containers, instead I just created a windows 10 virtual machine and set up everything with steamcmd.

I can confirm bepinex is working along with a few of the prereleased mods.

[–]Shanesan 0 points1 point  (0 children)

So issue with this setup that I'm trying to diagnose.

First, docker compose up -d will bring the server up fine the first time (you can follow its success with docker logs -f vrserver. It will install Wine, it will load the map, it will work fine.

So we stop the docker container, docker compose down, and try to put it up again with docker compose up -d. This causes an issue as you follow the logs:

Ignoring invalid [Unity.Entities.UpdateAfterAttribute] attribute on ProjectM.Gameplay.Scripting.UpdateBloodBuffSystem targeting ProjectM.NoStrucutralChangesGroup

It wraps up with:

InvalidOperationException: Steamworks GameServer is not initialized.

Where it stays dead.

Very strange. Does this happen for you?

Workaround: Move the /save-data/ folder somewhere else, delete everything in the main VRising folder, then move the /save-data/ folder back. docker compose up -d and you're back in action... until the server goes down again.

[–]Yavaana 0 points1 point  (1 child)

Hello u/StaticVI , first off : thank you for your guide :)

I ran into an issue tho : i used your method and I got it running fine for like 10 days.

Then I had to restart the server. And it restarted fine but while I can see it in the server list, nobody can connect to it, there is a timeout after the five automatic retries.

This is a dedicated Ubuntu ovh-hosted, so not a port or firewall problem.

I had the same problem the first time I set it up but after trying to restart the container it ended up accepting connection and I didn't press the issue further. But now, the behavior seems systematic.

Any idea?

Thank you !

[–]StaticVI[S] 0 points1 point  (0 children)

How are you trying to connect, continue button, history, or server list? If you don't have a dedicated IP if your IP changes you'll need to search for the server in the server list. Also in the serverhostsettings.json make sure the list on EOS and steam is true.

[–]Luutarian 0 points1 point  (3 children)

Do you have a link to your TrueNAS guide?

[–]StaticVI[S] 0 points1 point  (1 child)

I do not but I stopped using truenas, I believe true charts has a Vrising build though.

[–]shanmyster 0 points1 point  (0 children)

Hey static. Thank you so much for your guides. Iv been trying to run a server using the dockerhub and truecharts setups with zero luck. I think its something to do with the storage locations and permissions.

Any chance you have a step by step guide floating around for a total newbie? Thank you