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

Is the project still alive? #117

Open
Enifi opened this issue Dec 5, 2024 · 7 comments
Open

Is the project still alive? #117

Enifi opened this issue Dec 5, 2024 · 7 comments

Comments

@Enifi
Copy link

Enifi commented Dec 5, 2024

Hi, I have little experience in deploying containers from github.
I have my own Mattermost server, I did everything according to the instructions Container.md . Well, when I click on the GitLab button, I get a 404 error or "the page was not found".
Please tell me what could be the problem?
I installed nginx, installed php 8.3, maybe I didn't finish something? The instructions indicate to change several files and install Docker, after looking around, I realized that I still need to install PHP and Nginx.

@Enifi
Copy link
Author

Enifi commented Dec 5, 2024

What I have achieved so far.
It was all about NGINX, because it had a configuration that used port 80.
I changed port 8080:80 in docker-compose and also in config.json
When I click on the GitLab button, I have the same error.
If in config.json does not specify port 8080, I am redirected to the main login page.
At the same time, I found a post about such a problem, made changes to the oauth.conf file, the situation has not changed.
I think I'm completely confused...

@Hannabiann
Copy link

Hannabiann commented Dec 5, 2024

Same problem.
Docker nginx logs show this: [error] 29#29: *1 open() "**/usr/share/nginx/html/**tlbiI6Im4zOTdpOTdveHBrMTd1NGZnZjVoYzZ1NjU0c3VtZXF0ejVpZ2pma2ZkNjhlZGh6OGd4OGd1eGhrMW53d3o0YWgifQ==" failed (2: No such file or directory)

In docker-compose.yaml and oauth.conf specified /var/www/html
If change the path to /usr/share/nginx/html/, then php files are not processed, but downloaded

@Hannabiann
Copy link

I edited the example file, the 404 error disappeared, now the following when clicking on gitlab:
{
"error": "redirect_uri_mismatch",
"error_description": "The redirect URI provided is missing or does not match",
"error_uri": "http://tools.ietf.org/html/rfc6749#section-3.1.2"
}

@Enifi
Copy link
Author

Enifi commented Dec 5, 2024

Please tell me which file you edited?

@Hannabiann
Copy link

Please tell me which file you edited?

db_init/config_init.sh
oauth/config_db.php
oauth/LDAP/config_ldap.php

@Enifi
Copy link
Author

Enifi commented Dec 6, 2024

Did you create the oauth database yourself or should it be created automatically?
I logged into my psql and only the mattermost database is present there.

Perhaps this is the solution to your problem #66

@Hannabiann
Copy link

Hannabiann commented Dec 16, 2024

Did you create the oauth database yourself or should it be created automatically? I logged into my psql and only the mattermost database is present there.

Perhaps this is the solution to your problem #66

I edited these files to match docker-compose.yaml

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