I installed Gogs on my Red Hat 7 server (32GB RAM, 48 cores). I tried to use MariaDB as my db, but I was getting weird errors that I couldn’t figure out so I punted and decided to use sqlite. It installed and I was able to start using Gogs. I created several user accounts and started creating test repos.
All was great until I started to migrate my cvs repos to the new Gogs server. After importing just one repo (12 years of history with 69 branches and 157 tags) I started noticing performance issues when using the web interface. I need to eventually import almost 200 repos from cvs with a similar amount of branches and tags, and can only assume the situation will get much worse. I’m thinking of migrating from sqlite to Postgres, but when I try to backup my database using the following command:
./gogs backup --database-only -archive-name “gogs_db.bk” --config “custom/conf/app.ini”
I get an error that this must be done as the git user, but when I try to switch to the git user (su - git) I get the message failed to execute /bin/nologin" no such file or directory. not sure how to proceed.
Gogs version 0.11.86.0130, RHEL 7, sqlite