Keywords: GitLab - Google Cloud Platform - Technical issue - Other
No clue on how to reproduce (yet)
(edit reason : i noobly clicked on "post" too soon)
Hello folks, I hope I am posting it right. First, please note that I am a total noob in gitlab, so I am learning it the hard way.
I am facing a painful situation: I was given a gitlab instance hosted on a google cloud VM to administer.
Here are some details from my Gitlab instance.
- GitLab 8.5.1
- GitLab Shell 2.6.10
- GitLab API v3
- Git 2.6.1
- Ruby 2.1.8p440
- Rails 188.8.131.52
- PostgreSQL 9.4.5
the VM is not very powerful:
- 1 dedicated cpu
- 1,7 GB RAM
- 10 GB HD (not full)
We are hosting 62 git projects
I did not want, so far, to upgrade it without digging more into the product. I made a backup of the plateforme, through a snapshot on the google console.
Here are the fun part : Since a few days, I do not know when exactly, two of the latest repositories became unaccessible when we try to administer it through the gitlab HTTPs portal : I get either a 404 or 500, randomly (I did not catch what could trigger the 404 or 500, it just change without any actions).
I caught this error in the log :
gitlab Filter chain halted as :assign_ref_vars rendered or redirected App stderr: Completed 404 Not Found
or also, when getting an error 500:
gitlab ActionView::Template::Error No route matches missing required keys: [:id]
From what I understand, there is a problem between ruby and the id to retrieve the page. Not sure though and I do not know what to do anyway with the ruby part.
Also, I have no idea what the postgresql password was set to and i cannot login using a "psql" command through postgres user or bitnami user (I have root access on the server).
If you have an idea, you are the most welcome.
I am trying to figure out my options here. I can reinstall another instance but I am not sure how to move properly my repositories. My Gitlab version does not support the "export" feature, which I would love to try. Thus, I see these potential options:
- export all my repositories via SSH/Git (this works fine)
- do an export/copy at file level (i do not have gitlab-rake due to my version, I assume. Plus, no pg_dump...)
- perform an upgrade on gitlab to get the "export" button
- whatever magic trick that could do something
Please note that my target is to solve or workaround the problem and set a proper environment .