Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Bazarr latest does not start #143

Closed
1 task done
puthre opened this issue Oct 21, 2024 · 4 comments
Closed
1 task done

[BUG] Bazarr latest does not start #143

puthre opened this issue Oct 21, 2024 · 4 comments

Comments

@puthre
Copy link

puthre commented Oct 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm trying to deploy the latest image using portainer and it does not start.
This is what I get in the logs:

To support the app dev(s) visit:

Bazarr: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XHHRWXT9YB7WE&source=url

To support LSIO projects visit:

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

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

GID/UID

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

User UID: 1000

User GID: 1000

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

Linuxserver.io version: v1.4.5-ls273

Build-date: 2024-10-15T21:27:15+00:00

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

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

Traceback (most recent call last):

File "/app/bazarr/bin/bazarr.py", line 10, in

from bazarr.app.get_args import args

File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in

from distutils.util import strtobool

ModuleNotFoundError: No module named 'distutils'

Traceback (most recent call last):

File "/app/bazarr/bin/bazarr.py", line 10, in

from bazarr.app.get_args import args

File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in

from distutils.util import strtobool

ModuleNotFoundError: No module named 'distutils'

Traceback (most recent call last):

File "/app/bazarr/bin/bazarr.py", line 10, in

from bazarr.app.get_args import args

File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in

from distutils.util import strtobool

ModuleNotFoundError: No module named 'distutils'

Traceback (most recent call last):

File "/app/bazarr/bin/bazarr.py", line 10, in

from bazarr.app.get_args import args

File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in

from distutils.util import strtobool

ModuleNotFoundError: No module named 'distutils'

Traceback (most recent call last):

File "/app/bazarr/bin/bazarr.py", line 10, in

from bazarr.app.get_args import args

File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in

from distutils.util import strtobool

ModuleNotFoundError: No module named 'distutils'

Traceback (most recent call last):

File "/app/bazarr/bin/bazarr.py", line 10, in

from bazarr.app.get_args import args

File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in

from distutils.util import strtobool

ModuleNotFoundError: No module named 'distutils'

Expected Behavior

Should start

Steps To Reproduce

In Debian
Tried to start latest container using portainer
Does not start, errors in logs

Environment

- OS:
Debian
- How docker service was installed:
Portainer

CPU architecture

x86-64

Docker creation

used portainer

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

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

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
Bazarr: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XHHRWXT9YB7WE&source=url

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v1.4.5-ls273
Build-date: 2024-10-15T21:27:15+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr.py", line 10, in <module>
    from bazarr.app.get_args import args
  File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in <module>
    from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr.py", line 10, in <module>
    from bazarr.app.get_args import args
  File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in <module>
    from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr.py", line 10, in <module>
    from bazarr.app.get_args import args
  File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in <module>
    from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr.py", line 10, in <module>
    from bazarr.app.get_args import args
  File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in <module>
    from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr.py", line 10, in <module>
    from bazarr.app.get_args import args
  File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in <module>
    from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr.py", line 10, in <module>
    from bazarr.app.get_args import args
  File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in <module>
    from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr.py", line 10, in <module>
    from bazarr.app.get_args import args
  File "/app/bazarr/bin/bazarr/app/get_args.py", line 6, in <module>
    from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@Roxedus
Copy link
Member

Roxedus commented Oct 21, 2024

It sounds very much like portainers poor handling of variables. https://info.linuxserver.io/issues/2023-05-22-portainer/
Cant know for sure until you post how the container is created in portainer

@puthre
Copy link
Author

puthre commented Oct 21, 2024

It sounds very much like portainers poor handling of variables. https://info.linuxserver.io/issues/2023-05-22-portainer/ Cant know for sure until you post how the container is created in portainer

Wow, that was exactly the issue, I didn't even entertain the idea that the containers are not entirely rebuilt. I've redone the container from scratch and all is good now.
Thank you!

@puthre puthre closed this as completed Oct 21, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Oct 21, 2024
@aptalca
Copy link
Member

aptalca commented Oct 21, 2024

Containers are recreated but portainer reads the internal vars from the old container and force sets them externally in the new container, which is one of the many reasons we recommend against portainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants