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

Example App config has incorrect example Redis strings #22571

Closed
tiny-pangolin opened this issue Jan 22, 2023 · 1 comment · Fixed by #22573
Closed

Example App config has incorrect example Redis strings #22571

tiny-pangolin opened this issue Jan 22, 2023 · 1 comment · Fixed by #22573
Labels

Comments

@tiny-pangolin
Copy link
Contributor

Description

In the redis connection string for the queue, session, and task configuration the example config in custom/conf/app.example.ini suggests using a connection string formatted like network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180 but gitea expects a uri like connection string like this reddis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s. If you follow the example in custom/conf/app.example.ini it causes gitea to throw errors or fail to start and does not match the config cheat sheet in the documentation.

Gitea Version

1.18.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

OCI Image on Fedora 37

How are you running Gitea?

I am running gitea in via podman compose on fedora 37 behind a traefik reverse along side ansible-semaphore and woodpecker ci.

Database

MySQL

@tiny-pangolin
Copy link
Contributor Author

that merge only fixes one place I just added an MR for all three spots I noticed the issue. I didn't try adding a queue.

zeripath pushed a commit that referenced this issue Jan 23, 2023
Fixes #22571

Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
1 participant