add fix command for upgrade
Merge branch 'dev' of github.com:gogits/gogs into dev