Empty queue.CONN_STR
fails upgrade from version 9.6.0 to 10.1.3
#643
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a deployment of gitea 9.4.0 with the following configuration file:
helm install gitea gitea-charts/gitea --version 9.4.0 --create-namespace -f extra-values-original.yaml
extra-values-original.yaml
If I try to upgrade to 10.1.3 with the same env file I get the error:
If I change the queue type from level to channel the upgrade is working:
Is this a known limitation?
Thanks for submitting this issue. Using your provided values and
helm template
both versions I see following effective diff (omitting all label changes and others that are not config related):I'd say the existing but empty
CONN_STR
in queue is the issue. And that's a bug. Not to mention the emptyHOST
in cache. 👀Glad you found a working solution for now.
After further research it looks lit an oversight from #585, which tried to mitigate errors for such configuration scenarios. Looks like those issues are all caused by #356 and can only be fully fixed by a redesign of how we update the
app.ini
on config changes.Any update how this can be resolved? Don't want/need to run redis on my system, but with redis.enabled: false it fails to upgrade
Manually check/cleanup your
app.ini
and ensure that no empty values exist. Or set these values explicitly to the non-redis variants.