Skip to content
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

Doesn't warn before updating #847

Open
noodohs opened this issue Sep 4, 2017 · 6 comments
Open

Doesn't warn before updating #847

noodohs opened this issue Sep 4, 2017 · 6 comments

Comments

@noodohs
Copy link

noodohs commented Sep 4, 2017

I think I've got everything running pretty well now, but the server does not warn us before kicking us off for updates. Not always a huge deal, but sometimes we are in the middle of fighting an alpha wyvern in the air...

I have the update command specified via cron:

0 * * * * /usr/local/bin/arkmanager update --update-mods --warn --safe

I modified that slightly from what using the install-cronjob command does, thinking that maybe removing @ALL and --cronjob would help (I only run one instance anyway), but it still does not give any warning. In my config, I have the following:

msgWarnUpdateMinutes="This ARK server will shutdown for an update in %d minutes"
msgWarnUpdateSeconds="This ARK server will shutdown for an update in %d seconds"
msgWarnRestartMinutes="This ARK server will shutdown for a restart in %d minutes"
msgWarnRestartSeconds="This ARK server will shutdown for a restart in %d seconds"
msgWarnShutdownMinutes="This ARK server will shutdown in %d minutes"
msgWarnShutdownSeconds="This ARK server will shutdown in %d seconds"
msgWarnCancelled="Restart cancelled by player request"

Am I doing something wrong? I would, ideally, like to also have it wait until everyone has signed off before doing the restart, but at least actually warning us would be a good start.

@klightspeed
Copy link
Collaborator

Please try removing the --safe option.

@noodohs
Copy link
Author

noodohs commented Sep 4, 2017

Will try that. I had added that so that we wouldn't have to worry about being kicked backward in time, but i guess if we are all signed off it might be fine.

@klightspeed
Copy link
Collaborator

If you are concerned, you can use --saveworld, which will explicitly save the world to disk before restarting (rather than relying on a graceful shutdown saving the world).

@IceScriptX
Copy link

IceScriptX commented Sep 16, 2017

I have the same problem and:

[root@h2725656 ~]# su -s /bin/bash steam
[steam@h2725656 root]$ arkmanager status @blueark2
Running command 'status' for instance 'blueark2'
 Server running:   No
 Server listening:   No
 Server build ID:   2120726
[steam@h2725656 root]$ arkmanager start @blueark2
Running command 'start' for instance 'blueark2'
Checking for updates before starting
Checking for update; PID: 23880
Your server is already up to date! The most recent version is 2120726.
The server is now running, and should be up within 10 minutes
[steam@h2725656 root]$ arkmanager update --update-mods --warn @blueark2
Running command 'update' for instance 'blueark2'
Checking for update; PID: 24491
Your server is already up to date! The most recent version is 2120726.
[steam@h2725656 root]$ arkmanager stop --warn @blueark2
Running command 'stop' for instance 'blueark2'
This ARK server will shutdown in 10 minutes
**Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.**
There are -1 players connected
There are -1 players connected
There are -1 players connected
There are -1 players connected
There are -1 players connected
This ARK server will shutdown in 5 minutes
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
There are -1 players connected
This ARK server will shutdown in 4 minutes
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
There are -1 players connected
This ARK server will shutdown in 3 minutes
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
There are -1 players connected
This ARK server will shutdown in 120 seconds
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
There are -1 players connected
This ARK server will shutdown in 90 seconds
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
There are -1 players connected
This ARK server will shutdown in 60 seconds
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
There are -1 players connected
This ARK server will shutdown in 45 seconds
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
There are -1 players connected
This ARK server will shutdown in 30 seconds
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
There are -1 players connected
This ARK server will shutdown in 20 seconds
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
There are -1 players connected
This ARK server will shutdown in 15 seconds
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
This ARK server will shutdown in 10 seconds
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
This ARK server will shutdown in 5 seconds
Error connecting to server: Verbindungsaufbau abgelehnt at -e line 33.
Stopping server; reason: shutdown
The server has been stopped
[steam@h2725656 root]$

An here its crashing. If the crontab starts for update it just stop the server without warning. -.-
*/15 * * * * /usr/local/bin/arkmanager update --warn --saveworld --update-mods @blueark

I cant find a solution. Tool is up to date. All other commands working so far.
Please help...

@klightspeed
Copy link
Collaborator

klightspeed commented Sep 16, 2017

@Aylja your issue is different to that of the OP.

If you look at the output, it is trying to warn, but it looks almost as if you are having the same problem as #849, where the server is binding only to the external IP address.

What are the contents of the arkserver.log file (with any sensitive data masked out), from the last start line to the end?

@IceScriptX
Copy link

IceScriptX commented Sep 17, 2017

i continue in #849

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants