linuxserver/docker-bazarr

Bazaar failing to load and getting timeouts since last update.

Opened this issue · 6 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Docker timing out or not loading, image is starting in unraid but not accessible have to restart docker to get access Errors in logs.

Expected Behavior

expected to run and be accessible no responsive since last update.

Steps To Reproduce

Faulty since last update.

Environment

- OS:Unraid 6.12.10
- Installed via unraid apps

CPU architecture

x86-64

Docker creation

Standard Install via Unraid apps.

Container logs

text  error  warn  system  array  login  

/app/bazarr/bin/bazarr/../custom_libs/subzero/language.py:165: SyntaxWarning: invalid escape sequence '\.'
  IETF_MATCH = ".+\.([^-.]+)(?:-[A-Za-z]+)?$"
/app/bazarr/bin/bazarr/../custom_libs/subzero/language.py:166: SyntaxWarning: invalid escape sequence '\.'
  ENDSWITH_LANGUAGECODE_RE = re.compile("\.([^-.]{2,3})(?:-[A-Za-z]{2,})?$")
/app/bazarr/bin/bazarr/../custom_libs/subzero/language.py:170: SyntaxWarning: invalid escape sequence '\.'
  language_match = re.match(".+\.([^\.]+)$" if not ietf
2024-07-07 14:55:56,594 - root                             (15470ad36b28) :  ERROR (check_update:33) - Error trying to get releases from Github. Connection Error.
Connection to localhost (127.0.0.1) 6767 port [tcp/*] succeeded!
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr/main.py", line 63, in <module>
    load_language_in_db()
  File "/app/bazarr/bin/bazarr/languages/get_languages.py", line 29, in load_language_in_db
    database.execute(
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/orm/scoping.py", line 778, in execute
    return self._proxied.execute(
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/orm/session.py", line 2306, in execute
    return self._execute_internal(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/orm/session.py", line 2191, in _execute_internal
    result: Result[Any] = compile_state_cls.orm_execute_statement(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/orm/bulk_persistence.py", line 1596, in orm_execute_statement
    result = _bulk_update(
             ^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/orm/bulk_persistence.py", line 328, in _bulk_update
    persistence._emit_update_statements(
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/orm/persistence.py", line 912, in _emit_update_statements
    c = connection.execute(
        ^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/engine/base.py", line 1408, in execute
    return meth(
           ^^^^^
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/sql/elements.py", line 513, in _execute_on_connection
    return connection._execute_clauseelement(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/engine/base.py", line 1630, in _execute_clauseelement
    ret = self._execute_context(
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/engine/base.py", line 1803, in _execute_context
    conn = self._revalidate_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/sqlalchemy/engine/base.py", line 670, in _revalidate_connection
    raise exc.ResourceClosedError("This Connection is closed")
sqlalchemy.exc.ResourceClosedError: This Connection is closed
[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:    99
User GID:    100
───────────────────────────────────────
Linuxserver.io version: v1.4.3-ls257
Build-date: 2024-07-05T09:37:22+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
[ls.io-init] done.

** Press ANY KEY to close this window **

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

Get the docker run for the container. https://docs.linuxserver.io/general/how-to-get-support/#how-to-get-support

I'm experiencing the same issue. Here is the link to my docker run.

https://gist.github.com/wcorybeck/816b8049d9c731c3a55d9163611f3916

I'm also experiencing this. Tried pulling the image minutes before posting but did not change the result:

  bazarr:
    container_name: bazarr
    image: linuxserver/bazarr:latest
    restart: always
    environment:
      PUID: 1000
      PGID: 1000
      TZ: America/New_York
    volumes:
      - ./bazarr:/config
      - media:/media

This is the config I've had since I started using bazarr a few months ago.

I see this error message for every file in my library:

ERROR (video_analyzer:288) - BAZARR mediainfo cannot analyze this video file

At the bottom of the output, I see this:

+-------------------------------------------------------+
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr/../libs/knowit/api.py", line 59, in know
    result = provider.describe(video_path, context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/knowit/providers/mediainfo.py", line 337, in describe
    result = self._describe_tracks(video_path, general_tracks[0] if general_tracks else {},
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/knowit/provider.py", line 66, in _describe_tracks
    t = self._validate_track(track_type, self._describe_track(track, track_type, context))
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/knowit/provider.py", line 114, in _describe_track
    value = rule.execute(props, pv_props, context)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/knowit/rules/audio.py", line 56, in execute
    c += Decimal(i)
         ^^^^^^^^^^
decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]

+-------------------------------------------------------+
|      Please report any bug or feature request at      |
|       https://github.com/ratoaq2/knowit/issues.       |
+-------------------------------------------------------+

It looks like this bug has already been fixed in the latest release of the dependency: ratoaq2/knowit#87

Seems Bazarr needs to upgrade.

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has definitely not been resolved