-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
Milestone
Description
Description
When trying to migrate a repository from gitbucket to gitea, it fails on Releases step with PANIC whilst trying to do migrate task: runtime error: invalid memory address or nil pointer dereference
.
The repo itselfs imports fine, but the problem occurs when trying to import Releases.
Steps to reproduce:
- Create docker compose the same as the one I included into this report.
- Create an empty repo on gitbucket.
- Create a simple test git repo with a single file and a single commit, add a Tag and push it to gitbucket
- On gitbucket create a release - attach any random .zip file to the release
- Try to migrate the repo to gitea with all options checked (LFS,Wiki,Releases,Labels etc.....)
- PANIC whilst trying to do migrate task: runtime error: invalid memory address or nil pointer dereference occurs.
Gitea Version
1.24.2 built with GNU Make 4.4.1, go1.24.4 : bindata, timetzdata, sqlite, sqlite_unlock_notify
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/blazej222/6e24e4a49bcd34811054842556adff03
Screenshots
No response
Git Version
2.49.0
Operating System
Windows with Docker
How are you running Gitea?
Docker image, here's the whole docker compose
services:
db:
image: postgres:16
container_name: gitea-db
restart: unless-stopped
environment:
POSTGRES_DB: gitea
POSTGRES_USER: gitea
POSTGRES_PASSWORD: xxx
volumes:
- ./postgres:/var/lib/postgresql/data
networks:
- gitea-net
gitea:
image: gitea/gitea:latest
container_name: gitea
restart: unless-stopped
environment:
DB_TYPE: postgres
DB_HOST: db:5432
DB_NAME: gitea
DB_USER: gitea
DB_PASSWD: xxx
volumes:
- ./gitea:/data
ports:
- "3000:3000"
- "222:22"
networks:
- gitea-net
depends_on:
- db
gitbucket:
image: gitbucket/gitbucket:latest
container_name: gitbucket
ports:
- "8080:8080"
volumes:
- ./gitbucket:/gitbucket
environment:
- GITBUCKET_HOME=/gitbucket
restart: unless-stopped
networks:
- gitea-net
volumes:
gitea-db-data:
gitea-data:
networks:
gitea-net:
driver: bridge
Database
PostgreSQL