Skip to content

[BUG] Issue upgrading from 1.16 to latest 2.7.1 #44

@cvocvo

Description

@cvocvo

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I upgraded my docker container from 1.16.0 to 2.7.1 and now am getting a 502 Bad Gateway error on the web interface. In the logs I get this error:
s6-applyuidgid: fatal: unable to exec gunicorn: No such file or directory

Full log below.

Expected Behavior

Should launch successfully. I did try installing gunicorn on my host system which made no difference.

Steps To Reproduce

  1. I was running an old BabyBuddy docker container v1.16.0
  2. Pulled the latest 2.7.1
  3. Launched the new docker container and got the errors above. I am using Portainer + Docker if that makes any difference.

Environment

- OS:Debian 12
- Docker: Docker version 28.3.1, build 38b7060
- Portainer: Portainer Community Edition 2.27.9 LTS
- How docker service was installed: Via CLI

CPU architecture

arm64

Docker creation

Will paste in follow-up comment, can't seem to paste a screenshot here.

Container logs

[migrations] started

[migrations] 01-nginx-site-confs-default: skipped

[migrations] 02-default-location: skipped

[migrations] done

usermod: no changes

───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗

      ██║     ██╔════╝██║██╔═══██╗

      ██║     ███████╗██║██║   ██║

      ██║     ╚════██║██║██║   ██║

      ███████╗███████║██║╚██████╔╝

      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io

───────────────────────────────────────

To support the app dev(s) visit:

BabyBuddy: https://github.com/sponsors/cdubz

To support LSIO projects visit:

https://www.linuxserver.io/donate/

───────────────────────────────────────

GID/UID

───────────────────────────────────────

User UID:    1000

User GID:    1000

───────────────────────────────────────

Linuxserver.io version: v2.7.1-ls198

Build-date: 2025-07-06T21:28:35+00:00

───────────────────────────────────────

    

using keys found in /config/keys

Traceback (most recent call last):

  File "/app/www/public/manage.py", line 4, in <module>

    from dotenv import load_dotenv, find_dotenv

ModuleNotFoundError: No module named 'dotenv'

Traceback (most recent call last):

  File "/app/www/public/manage.py", line 4, in <module>

    from dotenv import load_dotenv, find_dotenv

ModuleNotFoundError: No module named 'dotenv'

**** The following active confs have different version dates than the samples that are shipped. ****

**** This may be due to user customization or an update to the samples. ****

**** You should compare the following files to the samples in the same folder and update them. ****

**** Use the link at the top of the file to view the changelog. ****

┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐

│  old date  │  new date  │ path                                                                   │

├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤

│ 2022-08-20 │ 2023-08-13 │ /config/nginx/ssl.conf                                                 │

│ 2022-08-16 │ 2024-05-27 │ /config/nginx/nginx.conf                                               │

│ 2022-11-23 │ 2024-07-16 │ /config/nginx/site-confs/default.conf                                  │

└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘

[custom-init] No custom files found, skipping...

s6-applyuidgid: fatal: unable to exec gunicorn: No such file or directory

s6-applyuidgid: fatal: unable to exec gunicorn: No such file or directory

s6-applyuidgid: fatal: unable to exec gunicorn: No such file or directory

s6-applyuidgid: fatal: unable to exec gunicorn: No such file or directory

s6-applyuidgid: fatal: unable to exec gunicorn: No such file or directory

s6-applyuidgid: fatal: unable to exec gunicorn: No such file or directory

s6-applyuidgid: fatal: unable to exec gunicorn: No such file or directory

s6-applyuidgid: fatal: unable to exec gunicorn: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions