wiki migration fails (4.2 -> 5.0)
Created by: ikari-pl
I have been a little out of date with my gitlab installation and started upgrading version by version. Unfortunately got stuck at the first upgrade, 4.2 → 5.0:
sudo -u git -H bundle exec rake gitlab:wiki:migrate RAILS_ENV=production
rake aborted!
PG::Error: ERROR: relation "wikis" does not exist
LINE 5: WHERE a.attrelid = '"wikis"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"wikis"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:1161:in `async_exec'
I probably didn't have any wikis anyway, how much will go wrong if I ignore this step? How should I resolve it?
… Edit: is there a chance that the VERSION file was lying to me by saing 4.2.0 when I had 5.x already?