Installer never finishes when port is changed #14709

Open
opened 2025-11-02 11:20:48 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @kiler129 on GitHub (Jul 6, 2025).

Description

After installing Gita in Docker using host networking, the web installer asks for various configuration information. One of these is port to run. Changing port in the web installer correctly reinitializes the server as expected:

gitea-1  | 2025/07/06 07:17:14 cmd/web.go:323:listen() [I] Listen: http://0.0.0.0:3000
gitea-1  | 2025/07/06 07:17:14 cmd/web.go:327:listen() [I] AppURL(ROOT_URL): http://localhost:3000/
gitea-1  | 2025/07/06 07:17:14 modules/graceful/server.go:50:NewServer() [I] Starting new Web server: tcp:0.0.0.0:3000 on PID: 16
....
gitea-1  | 2025/07/06 07:27:36 cmd/web.go:323:listen() [I] Listen: http://0.0.0.0:80
gitea-1  | 2025/07/06 07:27:36 cmd/web.go:327:listen() [I] AppURL(ROOT_URL): http://<hostname-redacted>/
gitea-1  | 2025/07/06 07:27:36 cmd/web.go:330:listen() [I] LFS server enabled
gitea-1  | 2025/07/06 07:27:36 modules/graceful/server.go:50:NewServer() [I] Starting new Web server: tcp:0.0.0.0:80 on PID: 16

However, the UI is continiously checking the old/default port 3000, as shown on the screenshot.

Screenshots

Image

Gitea Version

1.24.2

Can you reproduce the bug on the Gitea demo site?

No

Operating System

macOS 15.5 (24F74)

Browser Version

Safari 18.5 (20621.2.5.11.8)

Originally created by @kiler129 on GitHub (Jul 6, 2025). ### Description After installing Gita in Docker using host networking, the web installer asks for various configuration information. One of these is port to run. Changing port in the web installer correctly reinitializes the server as expected: ``` gitea-1 | 2025/07/06 07:17:14 cmd/web.go:323:listen() [I] Listen: http://0.0.0.0:3000 gitea-1 | 2025/07/06 07:17:14 cmd/web.go:327:listen() [I] AppURL(ROOT_URL): http://localhost:3000/ gitea-1 | 2025/07/06 07:17:14 modules/graceful/server.go:50:NewServer() [I] Starting new Web server: tcp:0.0.0.0:3000 on PID: 16 .... gitea-1 | 2025/07/06 07:27:36 cmd/web.go:323:listen() [I] Listen: http://0.0.0.0:80 gitea-1 | 2025/07/06 07:27:36 cmd/web.go:327:listen() [I] AppURL(ROOT_URL): http://<hostname-redacted>/ gitea-1 | 2025/07/06 07:27:36 cmd/web.go:330:listen() [I] LFS server enabled gitea-1 | 2025/07/06 07:27:36 modules/graceful/server.go:50:NewServer() [I] Starting new Web server: tcp:0.0.0.0:80 on PID: 16 ``` However, the UI is continiously checking the old/default port 3000, as shown on the screenshot. ### Screenshots <img width="1721" height="786" alt="Image" src="https://github.com/user-attachments/assets/d14c859b-dfb1-4231-a48b-90e517c8f50f" /> ### Gitea Version 1.24.2 ### Can you reproduce the bug on the Gitea demo site? No ### Operating System macOS 15.5 (24F74) ### Browser Version Safari 18.5 (20621.2.5.11.8)
GiteaMirror added the topic/uitype/bugissue/workaround labels 2025-11-02 11:20:48 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14709