-
Notifications
You must be signed in to change notification settings - Fork 948
Labels
bugDocuments unexpected/wrong/buggy behaviorDocuments unexpected/wrong/buggy behavior
Milestone
Description
Please help us help you by filling out the following sections as thoroughly as you can.
Description:
When running augur its looking for a docker environment variable. That variable is not set by default or anything bare metal users will set, so we need to include a check so it doesn't fail.
How to reproduce:
- Run Augur on bare metal
- Wait for this error:
2025-12-17 19:48:01 kate augur[223094] INFO Flushing all redis databases this instance was using
No messages purged from 1 queue.
2025-12-17 19:48:03 kate augur[223094] INFO Clearing all messages from celery queue in rabbitmq
2025-12-17 19:48:03 kate augur[223094] INFO awaiting Gunicorn start
Failed to read config file: /home/sean/github/ai.chaoss/augur/api/gunicorn_conf.py
Traceback (most recent call last):
File "/home/sean/github/ai.chaoss/.venv/lib/python3.11/site-packages/gunicorn/app/base.py", line 111, in get_config_from_filename
spec.loader.exec_module(mod)
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/sean/github/ai.chaoss/augur/api/gunicorn_conf.py", line 43, in <module>
is_docker = os.getenv("AUGUR_DOCKER_DEPLOY").lower() in ('true', '1', 't', 'y', 'yes')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'lower'
2025-12-17 19:48:04 kate augur[223094] CRITICAL Gunicorn was shut down abnormally. Exiting
(augur) Reseting log filesMetadata
Metadata
Assignees
Labels
bugDocuments unexpected/wrong/buggy behaviorDocuments unexpected/wrong/buggy behavior