Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
21d8cf89
Commit
21d8cf89
authored
Sep 12, 2017
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document work around when upgrading to 9.3/9.4 for MySql instances.
parent
c8fd76cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
0 deletions
+50
-0
doc/update/9.2-to-9.3.md
doc/update/9.2-to-9.3.md
+25
-0
doc/update/9.3-to-9.4.md
doc/update/9.3-to-9.4.md
+25
-0
No files found.
doc/update/9.2-to-9.3.md
View file @
21d8cf89
...
...
@@ -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
...
...
doc/update/9.3-to-9.4.md
View file @
21d8cf89
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment