Error when trying to start a server on Oracle Cloud ARM instance VPS
Startup Issue🌍Multiplayer Issue
I use an Oracle Cloud ARM instance VPS for a Minecraft server, and I've been trying to get a Terraria server set up as well. I heard Terraria/tModLoader doesn't run on ARM cpus, but then I heard that ARM support was recently added. I found this while searching, and have been following the guide to set it up: https://github.com/cubebuc/tmodloader-docker I was following the setup guide, but then encountered an error. After doing
docker attach tml
docker attach tml
and pressing enter, I got this error:
Access to the path '/app/data/tModLoader' is denied. (see server.log for full trace)tModLoader v2025.9.3.3 ErrorMain engine crashSystem.UnauthorizedAccessException: Access to the path '/app/data/tModLoader' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.FileSystem.CreateParentsAndDirectory(String fullPath, UnixFileMode unixCreateMode) at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode) at System.IO.Directory.CreateDirectory(String path) at Terraria.ModLoader.Core.ModOrganizer.FindAllMods() in tModLoader\Terraria\ModLoader\Core\ModOrganizer.cs:line 67 at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 125 at Terraria.ModLoader.ModLoader.Reload() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 228 at Terraria.Main.DedServ() in tModLoader\Terraria\Main.cs:line 4758 at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 264A server.log file containing error information has been generated in/app/tModLoader-Logs(You will need to share this file if asking for help)
Access to the path '/app/data/tModLoader' is denied. (see server.log for full trace)tModLoader v2025.9.3.3 ErrorMain engine crashSystem.UnauthorizedAccessException: Access to the path '/app/data/tModLoader' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.FileSystem.CreateParentsAndDirectory(String fullPath, UnixFileMode unixCreateMode) at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode) at System.IO.Directory.CreateDirectory(String path) at Terraria.ModLoader.Core.ModOrganizer.FindAllMods() in tModLoader\Terraria\ModLoader\Core\ModOrganizer.cs:line 67 at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 125 at Terraria.ModLoader.ModLoader.Reload() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 228 at Terraria.Main.DedServ() in tModLoader\Terraria\Main.cs:line 4758 at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 264A server.log file containing error information has been generated in/app/tModLoader-Logs(You will need to share this file if asking for help)
I've attached the server.log file. I'm not sure how to fix this error. I posted this error on the github, and decided to post it here too in case someone can help.