I accidentally overwritten my ‘gogs’ folder when I upgraded from 0.11.79-amd64 to 0.11.86-amd64, so my SQLite3 database is gone. But I have the repositories (for example repositories/my_username/repo1.git folder). I tried to copy-paste, but gogs did not recognise. So all of my data is ‘gone’ but technically it is not. How to make gogs to see my repositories with the commit history etc?
I tried to create a new repo with the same name as before and then overwrite the new folder on FTP with the old one. That also did not help.
Thank you in advance!