You are not logged in.
Dear archers,
I have tried follow the Wiki for Gitlab but I get stuck at the intialization of the database
https://wiki.archlinux.org/index.php/Gi … b_database
$ su - gitlab -s /bin/sh -c "cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake gitlab:setup RAILS_ENV=production"
...
...
ActiveRecord::StatementInvalid: Mysql2::Error: Index column size too large. The maximum column size is 767 bytes.: CREATE INDEX `index_audit_events_on_entity_id_and_entity_type` USING btree ON `audit_events` (`entity_id`, `entity_type`)
...
Caused by:
Mysql2::Error: Index column size too large. The maximum column size is 767 bytes.
...I have been to many SO threads and event the official Gitlab issues page like
https://gitlab.com/gitlab-org/gitlab-ce/issues/43514
and I have taken all precautions to have my database is supposed to be finely created
MariaDB [gitlabhq_production]> SELECT @@innodb_file_per_table, @@innodb_file_format;
+-------------------------+----------------------+
| @@innodb_file_per_table | @@innodb_file_format |
+-------------------------+----------------------+
| 1 | Barracuda |
+-------------------------+----------------------+
1 row in set (0.00 sec)But it keeps failing and failing. Most threads deal with migration of DB after upgrades, but this is fresh installation ![]()
Any hint in the right direction will be greatly appreciated.
/Pico
p.s: I know I'm not alone on this ;-) (https://gitlab.com/gitlab-org/gitlab-ce/issues/49721)
Offline