Hi. I self-host gitea in docker and have a few repos, users, keys, etc. I installed forgejo in docker and it runs, so I stopped the container and copied /var/lib/docker/volumes/gitea_data/_data/* to /var/lib/docker/volumes/forgejo_data/_data/, but when I restart the forgejo container, forgejo doesn’t show any of my repos, users, keys, etc.

My understanding was the the current version of forgejo is a drop-in replacement for gitea, so I was hoping all gitea resources were saved to its docker volume and would thus be instantly usable by forgejo. Guess not. :(

Does anyone have any experience migrating their gitea instance to forgejo?

  • @JASN_DE
    link
    English
    49 months ago

    What are you using as a database? Also, from which Gitea version to which Forgejo version did you attempt the migration?

    • Mike WooskeyOP
      link
      fedilink
      English
      19 months ago

      Both gitea and forgejo are using sqlite3. Gitea 1.20.0, Forgejo 1.21.