Not able to launch gitea repo in codespaces #13550

Closed
opened 2025-11-02 10:45:46 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @sundaram2021 on GitHub (Oct 1, 2024).

Description

I tried it launch the repo in codespace but could not set up the db _
i had also tried to set the local db using docker container of mysql using cmd docker run --name gitea-mysql -e MYSQL_ROOT_PASSWORD=gitea -e MYSQL_DATABASE=gitea -e MYSQL_USER=gitea -e MYSQL_PASSWORD=gitea -p 3306:3306 -d mysql:latest

but it got exited and complains that port 3306 is already occupied

Screenshots

image

Gitea Version

Gitea version: f4b8f6fc4 built with GNU Make 4.3, go1.23.1

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

windows amd64

Browser Version

chrome V8 12.9.202.22

Originally created by @sundaram2021 on GitHub (Oct 1, 2024). ### Description I tried it launch the repo in codespace but could not set up the db _ i had also tried to set the local db using docker container of mysql using cmd `docker run --name gitea-mysql -e MYSQL_ROOT_PASSWORD=gitea -e MYSQL_DATABASE=gitea -e MYSQL_USER=gitea -e MYSQL_PASSWORD=gitea -p 3306:3306 -d mysql:latest ` but it got exited and complains that port 3306 is already occupied ### Screenshots ![image](https://github.com/user-attachments/assets/115ff1ab-30f6-434e-8f3f-e1cc1e3d5a2c) ### Gitea Version Gitea version: f4b8f6fc4 built with GNU Make 4.3, go1.23.1 ### Can you reproduce the bug on the Gitea demo site? Yes ### Operating System windows amd64 ### Browser Version chrome V8 12.9.202.22
GiteaMirror added the issue/needs-feedbacktopic/ui labels 2025-11-02 10:45:46 -06:00
Author
Owner

@lunny commented on GitHub (Oct 2, 2024):

Please confirm the database host name is 127.0.0.1?

@lunny commented on GitHub (Oct 2, 2024): Please confirm the database host name is 127.0.0.1?
Author
Owner

@sundaram2021 commented on GitHub (Oct 2, 2024):

yes

@sundaram2021 commented on GitHub (Oct 2, 2024): yes
Author
Owner

@lunny commented on GitHub (Oct 2, 2024):

How do you run Gitea? 127.0.01 commonly means they are in the same machine.

@lunny commented on GitHub (Oct 2, 2024): How do you run Gitea? 127.0.01 commonly means they are in the same machine.
Author
Owner

@sundaram2021 commented on GitHub (Oct 2, 2024):

i just spinned up the codespace installed deps using make and launched a web gui of gitea
thats where i got this error ☝️

@sundaram2021 commented on GitHub (Oct 2, 2024): i just spinned up the codespace installed deps using make and launched a web gui of gitea thats where i got this error ☝️
Author
Owner

@GiteaBot commented on GitHub (Nov 1, 2024):

We close issues that need feedback from the author if there were no new comments for a month. 🍵

@GiteaBot commented on GitHub (Nov 1, 2024): We close issues that need feedback from the author if there were no new comments for a month. :tea:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13550