Upgrade from 1.18.5 to 1.21.5 in Docker - can't login #12485

Closed
opened 2025-11-02 10:11:21 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @VitaliyAT on GitHub (Feb 15, 2024).

Description

DSM Synology, Docker. Previous container 1.18.5 switched-off. New container 1.21.5 switch-on, start Migrate(), recreate all my data base, so I can't use 1.18.5 container any more. Look like no errors was in migration process. Trying login in - got back to start page.

Gitea Version

1.21.5

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

in Docker container in DSM Synology

Database

None

Originally created by @VitaliyAT on GitHub (Feb 15, 2024). ### Description DSM Synology, Docker. Previous container 1.18.5 switched-off. New container 1.21.5 switch-on, start Migrate(), recreate all my data base, so I can't use 1.18.5 container any more. Look like no errors was in migration process. Trying login in - got back to start page. ### Gitea Version 1.21.5 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? in Docker container in DSM Synology ### Database None
GiteaMirror added the issue/needs-feedbacktype/bug labels 2025-11-02 10:11:21 -06:00
Author
Owner

@VitaliyAT commented on GitHub (Feb 15, 2024):

by the way is it doing backup of old data-base somewhere ? is it possible roll back some how? like partly desigion of this problem

@VitaliyAT commented on GitHub (Feb 15, 2024): by the way is it doing backup of old data-base somewhere ? is it possible roll back some how? like partly desigion of this problem
Author
Owner

@VitaliyAT commented on GitHub (Feb 15, 2024):

The same with 1.21.4

Login and pass is correct - mirror project is logined and fo POST GET correctly according logs.

@VitaliyAT commented on GitHub (Feb 15, 2024): The same with 1.21.4 Login and pass is correct - mirror project is logined and fo POST GET correctly according logs.
Author
Owner

@wxiaoguang commented on GitHub (Feb 16, 2024):

by the way is it doing backup of old data-base somewhere ?

No auto-backup from Gitea side. If your DSM has some backups, you could try.

Trying login in - got back to start page.

The information is not enough for debugging a problem. Maybe you need to check your logs first. And figure out why "got back to start page": eg: cookie doesn't work? login failed? etc

@wxiaoguang commented on GitHub (Feb 16, 2024): > by the way is it doing backup of old data-base somewhere ? No auto-backup from Gitea side. If your DSM has some backups, you could try. > Trying login in - got back to start page. The information is not enough for debugging a problem. Maybe you need to check your logs first. And figure out why "got back to start page": eg: cookie doesn't work? login failed? etc
Author
Owner

@GiteaBot commented on GitHub (Mar 17, 2024):

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

@GiteaBot commented on GitHub (Mar 17, 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#12485