Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors literally everywhere #2499

Closed
snaildos opened this issue Jan 27, 2022 · 8 comments
Closed

Errors literally everywhere #2499

snaildos opened this issue Jan 27, 2022 · 8 comments

Comments

@snaildos
Copy link

No description provided.

@snaildos
Copy link
Author

Whoops, accidently created without description 😬
Here, pretty much...
image

Groups, WebIDE, CI, all errors.

@kkimurak
Copy link
Contributor

  1. What version of sameersbn/gitlab are you running?
  2. How did you configure the image? (e.g. submitting docker-compose.yml is easy way to share your configuration. Don't forget to mask your secrets values)
  3. There are so many reasons such error happen, and we cannot estimate it from browser. Please take a look into log file (/var/log/gitlab/gitlab/production.log and so on).

@snaildos
Copy link
Author

Hello, thanks for the reply.

  1. I'm using the :latest tag, I just repulled before you commented.
    1. I just copied and pasted it, https://www.toptal.com/developers/hastebin/xiwiponaqu.http
  2. No such file or directory, Am I supposed to do it in the container?

@kkimurak
Copy link
Contributor

kkimurak commented Jan 28, 2022

  1. Alright, so I think you're using v14.6.3 now.
  2. well, the code will not work.
  3. Yes off course, check the log file in container. Sorry for not clarify.

OK, the problem is the configuration file. I just checked it briefly yet, but there are so many parameter mismatch. For example

  • DB_NAME, DB_PASS and DB_USER in gitlab's environment field are differ from postgresql's one. So GitLab will not be able to access the database. They should be matched.
  • GITLAB_HOST MUST NOT contain http(s)://.
  • SMTP will not work : all of SMTP_XXX settings are invalid.

Try to fix them - at least DB_** must be fixed. I hope you're standing on beginning at all and about to start setting up (we cannot take any backup or snapshot without DB connection established..)

  1. run docker-compose down gitlab to stop running gitlab
  2. run docker-compose rm gitlab to remove stopped gitlab container
  3. edit docker-compose.yml and correct DB connection variables and so on
  4. run docker-compose up -d gitlab to relaunch gitlab
  5. run docker-compose log --follow gitlab to see what's going on (press Ctrl+C to stop looking into log).

good luck,

@snaildos
Copy link
Author

Hello, thanks for the reply and support. I'm not getting the db part, what havw I done wrong? If the connection isnr established then how can I even make and delete repos?
Regards,
SnailDOS

@snaildos
Copy link
Author

As well, the fields that are xxx'd is me redacting them. Maybe it wasnt clear?

@snaildos
Copy link
Author

👋, final update, your suggestion for the https host worked. Thanks so much, everything is working as expected.
Regards,
SnailDOS

@kkimurak
Copy link
Contributor

As well, the fields that are xxx'd is me redacting them. Maybe it wasnt clear?

Ah, ok. I made a mistake because you said "copy and paste". It's good to mask.
However, since the password and user name actually set in the database are written in the environment variables of postgresql, I think it would be good to mask that as well.

so glad to hear works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants