error on docker logs koku_server #5338
Unanswered
devops-cybersapient
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
(myenv) root@ip-10-4-10-152:/home/ubuntu/koku# docker logs koku_server
Loading : /koku/.env
The .env file has been loaded.
Sentry not enabled.
starting celery
celery autodiscover tasks
Traceback (most recent call last):
File "/koku/koku/manage.py", line 21, in
execute_from_command_line(sys.argv)
File "/opt/koku/.venv/lib/python3.11/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/opt/koku/.venv/lib/python3.11/site-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/koku/.venv/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/koku/.venv/lib/python3.11/site-packages/django/core/management/base.py", line 453, in execute
self.check()
File "/opt/koku/.venv/lib/python3.11/site-packages/django/core/management/base.py", line 485, in check
all_issues = checks.run_checks(
^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/django/core/checks/registry.py", line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/django/core/checks/urls.py", line 42, in check_url_namespaces_unique
all_namespaces = _load_all_namespaces(resolver)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/django/core/checks/urls.py", line 61, in _load_all_namespaces
url_patterns = getattr(resolver, "url_patterns", [])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/django/utils/functional.py", line 57, in get
res = instance.dict[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/django/urls/resolvers.py", line 715, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
^^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/django/utils/functional.py", line 57, in get
res = instance.dict[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/django/urls/resolvers.py", line 708, in urlconf_module
return import_module(self.urlconf_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/koku/koku/koku/urls.py", line 22, in
path(f"{API_PATH_PREFIX}v1/", include("api.urls")),
^^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/django/urls/conf.py", line 38, in include
urlconf_module = import_module(urlconf_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/koku/koku/api/urls.py", line 12, in
from api.views import AccountSettings
File "/koku/koku/api/views.py", line 10, in
from api.dataexport.views import DataExportRequestViewSet
File "/koku/koku/api/dataexport/views.py", line 7, in
from api.dataexport.serializers import DataExportRequestSerializer
File "/koku/koku/api/dataexport/serializers.py", line 7, in
from masu.celery.tasks import sync_data_to_customer
File "/koku/koku/masu/celery/tasks.py", line 31, in
from common.queues import DownloadQueue
File "/koku/koku/common/queues.py", line 7, in
from masu.processor import is_customer_large
File "/koku/koku/masu/processor/init.py", line 12, in
from koku.feature_flags import fallback_development_true
File "/koku/koku/koku/feature_flags.py", line 45, in
UNLEASH_CLIENT = KokuUnleashClient(
^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/UnleashClient/init.py", line 73, in init
self.cache = FileCache(self.unleash_instance_id, app_cache_dir=cache_directory)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/koku/.venv/lib/python3.11/site-packages/fcache/cache.py", line 124, in init
self.create()
File "/opt/koku/.venv/lib/python3.11/site-packages/fcache/cache.py", line 142, in create
os.makedirs(self.cache_dir, exist_ok=True)
File "", line 225, in makedirs
PermissionError: [Errno 13] Permission denied: '/koku/koku/../.unleash/cache'
Loading : /koku/.env
The .env file has been loaded.
Sentry not enabled.
starting celery
celery autodiscover tasks
Loading : /koku/.env
The .env file has been loaded.
Sentry not enabled.
starting celery
celery autodiscover tasks
Perform
can anyone help
Beta Was this translation helpful? Give feedback.
All reactions