Valheim

Valheim

Chackan Feb 9, 2021 @ 6:31am
How to migrate World to dedicated Linux server?
Configured a dedicated Linux server, Ubuntu, in an old PC I had at home.

How to migrate my existing World to dedicated Linux server? Where are the world files in Linux?
< >
Showing 1-10 of 10 comments
Barungar Feb 9, 2021 @ 6:36am 
Installed and running with user "steam", the world data can be found here:

/home/steam/.config/unity3d/IronGate/Valheim/worlds
Chackan Feb 9, 2021 @ 6:50am 
Thanks :)
Chackan Feb 9, 2021 @ 9:29am 
Weird thing, there is no unity3d on the .config folder.

I installed the Dedicated server from the Steam App, and not steamcmd. Is that the problem?
romulus Feb 9, 2021 @ 3:46pm 
Originally posted by Chackan:
Configured a dedicated Linux server, Ubuntu, in an old PC I had at home.

How to migrate my existing World to dedicated Linux server? Where are the world files in Linux?

If you find your answer, let me know. I just spun up a dedicated Linux box and am currently trying to figure out how to get my old local server world migrated to the dedicated remote server.

I already got the files transferred via FTP. They can be found on Windows here:

C:\Users\<user>\AppData\LocalLow\IronGate\Valheim\worlds

I'm exploring the Linux server installation files now, and like you, I am not seeing a unity3d folder.

Will provide updates as I have them.
Frog Feb 9, 2021 @ 3:50pm 
the server uses the same save location as single player, so wherever those are stored in the linux filesystem is where you need to copy your windows saves. maybe start a fresh save on the actual game to see if the unity3d folder gets generated
romulus Feb 9, 2021 @ 4:06pm 
Good call. After starting the server for the first time, I've now found my worlds folder:

/home/<user>/.config/unity3d/IronGate/Valheim/worlds

Now I'm figuring out how to force the server to start using my uploaded/saved world instead of the default.
Kyrandos Feb 10, 2021 @ 12:14am 
Were you able to figure it out? I've got my world file transferred over to C:\Users\User\AppData\LocalLow\IronGate\Valheim\worlds

and my start_headless_server.bat script updated to that filename under both name and world , but I still load into a fresh world on day 1
romulus Feb 10, 2021 @ 6:22am 
Originally posted by Kyrandos:
Were you able to figure it out? I've got my world file transferred over to C:\Users\User\AppData\LocalLow\IronGate\Valheim\worlds

and my start_headless_server.bat script updated to that filename under both name and world , but I still load into a fresh world on day 1

Not yet. I ran into a dead end with Debian because there are a few repos I need from Ubuntu in order for it to work on Linux.

I should have known this, honestly... but stubborn me wanted to expand my horizons with a different Linux distro.

I haven't looked into the Windows version much, but here are a few articles I found on that topic:

https://attackofthefanboy.com/guides/valheim-how-to-easily-setup-a-dedicated-server/
https://www.gamenguides.com/articles/valheim-how-to-setup-dedicated-server-guide-68033
https://www.yekbot.com/valheim-dedicated-game-server-setup-guide/

I'd think there would be something in that .bat file you mentioned that will allow you to specify the location of the world files.
Atrox Feb 12, 2021 @ 11:18am 
I've manage to copy the save, but the server glitches the world. It's a big ocean with trees falling from the sky
Chackan Feb 14, 2021 @ 1:27pm 
Update on my issue, switched to Windows 10 and now everything is working lol

I just couldn't get my World to migrate to the dedicated server. I even deleted the content of /home/<user>/.config/unity3d/IronGate/Valheim/worlds and it would still load that new world instead of my old one.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Feb 9, 2021 @ 6:31am
Posts: 10