You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a script with rcon-cli to restart the server of minecraft and if i do when mc-backup is working, dont work anymore. When the server is up again cant connect so i restart both at once or only the mc-backup container when mc server is UP.
output='2022/09/01 16:37:51 Failed to connect to RCON serverdial tcp: lookup mc on 127.0.0.11:53: read udp 127.0.0.1:43190->127.0.0.11:53: read: connection refused '
log ERROR 'Unable to execute rcon-cli save-on - try 0/infinite. Retrying in 10s'
A dns error on the same machine? What could be the solution?
The thing is that I use your rcon client to restart the server periodically and I have noticed that after each restart the mc-backups container remained stopped. I had thought about forcing the automatic start but it would create a backup every day after the reboot
Docker is providing DNS internally to resolve service names to container IP address. Google for that particular symptom to look for solutions.
The docs say to set RCON_RETRIES to a negative value to have it retry indefinitely, if you're wanting to prevent the container from stopping on failures.
I use a script with rcon-cli to restart the server of minecraft and if i do when mc-backup is working, dont work anymore. When the server is up again cant connect so i restart both at once or only the mc-backup container when mc server is UP.
Here is the debug:
�
�
5
�
5
�
e
�
e
++ type -t tar
++ printf %s '*.jar,cache,logs'
++ type -t init
�
e
2022-09-01T16:35:51+0200 INFO waiting initial delay of 2m...
�
e
2022-09-01T16:37:51+0200 INFO waiting for rcon readiness...
�
2
�
++ timeout --signal=SIGINT --kill-after=30s 5m rcon-cli save-on
++ tr '\n' '\t'
�
e
2022-09-01T16:37:51+0200 ERROR Unable to execute rcon-cli save-on - try 0/infinite. Retrying in 10s
...
The text was updated successfully, but these errors were encountered: