Unraid - Can't send commands to console
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
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
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.
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_NAMENot 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.
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