-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume not mapping #69
Comments
I didnt find a lot of documentation on the mobile server, so there is a
chance that the mount point is incorrect. I assumed that the file store
would be the same as the normal server. By any chance did you change the
entrypoint to /bin/sh and look for the save file in the container?
…On Tue, Apr 13, 2021 at 2:57 PM laneyweb ***@***.***> wrote:
Hi, thanks for taking the time to create this and to support mobile
server. I am trying to setup a dedicated container to play with my family.
I have lots of other docker containers running well but I'm having issues
with this one.
I can run up the container just fine and the game plays well using the
following command:
sudo docker run -it -p 7777:7777 --rm -v
/volume2/docker/terraria:/root/.local/share/Terraria/Worlds
ryshe/terraria:mobile-latest -world
/root/.local/share/Terraria/Worlds/first.wld -autocreate 1
We can connect from our iPads. However, the issue is that I am not able to
get the world to save to the local mount point. Am I correct in thinking
that the above command should create the config and world file locally in
my /volume2/docker/terraria folder? It does not, I can play OK but no files
are created in that folder.
I have checked the local path (same as I use for other container mount
points) and it is correct and the ownership looks OK.
Can you give me any pointers or suggestions please?
Thank you again.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#69>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB46ERZNTBZWZWHS2RI5DDTTISO2RANCNFSM4237TELA>
.
|
Hi thanks so much for the quick reply! That's a great idea. am I able to change the entrypoint by changing the command I used? Or do I need to change that elsewhere? |
Apologies, I can use Portainer to run a /bi/sh entrypopint console.... I'm off to have a search around. I need to google how to search all folders now :) |
OK. The mobile folder seems to be at:
Now my local mount shows the world and is now persistent - yay. However, the world name created there is |
You're in uncharted territory. I just assume the executable and flags that
work against the regular server work here, and honestly it gets tough
keeping track of the changes the TShock team makes vs the official server
vs mobile server. I'll try and update the docs for mobile on what you
found. Thanks for figuring out! It's a huge help.
…On Tue, Apr 13, 2021 at 3:53 PM laneyweb ***@***.***> wrote:
OK. The mobile folder seems to be at:
/root/.local/share/Terraria/Mobile/Worlds - I have changed my docker
command to:
sudo docker run -it -p 7777:7777 --rm -v
/volume2/docker/terraria:/root/.local/share/Terraria/Mobile/Worlds
ryshe/terraria:mobile-latest -world
/root/.local/share/Terraria/Mobile/Worlds/first.wld -autocreate 1
Now my local mount shows the world and is now persistent - yay.
However, the world name created there is World.wld, not the name I
specified in the docker command. I can live with that of course but it may
cause an issue if we ever need to transfer an existing world to that
location?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB46ER7J22Z6Z4GBLT4MBYLTISVNXANCNFSM4237TELA>
.
|
No worries. Glad to help, thank you for helping me play with my daughters on their iPads. |
Hi, thanks for taking the time to create this and to support mobile server. I am trying to setup a dedicated container to play with my family. I have lots of other docker containers running well but I'm having issues with this one.
I can run up the container just fine and the game plays well using the following command:
sudo docker run -it -p 7777:7777 --rm -v /volume2/docker/terraria:/root/.local/share/Terraria/Worlds ryshe/terraria:mobile-latest -world /root/.local/share/Terraria/Worlds/first.wld -autocreate 1
We can connect from our iPads. However, the issue is that I am not able to get the world to save to the local mount point. Am I correct in thinking that the above command should create the config and world file locally in my /volume2/docker/terraria folder? It does not, I can play OK but no files are created in that folder.
I have checked the local path (same as I use for other container mount points) and it is correct and the ownership looks OK.
Can you give me any pointers or suggestions please?
Thank you again.
The text was updated successfully, but these errors were encountered: