Applicable to:
- SolusVM 2
Symptoms
VPS graphs do not work in SolusVM 2. The following error is displayed at SolusVM 2 > Virtual Servers > VPS > Graph:
SVM_ERROR: Server Error
The following error is displayed in the API container log on SolusVM 2 Management node:
# docker container logs `docker ps| grep solus_api| awk {'print $1'}`
...
production.ERROR: [401] Client error: `POST http://influxdb:8086/api/v2/query?org=solus` resulted in a `401 Unauthorized` response:
{"code":"unauthorized","message":"unauthorized access"}
{"userId":1,"exception":"[object] (InfluxDB2\\ApiException(code: 401): [401] Client error: `POST http://influxdb:8086/api/v2/query?org=solus` resulted in a `401 Unauthorized` response:
{\"code\":\"unauthorized\",\"message\":\"unauthorized access\"}
...
Cause
solus_influxdb container data corrupted.
Resolution
- Connect to SolusVM 2 Management node via SSH
Stop solus_influxdb container:
# docker service scale solus_influxdb=0
Backup current container data:
# mkdir influxdb && mv /usr/local/solus/influxdb/* ./influxdb/
Start the container:
# docker service scale solus_influxdb=1
Comments
Please sign in to leave a comment.