Docker Gitea to Docker Forgejo was basically using a different image and pointing it to the existing database. Not sure if and when both will be different enough for that to no longer work. But I also only use it as a docker compose storage repository. No idea about automation etc.
What kind of machine is this, laptop? Desktop? If desktop, check the cables. Otherwise I’d switch out the drive.