title: Loki: Internal Server Error. 500. table loki_index2711 does not exist
body: <p>The above error is received when adding Loki as a data source for Grafana. Loki is deployed using values.yaml after changing the following sections.</p>
  <pre><code>schema_config:
  configs:
  - from: 2021-10-24
    store: cassandra
    object_store: cassandra
    schema: v11
    index:
      prefix: loki_index
      period: 168h
    chunks:
      prefix: chunk
      period: 168h
  server:
    http_listen_port: 3100
  storage_config:
    Cassandra:
      addresses: cassandra.loki.svc.cluster.local:9042                                                                                                                                                                   
      auth: true
      username: Cassandra
      password: Cassandra
      keyspace: loki
  chunk_store_config:
    max_look_back_period: 0
  table_manager:
    retention_deletes_enabled: true
    retention_period: 168h
  </code></pre>
  <p>Promtail is deployed using the following command.</p>
  <pre><code>helm upgrade promtail1 --namespace=loki grafana/promtail  --set config.lokiAddress=http://loki1.loki:3100/loki/api/v1/push
  </code></pre>
  <p>Cassandra contains only the loki keyspace (without tables or indexes).</p>
  <p>Any help on this is appreciated.</p>
  <p>Thanks.</p>