Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitea App bug #1969

Open
Kerber0ss opened this issue Jan 18, 2025 · 10 comments
Open

Gitea App bug #1969

Kerber0ss opened this issue Jan 18, 2025 · 10 comments

Comments

@Kerber0ss
Copy link

Hello,
latest umbrelOS 1.3
latest gitea 1.23.1 from store, first install

via browser http://umbrel.local:8085/ error ERR_CONNECTION_RESET
in docker logs

2025/01/18 22:11:58 cmd/web.go:253:runWeb() [I] Starting Gitea on PID: 7
2025/01/18 22:11:58 cmd/web.go:112:showWebStartupMessage() [I] Gitea version: 1.23.1 built with GNU Make 4.4.1, go1.23.4 : bindata, timetzdata, sqlite, sqlite_unlock_notify
2025/01/18 22:11:58 cmd/web.go:113:showWebStartupMessage() [I] * RunMode: prod
2025/01/18 22:11:58 cmd/web.go:114:showWebStartupMessage() [I] * AppPath: /usr/local/bin/gitea
2025/01/18 22:11:58 cmd/web.go:115:showWebStartupMessage() [I] * WorkPath: /var/lib/gitea
2025/01/18 22:11:58 cmd/web.go:116:showWebStartupMessage() [I] * CustomPath: /var/lib/gitea/custom
2025/01/18 22:11:58 cmd/web.go:117:showWebStartupMessage() [I] * ConfigFile: /etc/gitea/app.ini
2025/01/18 22:11:58 cmd/web.go:118:showWebStartupMessage() [I] Prepare to run web server
2025/01/18 22:11:58 routers/init.go:117:InitWebInstalled() [I] Git version: 2.47.1 (home: /var/lib/gitea/home)
2025/01/18 22:11:58 ...s/storage/storage.go:176:initAttachments() [I] Initialising Attachment storage with type: local
2025/01/18 22:11:58 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/data/attachments
2025/01/18 22:11:58 ...s/storage/storage.go:166:initAvatars() [I] Initialising Avatar storage with type: local
2025/01/18 22:11:58 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/data/avatars
2025/01/18 22:11:58 ...s/storage/storage.go:192:initRepoAvatars() [I] Initialising Repository Avatar storage with type: local
2025/01/18 22:11:58 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/data/repo-avatars
2025/01/18 22:11:58 ...s/storage/storage.go:198:initRepoArchives() [I] Initialising Repository Archive storage with type: local
2025/01/18 22:11:58 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/repo-archive
2025/01/18 22:11:58 ...s/storage/storage.go:208:initPackages() [I] Initialising Packages storage with type: local
2025/01/18 22:11:58 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/packages
2025/01/18 22:11:58 ...s/storage/storage.go:219:initActions() [I] Initialising Actions storage with type: local
2025/01/18 22:11:58 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/actions_log
2025/01/18 22:11:58 ...s/storage/storage.go:223:initActions() [I] Initialising ActionsArtifacts storage with type: local
2025/01/18 22:11:58 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/actions_artifacts
2025/01/18 22:11:58 routers/init.go:139:InitWebInstalled() [I] SQLite3 support is enabled
2025/01/18 22:11:58 routers/common/db.go:23:InitDBEngine() [I] Beginning ORM engine initialization.
2025/01/18 22:11:58 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #1/10...
2025/01/18 22:11:58 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/01/18 22:11:58 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #1/10 failed. Error: Error 1130: Host '10.21.0.11' is not allowed to connect to this MariaDB server
2025/01/18 22:11:58 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/01/18 22:12:01 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #2/10...
2025/01/18 22:12:01 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/01/18 22:12:01 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #2/10 failed. Error: Error 1130: Host '10.21.0.11' is not allowed to connect to this MariaDB server
2025/01/18 22:12:01 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
@jackpurrin
Copy link

looks to be a mariaDB issue. do you have that installed and set up?
this might be better placed on the gittea repo though.

@Kerber0ss
Copy link
Author

looks to be a mariaDB issue. do you have that installed and set up?

Its umbrel-store package, it must works after install from store, not? if i wanted setup separate components - i installed itself via docker-compose.

@jackpurrin
Copy link

i used the version from the store before and it worked like a charm.
remove and reinstall it.
if that doesn't work, try to change the database type from maria to something like sqlite.

if that still doesn't work, access the debug terminal and folow this guide here ONLY DO THIS IF YOU NEED THOUGH!!

@Kerber0ss
Copy link
Author

Kerber0ss commented Jan 21, 2025

I dont see where i can select type of db in appstore gitea page, its only Install button.
I have at another server gitea - installed via docker with sqlite3, but in umbrel i hopes get working version from appstore, otherwise why is she there.

@jackpurrin
Copy link

i'll try installing it on my umbrel server (i just made a new one) and see if i can replicate the bug.

all you did was install the one from the app store in umbrel right? no 3rd party stores?

@jackpurrin
Copy link

jackpurrin commented Jan 22, 2025

another question i have is when i upadate my version from 1.2.2 to 1.3 the server stops working? is there a way to prevent that?

@Kerber0ss
Copy link
Author

Kerber0ss commented Jan 22, 2025

all you did was install the one from the app store in umbrel right? no 3rd party stores?

Yes, from official umbrel appstore. Newest release of umbrel, i upgrade it to 1.3 after install, all ok, reboot, then install some apps. Trouble only with portainer(after install all works but after some time - it cant connect to host. I install Dockage and it work like a charm.) and gitea. Works or not gitea on 1.2.2 - i dont know, i try in 1.3

@jackpurrin
Copy link

alright. tonight, ill try to install umbrel 1.3 again, and then ill test gitea on it.

@jackpurrin
Copy link

all you did was install the one from the app store in umbrel right? no 3rd party stores?

Yes, from official umbrel appstore. Newest release of umbrel, i upgrade it to 1.3 after install, all ok, reboot, then install some apps. Trouble only with portainer(after install all works but after some time - it cant connect to host. I install Dockage and it work like a charm.) and gitea. Works or not gitea on 1.2.2 - i dont know, i try in 1.3

i cannot seem to replicate this bug.

@jackpurrin
Copy link

ORM engine initialization attempt #2/10 failed. Error: Error 1130: Host '10.21.0.11' is not allowed to connect to this MariaDB server

upon further investigation, it may just be a firewall issue. i don't remember if umbrel comes with ufw, but make sure the ports are open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants