I got this error:
/usr/local/hestia/func/remote.sh: line 42: return: Error:: numeric argument required
Error: api connection to slave.mydomain.com failed
But my input is exactly as it should according to the official documentation and according to the internal manual that I made when I first set this up.
I logged into the slave server and changed the login screen to the old version at 13:30 approx.
I see all services in green in the slave server and the dns zones have not been erased.
The logs say:
13:40:35System System configuration value changed (Key: API_ALLOWED_IP, Value: ). 13:40:35System System configuration value changed (Key: LOGIN_STYLE, Value: old).
13:40:35System System configuration value changed (Key: POLICY_SYSTEM_HIDE_ADMIN, Value: no).
13:40:35System System configuration value changed (Key: POLICY_USER_CHANGE_THEME, Value: yes).
13:40:34System System configuration value changed (Key: POLICY_USER_VIEW_SUSPENDED, Value: ).
13:40:34System System configuration value changed (Key: POLICY_USER_VIEW_LOGS, Value: yes).
13:40:34System System configuration value changed (Key: POLICY_USER_EDIT_WEB_TEMPLATES, Value: yes).
13:37:20System Rebuilt DNS domain (User: dns-cluster, Domain: xxxxxxxxxxxxxxxxx.com).
Set the ip of the master then… We have limited access of the api by default only to “local” ip instead the currently full open. Normally it should contain an ip or “allow-all”
Sorry @eris but I don’t understand.
Where should I set up the IP of the master?
The v-generate-api-key doesn’t allow an IP parameter.
The error in the $HESTIA/bin/v-add-remote-dns-host slave.mydomain.com 8083 XXXXX_API_KEY_XXXXXX command looks like a parsing error of the /func/remote.sh to me