summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-15 12:15:51 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-15 12:15:51 +0300
commitab1e131afa1fe142c822f1f38032ba669633aaf8 (patch)
tree3310575d8408e11761a464622e50c555f2df6b26
parent4e925d801b395848207f3f2d0506589804b206db (diff)
parentb31535494e5e9d13a3643809c7699c9f6e512d21 (diff)
downloadgitlab-ce-ab1e131afa1fe142c822f1f38032ba669633aaf8.tar.gz
Merge branch 'master' of github.com:gitlabhq/gitlabhq
-rw-r--r--doc/update/4.2-to-5.0.md6
-rw-r--r--doc/update/7.3-to-7.4.md9
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/update/4.2-to-5.0.md b/doc/update/4.2-to-5.0.md
index 897cd0b91fa..cde679598f7 100644
--- a/doc/update/4.2-to-5.0.md
+++ b/doc/update/4.2-to-5.0.md
@@ -195,6 +195,12 @@ sudo rm -R tmp
sudo -u git -H mkdir tmp
sudo chmod -R u+rwX tmp/
+# create directory for pids, make sure GitLab can write to it
+sudo -u git -H mkdir tmp/pids/
+sudo chmod -R u+rwX tmp/pids/
+
+# if you are already running a newer version of GitLab check that installation guide for other tmp folders you need to create
+
# reboot system
sudo reboot
diff --git a/doc/update/7.3-to-7.4.md b/doc/update/7.3-to-7.4.md
index 2e1b993aeb8..ba3be5e53b6 100644
--- a/doc/update/7.3-to-7.4.md
+++ b/doc/update/7.3-to-7.4.md
@@ -26,6 +26,15 @@ SELECT CONCAT('ALTER TABLE gitlabhq_production.', table_name, ' ENGINE=InnoDB;')
# If previous query returned results, copy & run all outputed SQL statements
+# Convert all tables to correct character set
+SET foreign_key_checks = 0;
+SELECT CONCAT('ALTER TABLE gitlabhq_production.', table_name, ' CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;') AS 'Copy & run these SQL statements:' FROM information_schema.tables WHERE table_schema = 'gitlabhq_production' AND `TABLE_COLLATION` <> 'utf8_unicode_ci' AND `TABLE_TYPE` = 'BASE TABLE';
+
+# If previous query returned results, copy & run all outputed SQL statements
+
+# turn foreign key checks back on
+SET foreign_key_checks = 1;
+
# Find MySQL users
mysql> SELECT user FROM mysql.user WHERE user LIKE '%git%';