Commit 21d8cf89 authored by Rubén Dávila's avatar Rubén Dávila

Document work around when upgrading to 9.3/9.4 for MySql instances.

parent c8fd76cb
......@@ -294,6 +294,31 @@ sudo -u git -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:c
sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
```
**Error in migrations for MySQL installations**:
When running migrations it's very likely you found the following error:
```
undefined method `plan' for #<Group:0x007f52ebe98c80>...
```
Please use this work around for source installations:
```
sudo -u git -H bundle exec rake db:migrate:up VERSION=20170512131952 RAILS_ENV=production
sudo -u git -H bundle exec rake db:migrate
# Now continue from the "Compile GetText PO files" step.
```
Please use this work around for Omnibus installations:
```
sudo gitlab-rake db:migrate:up VERSION=20170512131952
sudo gitlab-rake db:migrate
sudo gitlab-ctl reconfigure
```
**MySQL installations**: Run through the `MySQL strings limits` and `Tables and data conversion to utf8mb4` [tasks](../install/database_mysql.md).
### 13. Start application
......
......@@ -307,6 +307,31 @@ sudo -u git -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:c
sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
```
**Error in migrations for MySQL installations**:
When running migrations it's very likely you found the following error:
```
undefined method `plan' for #<Group:0x007f52ebe98c80>...
```
Please use this work around for source installations:
```
sudo -u git -H bundle exec rake db:migrate:up VERSION=20170512131952 RAILS_ENV=production
sudo -u git -H bundle exec rake db:migrate
# Now continue from the "Compile GetText PO files" step.
```
Please use this work around for Omnibus installations:
```
sudo gitlab-rake db:migrate:up VERSION=20170512131952
sudo gitlab-rake db:migrate
sudo gitlab-ctl reconfigure
```
**MySQL installations**: Run through the `MySQL strings limits` and `Tables and data conversion to utf8mb4` [tasks](../install/database_mysql.md).
### 13. Start application
......
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