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

fix: unable to init and login in dev mode #37

Closed
wants to merge 1 commit into from

Conversation

ghassanmas
Copy link
Member

Before this change, logging in at http://minio.local.edly.io:9001/ wasn't possible nor init it. This because necssary variable weren't passed dev compose patch

@FahadKhalid210
Copy link
Contributor

@ghassanmas Login is working fine in dev mode.
Could you describe any specific errors or issues you're encountering while logging in?
image

@FahadKhalid210
Copy link
Contributor

Hi @ghassanmas, Since the login is working fine in dev mode, could you clarify any specific errors or difficulties you're experiencing when trying to log in?

@FahadKhalid210 FahadKhalid210 self-assigned this Mar 12, 2024
@FahadKhalid210
Copy link
Contributor

@ghassanmas closing this as it's not reproduced in dev mode.

@ghassanmas
Copy link
Member Author

@FahadKhalid210 I understand and I aplogies for late reply, it wasn't easy to reproudce for me as well. But in any case I kept log that I had which I think (80%) this change fix it. Below is the log anyway for ref.

Tutor: version 17.0.2
tutor-minio: 17.0.0
Machine: Apple Arm using Orbstack for docker
mode: dev

(.vevn-12) ➜  tutor-default-config tutor dev do init --limit=minio
Initialising all services...
Running init task in minio
docker compose -f /tutor-default-config/env/local/docker-compose.yml -f /tutor-default-config/env/dev/docker-compose.yml --project-name tutor_dev -f /tutor-default-config/env/local/docker-compose.jobs.yml -f /tutor-default-config/env/dev/docker-compose.jobs.yml run --rm minio-job sh -e -c 'mc config host add minio http://minio:9000 openedx XXLqkjFxvp2qvYmQUmH78pbZ --api s3v4
mc mb --ignore-existing minio/openedx minio/openedxuploads minio/openedxvideos


# Make common file upload bucket public (e.g: for forum image upload)
mc policy set public minio/openedx'
[+] Creating 1/0
 ✔ Container tutor_dev-minio-1  Running                                                                                                        0.0s 
[+] Running 6/6
 ✔ minio-job 5 layers [⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                           8.9s 
   ✔ 21bdf803fd2e Pull complete                                                                                                                4.5s 
   ✔ d55496a0f5a4 Pull complete                                                                                                                0.6s 
   ✔ e76034c377e5 Pull complete                                                                                                                1.3s 
   ✔ bb129044afa7 Pull complete                                                                                                                6.3s 
   ✔ d259f20d1d59 Pull complete                                                                                                                4.8s 
mc: Configuration written to `/root/.mc/config.json`. Please update your access credentials.
mc: Successfully created `/root/.mc/share`.
mc: Initialized share uploads `/root/.mc/share/uploads.json` file.
mc: Initialized share downloads `/root/.mc/share/downloads.json` file.
Added `minio` successfully.
mc: <ERROR> Unable to make bucket `minio/openedx`. The request signature we calculated does not match the signature you provided. Check your key and signing method.
mc: <ERROR> Unable to make bucket `minio/openedxuploads`. The request signature we calculated does not match the signature you provided. Check your key and signing method.
mc: <ERROR> Unable to make bucket `minio/openedxvideos`. The request signature we calculated does not match the signature you provided. Check your key and signing method.
Error: Command failed with status 1: docker compose -f /tutor-default-config/env/local/docker-compose.yml -f //tutor-default-config/env/dev/docker-compose.yml --project-name tutor_dev -f /tutor-default-config/env/local/docker-compose.jobs.yml -f /tutor-default-config/env/dev/docker-compose.jobs.yml run --rm minio-job sh -e -c mc config host add minio http://minio:9000 openedx XXLqkjFxvp2qvYmQUmH78pbZ --api s3v4
mc mb --ignore-existing minio/openedx minio/openedxuploads minio/openedxvideos


# Make common file upload bucket public (e.g: for forum image upload)
mc policy set public minio/openedx

I will let you know if I stumbled upon it again, in any case it's ok for me close for now. Thanks for patience.

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

Successfully merging this pull request may close these issues.

2 participants