Articles in this section

VPS graphs do not work in SolusVM 2: Server Error

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

  1. Connect to SolusVM 2 Management node via SSH
  2. Stop solus_influxdb container:

    # docker service scale solus_influxdb=0

  3. Backup current container data:

    # mkdir influxdb && mv /usr/local/solus/influxdb/* ./influxdb/

  4. Start the container:

    # docker service scale solus_influxdb=1

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.