From 6fd68998796a9290eb88045ff6941cc53945a682 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 24 Mar 2026 20:24:12 -0400 Subject: [PATCH] fix(gunicorn): set control_socket to /dev/shm path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Newer gunicorn (post-23.0.0) added _get_control_socket_path() which calls os.path.isabs() on the value — crashing when it is None. Point the socket to /dev/shm (already used for worker_tmp_dir) so it is writable inside the container and satisfies the new gunicorn code. Co-Authored-By: Claude Sonnet 4.6 --- conf/aether_fastapi_gunicorn_conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/aether_fastapi_gunicorn_conf.py b/conf/aether_fastapi_gunicorn_conf.py index 2b8c8e1..9992672 100644 --- a/conf/aether_fastapi_gunicorn_conf.py +++ b/conf/aether_fastapi_gunicorn_conf.py @@ -6,8 +6,8 @@ loglevel = os.getenv('AE_LOG_LVL', 'warning') accesslog = "-" # stdout errorlog = "-" # stderr -# Disable control socket to prevent permission issues on volume mounts -control_socket = None +# Use /dev/shm for the control socket to avoid permission issues on volume mounts +control_socket = "/dev/shm/gunicorn.ctl" # ... (existing bind/chdir) ... bind = "0.0.0.0:5005"