Accessing projects results in 500 error after downgrade from Enterprise Edition 8.7.4 to Community Edition
Our trial license for Gitlab Enterprise Edition 8.7.4 recently expired, and we have been trying to downgrade to Gitlab Community Edition. We have the Gitlab Omnibus installation.
We followed the instructions on http://docs.gitlab.com/ee/downgrade_ee_to_ce/README.html to install the latest version of Gitlab Community Edition, and the upgrade appeared to complete without errors. However, we were unable to access any of our Gitlab projects through the web interface. All group pages were accessible, but project pages result in 500 errors.
Running 'gitlab-ctl reconfigure' and 'gitlab-ctl restart' did not change the observed behaviour.
We reverted to an earlier snapshot and tried again to downgrade, following the instructions above, but this time downgrading to Gitlab CE of the same version, 8.7.4.
Steps taken:
-
Disabled the fast-forward merge option on our projects, since it is only available in Enterprise Edition.
-
Ran the recommended script for JenkinsService, even though we aren't using it. $ sudo gitlab-rails runner "Service.where(type: 'JenkinsService').delete_all"
-
Updated our repositories and installed Gitlab Community Edition. $ curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash $ sudo apt-get install gitlab-ce=8.7.4-ce.0
Again, the installation appears to successfully uninstall gitlab-ee and install gitlab-ce, but our project/repository pages result in 500 errors.
Attached are the console outputs from the downgrade script and from checking the migration status, which both appear to be fine.