hytale-docker icon indicating copy to clipboard operation
hytale-docker copied to clipboard

Unraid - Can't send commands to console

Open JamesSouthon opened this issue 10 months ago • 4 comments

Continuing on from this

I've been going nuts trying to get this to /auth properly with unraid

A friend and I figured that pkilling the instance and manually running - java -jar HytaleServer.jar --assets /hytale/Assets.zip < /dev/tty works but is extremely annoying.

Seems as though it's not actually sending the commands to the hytale console (on Unraid) at the moment.

Any help would be great! Cheers

Unraid 7.2.3

JamesSouthon avatar Jan 14 '26 10:01 JamesSouthon

Hey, the Docker-Page in Unraid when clicking on Console seems to be spawning a new Shell cause they run "docker exec -it ..." As a workaround you can open the regular Terminal (top-right) and run docker attach CONTAINER_NAME

Not yet sure if i can control that so unraid also runs attach

Slowline avatar Jan 14 '26 11:01 Slowline

Hey I have managed to get it all runing on Unraid. What you have to do is set the console from shell to bash in the container properties. (Dont forget to add /etc/machine-id path as read only in the container properties.) Then launch the console while the container is running and run the start.sh script manually (doesn't matter if the server is already running, it will create a second session). There you can do the auth stuff and make it persistant. After that you can restart the container and authentication should work and stick.

BiosmanTM avatar Jan 14 '26 19:01 BiosmanTM

Hey, the Docker-Page in Unraid when clicking on Console seems to be spawning a new Shell cause they run "docker exec -it ..." As a workaround you can open the regular Terminal (top-right) and run docker attach CONTAINER_NAME

Not yet sure if i can control that so unraid also runs attach

Ah probably should have mentioned, that doesn't work either. No worries.

Hey I have managed to get it all runing on Unraid. What you have to do is set the console from shell to bash in the container properties. (Dont forget to add /etc/machine-id path as read only in the container properties.) Then launch the console while the container is running and run the start.sh script manually (doesn't matter if the server is already running, it will create a second session). There you can do the auth stuff and make it persistant. After that you can restart the container, and authentication should work and stick.

Will give this a go cheers.

JamesSouthon avatar Jan 14 '26 20:01 JamesSouthon

Probably missed something but just ran the below to run and auth the server. All good now.

cd /hytale wget -O start.sh https://raw.githubusercontent.com/Slowline/hytale-docker/main/start.sh chmod +x start.sh bash ./start.sh

JamesSouthon avatar Jan 14 '26 22:01 JamesSouthon