# Gitea-1.16.0: Unable to find configuration file

**URL:** <https://forum.gitea.com/t/gitea-1-16-0-unable-to-find-configuration-file/4543>\
**Category:** Install/Maintain/Configure\
**Created:** [February 1, 2022, 11:09am UTC](https://forum.gitea.com/t/gitea-1-16-0-unable-to-find-configuration-file/4543 "2022-02-01T11:09:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![viceice](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/viceice/32/1104_2.png) [@viceice](https://forum.gitea.com/u/viceice)\
**Post date:** [February 1, 2022, 11:09am UTC](https://forum.gitea.com/t/gitea-1-16-0-unable-to-find-configuration-file/4543/1 "2022-02-01T11:09:30Z")

</div>

I’m trying to upgrade my gitea to v1.16, running the official helm chart v5.0.1.

When updating the image i get this error

```auto
==== BEGIN GITEA CONFIGURATION ====
2022/02/01 09:02:51 ...s/setting/setting.go:543:SetCustomPathAndConf() [W] Using 'custom' directory as relative origin for configuration file: '/data/gitea/"/etc/gitea/app.ini"'
2022/02/01 09:02:51 ...s/setting/setting.go:543:SetCustomPathAndConf() [W] Using 'custom' directory as relative origin for configuration file: '/data/gitea/"/etc/gitea/app.ini"'
2022/02/01 09:02:51 ...s/setting/setting.go:583:loadFromConf() [F] Unable to find configuration file: "/data/gitea/\"/etc/gitea/app.ini\"".
	Ensure you are running in the correct environment or set the correct configuration file with -c.

```

See also [#287 - [Gitea 1.16.0] Unable to find configuration file - helm-chart - Gitea: Git with a cup of tea](https://gitea.com/gitea/helm-chart/issues/287)

---

<div class="post-metadata">

**Author:** ![viceice](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/viceice/32/1104_2.png) [@viceice](https://forum.gitea.com/u/viceice)\
**Post date:** [February 1, 2022, 11:20am UTC](https://forum.gitea.com/t/gitea-1-16-0-unable-to-find-configuration-file/4543/2 "2022-02-01T11:20:05Z")

</div>

Looks like [Use shadowing script for docker by zeripath · Pull Request #17846 · go-gitea/gitea · GitHub](https://github.com/go-gitea/gitea/pull/17846) is not respecting `GITEA_APP_INI` environment

---

<div class="post-metadata">

**Author:** ![viceice](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/viceice/32/1104_2.png) [@viceice](https://forum.gitea.com/u/viceice)\
**Post date:** [February 1, 2022, 11:48am UTC](https://forum.gitea.com/t/gitea-1-16-0-unable-to-find-configuration-file/4543/3 "2022-02-01T11:48:10Z")

</div>

[#289 - Explicit pass config file via cli - helm-chart - Gitea: Git with a cup of tea](https://gitea.com/gitea/helm-chart/pulls/289) should fix the issue
