Gitlab troubleshooting

Environment: Gitlab is running under docker

Error with ActiveModel::UnknownAttributeError (unknown attribute ‘author_name’ for SecurityEvent.):

$ docker exec -it gitlab /bin/bash
gitlab$ cd /var/opt/gitlab
gitlab$ gitlab-rake cache:clear
gitlab$ gitlab-rake db:migrate # This will migrate to latest database.
gitlab$ gitlab-rake gitlab:assets:clean gitlab:assets:compile cache:clear

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.