I shutdown the Gitlab server, then run bundle exec rake assets:precompile RAILS_ENV=production
and sudo service gitlab start
And the view of the Gitlab became that way.
Now I can see the a bit normal view by run the server manually, but missing all the images on the webpage view
RAILS_ENV=production rails s -p 1234
ActionController::RoutingError (No route matches [GET] "/uploads/user/avatar/2/Screenshot_2014_3_28_%E4%B8%8B%E5%8D%885_40.jpg"):
You can try a clean first:
RAILS_ENV=production bundle exec rake assets:clean
RAILS_ENV=production bundle exec rake assets:precompile
Or in one line, as in this migration steps page:
sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
If the issue persists, try to find the missing elements, as in this comment (for gitLab-CI, but the same idea would apply here)
Finally, check if recent versions of GitLab don't need some changes in the NGiNX settings, as in issue 6216, for the assets folder to be accessible.