-
Notifications
You must be signed in to change notification settings - Fork 22
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
Conversation
@ghassanmas Login is working fine in dev mode. |
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? |
@ghassanmas closing this as it's not reproduced in dev mode. |
@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 (.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. |
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