sameersbn / sameersbn/docker-gitlab

ERROR: relation "group_group_links" does not exist at character 454

Open
#2,249 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

I have upgraded to 13.4.2 and I now get the error "ERROR: relation "group_group_links" does not exist at character 454" whenever I try to access groups.
I saw solutions about adding the file 20180902070406_create_group_group_links.rb to migrate dir and then I did docker exec -it stage_gitlab bundle exec rake db:migrate RAILS_ENV=production but that is also not working for me.
I don't know if this is an issue specific to this image. Any help would be welcome in resolving this.

Getting the error : "NameError: uninitialized constant RSpec" when i run it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the Dockerized GitLab 13.4.2 migration state and the referenced 20180902070406_create_group_group_links.rb migration. Reproduce the failure when accessing groups, then investigate why db:migrate produces the reported NameError: uninitialized constant RSpec. Done means identifying a reproducible cause and documenting a working resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, ruby
Domain
databases, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.