Wiki pages are not visible after upgrade to 8.0.3
Summary: after upgrade to 8.0.3 wiki pages are not visible in all projects. This includes "Pages" and "Home" tabs. Wiki repositories are all there, but it seems gitlab can't find them. If i clone wiki repository, I can see all the pages there.
When attempting to add new page to wiki, I get 500 error, production.log:
Completed 500 Internal Server Error in 102ms (ActiveRecord: 10.5ms)
NoMethodError (undefined method `escaped_url_path' for nil:NilClass):
app/models/wiki_page.rb:172:in `set_attributes'
app/models/wiki_page.rb:192:in `save'
app/models/wiki_page.rb:139:in `create'
app/controllers/projects/wikis_controller.rb:60:in `create'
After attempting to save the same page again, i get an error:
Duplicate page: Cannot write //home.md, found //home.md.
Gitlab version: f9a0c22d
gitlab:env:info output:
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.1.5p273
Gem Version: 2.2.2
Bundler Version:1.7.11
Rake Version: 10.4.2
Sidekiq Version:3.3.0
GitLab information
Version: 8.0.3
Revision: f9a0c22
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: https://pm.datajob.lt
HTTP Clone URL: https://pm.datajob.lt/some-group/some-project.git
SSH Clone URL: git@pm.datajob.lt:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 2.6.5
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/local/git/bin/git
gitlab:app:check output:
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
Redis version >= 2.4.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.1.5)
Your git bin path is "/usr/local/git/bin/git"
Git version >= 1.7.10 ? ... yes (2.5.2)
Active users: 36
Checking GitLab ... Finished