# Ui not working on new install

**URL:** <https://forum.gitea.com/t/ui-not-working-on-new-install/1946>\
**Category:** Install/Maintain/Configure\
**Created:** [February 22, 2020, 8:34pm UTC](https://forum.gitea.com/t/ui-not-working-on-new-install/1946 "2020-02-22T20:34:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![natelandau](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/natelandau/32/4900_2.png) [@natelandau](https://forum.gitea.com/u/natelandau)\
**Post date:** [February 22, 2020, 8:34pm UTC](https://forum.gitea.com/t/ui-not-working-on-new-install/1946/1 "2020-02-22T20:34:20Z")

</div>

most likely a very simple issue but I’m wracking my brain trying to figure this out. I have just installed Gitea for the first time and I can’t get the ui to function. I am seeing template variables on the page and none of the drop-downs work.

Install info:

- mariaDB running on different host (connection is tested and admin user created via CLI)
- gitea running in docker on a RaspberryPi cluster controlled by Nomad
- Reverse proxy is Traefik v2.1

Screenshot of what I’m seeing

 ![Screen Shot 2020-02-22 at 3.29.07 PM](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/1X/3d912738ce8364341700d8b598ccff1b1dbaec21.png)

config file

```
APP_NAME = natelandau git
RUN_MODE = prod
RUN_USER = git

[repository]
ROOT = /data/git/repositories

[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo

[repository.upload]
TEMP_PATH = /data/gitea/uploads

[server]
APP_DATA_PATH = /data/gitea
SSH_DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://git.[redacted].com/
DISABLE_SSH = false
SSH_PORT = 22
SSH_LISTEN_PORT = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = /data/git/lfs
DOMAIN = git.[redacted].com
LFS_JWT_SECRET = 3dJI1uDftPI1ARYiPbGUboXacRBbM_cUPvaWm3TO0cA
OFFLINE_MODE = false

[database]
PATH = /data/gitea/gitea.db
DB_TYPE = mysql
HOST = mariaDB.service.consul:3306
NAME = giteadb
USER = gitea
PASSWD = [redacted]
SSL_MODE = disable
CHARSET = utf8

[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve

[session]
PROVIDER_CONFIG = /data/gitea/sessions
PROVIDER = file
```

---

<div class="post-metadata">

**Author:** ![jolheiser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/jolheiser/32/4807_2.png) [@jolheiser](https://forum.gitea.com/u/jolheiser)\
**Post date:** [February 23, 2020, 12:40am UTC](https://forum.gitea.com/t/ui-not-working-on-new-install/1946/2 "2020-02-23T00:40:10Z")

</div>

Looks like JS/CSS aren’t loading. In your screenshot you access it with an IP, but the config has domains set. Do those actually resolve? If not, I think that may be the issue.

---

<div class="post-metadata">

**Author:** ![natelandau](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/natelandau/32/4900_2.png) [@natelandau](https://forum.gitea.com/u/natelandau)\
**Post date:** [February 23, 2020, 1:23am UTC](https://forum.gitea.com/t/ui-not-working-on-new-install/1946/3 "2020-02-23T01:23:01Z")

</div>

yeah. they resolve. see the same thing from that url. gonna play with the domains/IPs and see if that gets it going. thanks for pointing me in a direction.

---

<div class="post-metadata">

**Author:** ![natelandau](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/natelandau/32/4900_2.png) [@natelandau](https://forum.gitea.com/u/natelandau)\
**Post date:** [February 23, 2020, 2:20am UTC](https://forum.gitea.com/t/ui-not-working-on-new-install/1946/4 "2020-02-23T02:20:52Z")

</div>

okay. the plot thickens. you were correct that certain files were not loading but it appears to be inconsistent.

these load fine:

`/vendor/plugins/codemirror/addon/mode/loadmode.js`  
`/serviceworker.js`

while these give a 404

`/js/index.js`  
`/js/gitgraph.js`  
`/css/index.css`

I’m unclear on why certain directories will resolve in the browser while others won’t when they are all relative paths…is it possible something went wrong when the docker container is built?

---

<div class="post-metadata">

**Author:** ![jolheiser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/jolheiser/32/4807_2.png) [@jolheiser](https://forum.gitea.com/u/jolheiser)\
**Post date:** [February 23, 2020, 3:53am UTC](https://forum.gitea.com/t/ui-not-working-on-new-install/1946/5 "2020-02-23T03:53:59Z")

</div>

That could be. The first three are all pre-compiled so to speak, whereas the latter three are built by less/webpack, so they may not actually exist if they were never built.

---

<div class="post-metadata">

**Author:** ![jolheiser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/jolheiser/32/4807_2.png) [@jolheiser](https://forum.gitea.com/u/jolheiser)\
**Post date:** [February 23, 2020, 3:55am UTC](https://forum.gitea.com/t/ui-not-working-on-new-install/1946/6 "2020-02-23T03:55:26Z")

</div>

I thought our docker images would have those files, though…  
Are you using one of our images or other?

---

<div class="post-metadata">

**Author:** ![natelandau](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/natelandau/32/4900_2.png) [@natelandau](https://forum.gitea.com/u/natelandau)\
**Post date:** [February 23, 2020, 3:31pm UTC](https://forum.gitea.com/t/ui-not-working-on-new-install/1946/7 "2020-02-23T15:31:34Z")

</div>

unfortunately, I need a build for Arm7. the Arm64 tags of the official docker didn’t work on my raspberry pis. I turned to this image: [https://hub.docker.com/r/kunde21/gitea-arm](https://hub.docker.com/r/kunde21/gitea-arm) which had \>500k pulls. Now that I know the files that are 404ing are built on the fly rather than included as static files it is all making sense. back to the drawing board to find a compatible docker image.

thanks for the help.

---

<div class="post-metadata">

**Author:** ![natelandau](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/natelandau/32/4900_2.png) [@natelandau](https://forum.gitea.com/u/natelandau)\
**Post date:** [February 23, 2020, 3:38pm UTC](https://forum.gitea.com/t/ui-not-working-on-new-install/1946/8 "2020-02-23T15:38:07Z")

</div>

and, in case anyone else has this same issue and finds this thread, I switched to this docker image for Armv7 and it works like a charm

[https://hub.docker.com/r/mephistoxol/gitea](https://hub.docker.com/r/mephistoxol/gitea)
