Skip to content

User Authentication Error During Gitea Repository Migration #32417

@SmartVDS

Description

@SmartVDS

Description

I am facing an issue while attempting to migrate a repository from one Gitea instance to another. Both Gitea instances are running inside Docker containers, set up using a docker-compose file as mentioned in Gitea's installation documentation.

image

However, during the migration process, I encountered an error related to user authentication.

image

I am using the same user account on both the source and target Gitea servers, which are configured to use LDAP credentials from the same Active Directory. Additionally, I have a valid authentication token with the necessary permissions. I have tried using tokens with various permission combinations, but the issue persists.

Relevant log entries have been included for reference.
image

Gitea Version

1.22.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.45.2

Operating System

Alpine Linux

How are you running Gitea?

Docker container

Database

SQLite

Activity

yp05327

yp05327 commented on Nov 5, 2024

@yp05327
Contributor

After checking the code, I can only image it will return version error, but not user does not exist error. Where does it come from? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @yp05327@kemzeb@SmartVDS

        Issue actions

          User Authentication Error During Gitea Repository Migration · Issue #32417 · go-gitea/gitea