Commit 2803bef0 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Split lines to 80 characters [ci skip]

parent 2c5cdb2e
# Downgrading from EE to CE # Downgrading from EE to CE
If you ever decide to downgrade your Enterprise Edition back to the Community Edition, there are a few If you ever decide to downgrade your Enterprise Edition back to the Community
steps you need take before installing the CE package on top of the current EE package, or, if you are Edition, there are a few steps you need take before installing the CE package
in an installation from source, before you change remotes and fetch the latest CE code. on top of the current EE package, or, if you are in an installation from source,
before you change remotes and fetch the latest CE code.
## Disable Enterprise only features ## Disable Enterprise-only features
First thing to do is to disable the following features. First thing to do is to disable the following features.
### Authentication mechanisms ### Authentication mechanisms
Kerberos and Atlassian Crowd are only available on the Enterprise Edition, so you should disable these mechanisms before Kerberos and Atlassian Crowd are only available on the Enterprise Edition, so
downgrading and you should provide alternative authentication methods to your users. you should disable these mechanisms before downgrading and you should provide
alternative authentication methods to your users.
### Git Annex ### Git Annex
Git Annex is also only available on the Enterprise Edition. This means that if you have repositories that use Git Annex Git Annex is also only available on the Enterprise Edition. This means that if
to store large files, these files will no longer be easily available via Git. You should consider migrating these repositories you have repositories that use Git Annex to store large files, these files will
to use Git LFS before downgrading to the Community Edition. no longer be easily available via Git. You should consider migrating these
repositories to use Git LFS before downgrading to the Community Edition.
### Remove Jenkins CI Service entries from the database ### Remove Jenkins CI Service entries from the database
The `JenkinsService` class is only available on the Enterprise Edition codebase, so if you downgrade to The `JenkinsService` class is only available on the Enterprise Edition codebase,
the Community Edition, you'll come across the following error: so if you downgrade to the Community Edition, you'll come across the following
error:
``` ```
Completed 500 Internal Server Error in 497ms (ActiveRecord: 32.2ms) Completed 500 Internal Server Error in 497ms (ActiveRecord: 32.2ms)
...@@ -33,8 +37,9 @@ column if you didn't intend it to be used for storing the inheritance class or o ...@@ -33,8 +37,9 @@ column if you didn't intend it to be used for storing the inheritance class or o
use another column for that information.) use another column for that information.)
``` ```
All services are created automatically for every project you have, so in order to avoid getting this error, you need to All services are created automatically for every project you have, so in order
remove all instances of the `JenkinsService` from your database: to avoid getting this error, you need to remove all instances of the
`JenkinsService` from your database:
**Omnibus Installation** **Omnibus Installation**
...@@ -50,19 +55,22 @@ $ bundle exec rails runner "Service.where(type: 'JenkinsService').delete_all" pr ...@@ -50,19 +55,22 @@ $ bundle exec rails runner "Service.where(type: 'JenkinsService').delete_all" pr
## Downgrade to CE ## Downgrade to CE
After performing the above mentioned steps, you are now ready to downgrade your GitLab installation to the Community After performing the above mentioned steps, you are now ready to downgrade your
Edition. GitLab installation to the Community Edition.
**Omnibus Installation** **Omnibus Installation**
To downgrade an Omnibus installation, it is sufficient to install the Community Edition package on top of the currently To downgrade an Omnibus installation, it is sufficient to install the Community
installed one. You can do this manually, by directly [downloading the package](https://packages.gitlab.com/gitlab/gitlab-ce) Edition package on top of the currently installed one. You can do this manually,
you need, or by adding our CE package repository and following the [CE installation instructions.](https://about.gitlab.com/downloads/) by directly [downloading the package](https://packages.gitlab.com/gitlab/gitlab-ce)
you need, or by adding our CE package repository and following the
[CE installation instructions](https://about.gitlab.com/downloads/).
**Source Installation** **Source Installation**
To downgrade a source installation, you need to replace the current remote of your GitLab installation with the Community To downgrade a source installation, you need to replace the current remote of
Edition's remote, fetch the latest changes, and checkout the latest stable branch: your GitLab installation with the Community Edition's remote, fetch the latest
changes, and checkout the latest stable branch:
``` ```
$ git remote set-url origin git@gitlab.com:gitlab-org/gitlab-ce.git $ git remote set-url origin git@gitlab.com:gitlab-org/gitlab-ce.git
...@@ -70,4 +78,5 @@ $ git fetch --all ...@@ -70,4 +78,5 @@ $ git fetch --all
$ git checkout 8-x-stable $ git checkout 8-x-stable
``` ```
Remember to follow the correct [update guides](../update/README.md) to make sure all dependencies are up to date. Remember to follow the correct [update guides](../update/README.md) to make
\ No newline at end of file sure all dependencies are up to date.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment