ryansheehan / terraria

Dockerfile for terraria
MIT License
291 stars 104 forks source link

Can't find world -wld- file location #159

Open bobbybob91 opened 11 months ago

bobbybob91 commented 11 months ago

Hello,

I have been running a terraria server on my synology nas for the past weeks. It works great but I can't find the world file.

I have specified WORLDPATH=/worlds and mounted the appropriate folder but there is nothing inside.

The backups are in the /config folder and it looks like it's working but I can't file the world file.

Am I missing something?

SirMonkeyBoy commented 11 months ago

can you send logs and your start command or compose file

bobbybob91 commented 11 months ago

Hello,

Thank you for your reply.

I am pretty new to all of this so I'm not sure what it is that you are requesting.

I have exported what looks like a journal log. (find attached)

The only folders I have on the NAS are the /config and /worlds folders that I have created. I can't have access to anything else.

I can see in the journal that docker is looking for worlds in the root folder but I can't access it and I don't even know where it is stored.

I tried the "worldpath" and "WORLD_FILENAME" command in ENVIRONMENTS but it's not taken into account.

journal logs.pdf

SirMonkeyBoy commented 11 months ago

can you send very thing in your commands environments

bobbybob91 commented 11 months ago

Sure. here is a screenshot.

I tried WORLDPATH, WORLDSELECTPATH, and WORLD commands and everytime I try it nothing shows up in the journal. Like it's not taken into account.

environment

bobbybob91 commented 11 months ago

I have tried to fill the WORLD_FILENAME name environment too but it crashes everytime. crashlog

SirMonkeyBoy commented 11 months ago

did you have a world in it

bobbybob91 commented 11 months ago

yes.

I tried putting the world file in /config and / world just to try it and it always crashes.

bobbybob91 commented 11 months ago

By the looks of it, the worldpath variable is never used and the server always looks for the world file in root/.local.share/terraria/worlds

The problem is that on the NAS this folder is apparently not accessible or even visible.

SirMonkeyBoy commented 11 months ago

k that sound about right

bobbybob91 commented 11 months ago

It does?

I'm obviously missing something but I don't know what it is since the WORLDPATH environment doesn't work.

SirMonkeyBoy commented 11 months ago

wait my world files just in the /root/.local/share/Terraria/Worlds that puts my world and config in that same thing

bobbybob91 commented 11 months ago

I'm not sure I understand. Are you able to access that root folder?