-
Notifications
You must be signed in to change notification settings - Fork 283
Description
Hi Team,
I am trying to use the S3 instead of the minio by default storage and i am getting error while doing this i have filled my credentials of AWS but getting error
48% building 317/352 modules 35 active ...home/dbhatt/Projects/Kolibri/studio/contentcuration/contentcuration/frontend/shared/leUtils/ContentKinds.jsTraceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/django/core/management/init.py", line 363, in execute
settings.INSTALLED_APPS
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/django/conf/init.py", line 82, in getattr
self._setup(name)
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/django/conf/init.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/django/conf/init.py", line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 961, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/dbhatt/Projects/Kolibri/studio/contentcuration/contentcuration/init.py", line 5, in
from .celery import app as celery_app # noqa
File "/home/dbhatt/Projects/Kolibri/studio/contentcuration/contentcuration/celery.py", line 17, in
django.setup()
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/django/apps/registry.py", line 122, in populate
app_config.ready()
File "/home/dbhatt/Projects/Kolibri/studio/contentcuration/contentcuration/apps.py", line 16, in ready
ensure_storage_bucket_public()
File "/home/dbhatt/Projects/Kolibri/studio/contentcuration/contentcuration/utils/minio_utils.py", line 62, in ensure_storage_bucket_public
if not c.bucket_exists(bucketname):
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/minio/api.py", line 652, in bucket_exists
self._execute("HEAD", bucket_name)
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/minio/api.py", line 394, in _execute
region = self._get_region(bucket_name, None)
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/minio/api.py", line 461, in _get_region
response = self._url_open(
File "/home/dbhatt/Projects/Kolibri/studio-env/lib/python3.8/site-packages/minio/api.py", line 306, in _url_open
raise InvalidResponseError(
minio.error.InvalidResponseError: non-XML response from server; Response code: 404, Content-Type: text/html, Body:
NoSuchKey
The resource you requested does not exist
/mybucket/myfoto.jpg
4442587FB7D0A2F9
am i doing something wrong. Can anybody suggest me how i need to resolve this.