# Accessing "all.yaml"

**URL:** <https://community.replicated.com/t/accessing-all-yaml/950>\
**Category:** Troubleshooting\
**Created:** [September 5, 2022, 6:36am UTC](https://community.replicated.com/t/accessing-all-yaml/950 "2022-09-05T06:36:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![roderik](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/roderik/32/570_2.png) [@roderik](https://community.replicated.com/u/roderik)\
**Post date:** [September 5, 2022, 6:36am UTC](https://community.replicated.com/t/accessing-all-yaml/950/1 "2022-09-05T06:36:21Z")

</div>

the Loki chart was updated to v3.0.0 and won’t apply

```auto
Error: parse error at (observability/charts/loki/templates/all.yaml:95): unexpected "{" in command

```

Now I do not have any values with a { in it, so I want to figure out what is on line 95 of all.yaml. But this file is nowhere to be found in the kotsadm ui.

Any idea where I could see this file, maybe shelled into the kotsadm container?

---

<div class="post-metadata">

**Author:** ![jdewinne](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/jdewinne/32/152_2.png) [@jdewinne](https://community.replicated.com/u/jdewinne)\
**Post date:** [September 6, 2022, 8:45pm UTC](https://community.replicated.com/t/accessing-all-yaml/950/2 "2022-09-06T20:45:03Z")

</div>

@roderik The `all.yaml` is probably a temporary file (being put in some temporary directory under `/tmp/kotsadm*/`  
Can you share a reference to the actual loki chart you used?

---

<div class="post-metadata">

**Author:** ![roderik](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/roderik/32/570_2.png) [@roderik](https://community.replicated.com/u/roderik)\
**Post date:** [September 6, 2022, 10:01pm UTC](https://community.replicated.com/t/accessing-all-yaml/950/3 "2022-09-06T22:01:51Z")

</div>

> **[loki/production/helm/loki at main · grafana/loki](https://github.com/grafana/loki/tree/main/production/helm/loki)**
>
> main/production/helm/loki

```auto
      persistence:
        enabled: true
        size: '{{repl ConfigOption "loki_disk_size"}}'
      serviceMonitor:
        enabled: true

```

---

<div class="post-metadata">

**Author:** ![dmitriy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/dmitriy/32/16_2.png) [@dmitriy](https://community.replicated.com/u/dmitriy)\
**Post date:** [September 9, 2022, 11:35pm UTC](https://community.replicated.com/t/accessing-all-yaml/950/4 "2022-09-09T23:35:42Z")

</div>

@roderik on the View Files tab, there is a link to get the download command. If you run that, you will get the files that you can then pass through kustomize

```bash
kubectl kots download --namespace <namespace> --slug <appslug>
...
The application manifests have been downloaded and saved in <some location>
...

```

Then `kustomize build` _should_ produce the same or very similar file

```auto
kustomize build <path to chart>

```

Path to chart will look something like this (from your current directory): `./<appslug>/overlays/downstreams/this-cluster/charts/<chart name>`

If you have multiple nested charts, the path will be deeper.

If lines don’t match exactly, look for stray `{` characters.

---

<div class="post-metadata">

**Author:** ![jdewinne](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/jdewinne/32/152_2.png) [@jdewinne](https://community.replicated.com/u/jdewinne)\
**Post date:** [September 10, 2022, 1:06am UTC](https://community.replicated.com/t/accessing-all-yaml/950/5 "2022-09-10T01:06:15Z")

</div>

I’m not sure yet, but the `ConfigMap`’s for the [dashboards](https://github.com/grafana/loki/tree/main/production/helm/loki/templates/monitoring/dashboards) are looking to contain a lot of `json` data. Maybe if you leave those out (at first), it might help to identify which template is causing it.
