Jump to content

[Support] Linuxserver.io - Tautulli


Recommended Posts

Error on settings Page (http://tautulli:8181/settings), App loads and works fine. VERSION V2.13.3

If anyone has a clue please let me know. Thanks in advance.

image.thumb.png.2b151878c363e2f4f62048bebdd22868.png

 

Error !
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
</tr> <tr> <td>System Language:</td> <td>${plexpy.SYS_LANGUAGE + (' (override {})'.format(plexpy.CONFIG.PMS_LANGUAGE) if plexpy.CONFIG.PMS_LANGUAGE else '')}</td> </tr> <tr> <td>Python Version:</td> <td>${sys.version}</td> </tr>
/app/tautulli/data/interfaces/default/configuration_table.html, line 77:
<td>${plexpy.SYS_LANGUAGE + (' (override {})'.format(plexpy.CONFIG.PMS_LANGUAGE) if plexpy.CONFIG.PMS_LANGUAGE else '')}</td>
/app/tautulli/lib/mako/runtime.py, line 936:
callable_(context, *args, **kwargs)
/app/tautulli/lib/mako/runtime.py, line 948:
result = template.error_handler(context, error)
/app/tautulli/lib/mako/runtime.py, line 938:
_render_error(template, context, compat.exception_as())
/app/tautulli/lib/mako/runtime.py, line 916:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/app/tautulli/lib/mako/runtime.py, line 874:
_render_context(
/app/tautulli/lib/mako/template.py, line 439:
return runtime._render(self, self.callable_, args, data)
/app/tautulli/plexpy/webserve.py, line 143:
return template.render(http_root=http_root, server_name=server_name, cache_param=cache_param,

 

Edited by Unraid-arr
Version added
Link to comment

Update #3

Ran the docker update and v2.13.4 resolved the issue

 

Update #2

looks like there is an update for this issue. I'm sure it will be here for us shortly.

 

Tautulli github

 

v2.13.4 (2023-12-07)

UI:

Fix: Tautulli configuration settings page not loading when system language is None.

Fix: Login cookie expiring too quickly.

---------------------

 

(UPDATE #1: downgraded Tautulli v2.13.3 back to Tautulli v2.13.2 to clear the issue linuxserver/tautulli:2.13.2

Waiting for more information about the error)

 

Same error today after plugin update

UNRAID v 6.12.4

Tautulli v2.13.3

 

 

SETTINGS PAGE:

 

Tautulli Configuration

Error !

TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

</tr> <tr> <td>System Language:</td> <td>${plexpy.SYS_LANGUAGE + (' (override {})'.format(plexpy.CONFIG.PMS_LANGUAGE) if plexpy.CONFIG.PMS_LANGUAGE else '')}</td> </tr> <tr> <td>Python Version:</td> <td>${sys.version}</td> </tr>

/app/tautulli/data/interfaces/default/configuration_table.html, line 77:

<td>${plexpy.SYS_LANGUAGE + (' (override {})'.format(plexpy.CONFIG.PMS_LANGUAGE) if plexpy.CONFIG.PMS_LANGUAGE else '')}</td>

/app/tautulli/lib/mako/runtime.py, line 936:

callable_(context, *args, **kwargs)

/app/tautulli/lib/mako/runtime.py, line 948:

result = template.error_handler(context, error)

/app/tautulli/lib/mako/runtime.py, line 938:

_render_error(template, context, compat.exception_as())

/app/tautulli/lib/mako/runtime.py, line 916:

_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)

/app/tautulli/lib/mako/runtime.py, line 874:

_render_context(

/app/tautulli/lib/mako/template.py, line 439:

return runtime._render(self, self.callable_, args, data)

/app/tautulli/plexpy/webserve.py, line 143:

return template.render(http_root=http_root, server_name=server_name, cache_param=cache_param,

 

Edited by CarlP
Link to comment
On 12/4/2023 at 12:31 PM, Unraid-arr said:

Error on settings Page (http://tautulli:8181/settings), App loads and works fine. VERSION V2.13.3

If anyone has a clue please let me know. Thanks in advance.

image.thumb.png.2b151878c363e2f4f62048bebdd22868.png

 

Error !
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
</tr> <tr> <td>System Language:</td> <td>${plexpy.SYS_LANGUAGE + (' (override {})'.format(plexpy.CONFIG.PMS_LANGUAGE) if plexpy.CONFIG.PMS_LANGUAGE else '')}</td> </tr> <tr> <td>Python Version:</td> <td>${sys.version}</td> </tr>
/app/tautulli/data/interfaces/default/configuration_table.html, line 77:
<td>${plexpy.SYS_LANGUAGE + (' (override {})'.format(plexpy.CONFIG.PMS_LANGUAGE) if plexpy.CONFIG.PMS_LANGUAGE else '')}</td>
/app/tautulli/lib/mako/runtime.py, line 936:
callable_(context, *args, **kwargs)
/app/tautulli/lib/mako/runtime.py, line 948:
result = template.error_handler(context, error)
/app/tautulli/lib/mako/runtime.py, line 938:
_render_error(template, context, compat.exception_as())
/app/tautulli/lib/mako/runtime.py, line 916:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/app/tautulli/lib/mako/runtime.py, line 874:
_render_context(
/app/tautulli/lib/mako/template.py, line 439:
return runtime._render(self, self.callable_, args, data)
/app/tautulli/plexpy/webserve.py, line 143:
return template.render(http_root=http_root, server_name=server_name, cache_param=cache_param,

 

Thanks for the quick fix on this. Updated today and this issue is fixed.

 

image.thumb.png.c373a96726d4f21bbaecc4dc2bcbf623.png

Link to comment
  • 1 month later...

Hey,

i just installed tautulli and startet it up. i was not able to login with my plex user account so i created a tautulli user.

i was able to find my server and choose it from the dropdown with the right name, but if i try to verify it says:

 Server found but unable to connect websocket.
Check the logs for errors.

 

i also was able to fetch a new token, but it always says unable to connect websocket.

 

in the logs i found this:

 

Tautulli WebSocket :: Handshake status 401 Unauthorized -+-+- {'x-plex-protocol': '1.0', 'access-control-expose-headers': 'Location, Date', 'access-control-allow-origin': 'https://app.plex.tv', 'vary': 'Origin, X-Plex-Token', 'content-length': '91', 'content-type': 'text/html', 'connection': 'close', 'cache-control': 'no-cache', 'date': 'Sat, 20 Jan 2024 19:01:47 GMT'} -+-+- b'<html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>'.

 

but i dont know what it tells me or what i have to do or change.

 

 

anyone can help?

Edited by derjp
Link to comment
  • 1 month later...

I can't view the UI anymore out of nowhere.  Not sure what is going on, this error appears in my logs. Anyone know what is going on?

2024-02-22 14:37:34 - ERROR :: MainThread : Tautulli Database :: Database error: ambiguous column name: on_pause
2024-02-22 14:37:34 - ERROR :: MainThread : Uncaught exception: Traceback (most recent call last):
  File "/app/tautulli/Tautulli.py", line 324, in <module>
    main()
  File "/app/tautulli/Tautulli.py", line 247, in main
    plexpy.start()
  File "/app/tautulli/plexpy/__init__.py", line 572, in start
    notifiers.check_browser_enabled()
  File "/app/tautulli/plexpy/notifiers.py", line 4484, in check_browser_enabled
    for n in get_notifiers():
             ^^^^^^^^^^^^^^^
  File "/app/tautulli/plexpy/notifiers.py", line 510, in get_notifiers
    result = db.select(
             ^^^^^^^^^^
  File "/app/tautulli/plexpy/database.py", line 455, in select
    sql_results = self.action(query, args).fetchall()
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/tautulli/plexpy/database.py", line 433, in action
    sql_result = c.execute(query, args)
                 ^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: ambiguous column name: on_pause

Traceback (most recent call last):
  File "/app/tautulli/Tautulli.py", line 324, in <module>
    main()
  File "/app/tautulli/Tautulli.py", line 247, in main
    plexpy.start()
  File "/app/tautulli/plexpy/__init__.py", line 572, in start
    notifiers.check_browser_enabled()
  File "/app/tautulli/plexpy/notifiers.py", line 4484, in check_browser_enabled
    for n in get_notifiers():
             ^^^^^^^^^^^^^^^
  File "/app/tautulli/plexpy/notifiers.py", line 510, in get_notifiers
    result = db.select(
             ^^^^^^^^^^
  File "/app/tautulli/plexpy/database.py", line 455, in select
    sql_results = self.action(query, args).fetchall()
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/tautulli/plexpy/database.py", line 433, in action
    sql_result = c.execute(query, args)
                 ^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: ambiguous column name: on_pause

 

Link to comment
On 2/22/2024 at 7:42 PM, brisimmons105 said:

I can't view the UI anymore out of nowhere.  Not sure what is going on, this error appears in my logs. Anyone know what is going on?

2024-02-22 14:37:34 - ERROR :: MainThread : Tautulli Database :: Database error: ambiguous column name: on_pause
2024-02-22 14:37:34 - ERROR :: MainThread : Uncaught exception: Traceback (most recent call last):
  File "/app/tautulli/Tautulli.py", line 324, in <module>
    main()
  File "/app/tautulli/Tautulli.py", line 247, in main
    plexpy.start()
  File "/app/tautulli/plexpy/__init__.py", line 572, in start
    notifiers.check_browser_enabled()
  File "/app/tautulli/plexpy/notifiers.py", line 4484, in check_browser_enabled
    for n in get_notifiers():
             ^^^^^^^^^^^^^^^
  File "/app/tautulli/plexpy/notifiers.py", line 510, in get_notifiers
    result = db.select(
             ^^^^^^^^^^
  File "/app/tautulli/plexpy/database.py", line 455, in select
    sql_results = self.action(query, args).fetchall()
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/tautulli/plexpy/database.py", line 433, in action
    sql_result = c.execute(query, args)
                 ^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: ambiguous column name: on_pause

Traceback (most recent call last):
  File "/app/tautulli/Tautulli.py", line 324, in <module>
    main()
  File "/app/tautulli/Tautulli.py", line 247, in main
    plexpy.start()
  File "/app/tautulli/plexpy/__init__.py", line 572, in start
    notifiers.check_browser_enabled()
  File "/app/tautulli/plexpy/notifiers.py", line 4484, in check_browser_enabled
    for n in get_notifiers():
             ^^^^^^^^^^^^^^^
  File "/app/tautulli/plexpy/notifiers.py", line 510, in get_notifiers
    result = db.select(
             ^^^^^^^^^^
  File "/app/tautulli/plexpy/database.py", line 455, in select
    sql_results = self.action(query, args).fetchall()
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/tautulli/plexpy/database.py", line 433, in action
    sql_result = c.execute(query, args)
                 ^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: ambiguous column name: on_pause

 

 

The solution posted in https://github.com/Tautulli/Tautulli/issues/2183#issuecomment-1783969324 worked for me if you're comfortable with running commands on a sqlite database.

Link to comment
  • 3 months later...

Hi, 

 

my tautulli doesn't track anymore.

The Plex server is OK. Tautulli don't tells me any failure with the communication.

The last tracked changes are two months ago. Did anything change and i need to do something manually?

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

User UID:    99
User GID:    100
───────────────────────────────────────

[custom-init] No custom files found, skipping...
2024-06-02 11:54:32 - INFO :: MainThread : Starting Tautulli v2.14.2
2024-06-02 11:54:32 - INFO :: MainThread : [Docker] Linux 5.19.17-Unraid (#2 SMP PREEMPT_DYNAMIC Wed Nov 2 11:54:15 PDT 2022 - Alpine Linux 3.19.1)
2024-06-02 11:54:32 - INFO :: MainThread : Europe/Berlin (UTC+0200)
2024-06-02 11:54:32 - INFO :: MainThread : Language None / Encoding UTF-8
2024-06-02 11:54:32 - INFO :: MainThread : Python 3.11.9 (main, Apr 14 2024, 13:40:00) [GCC 13.2.1 20231014]
2024-06-02 11:54:32 - INFO :: MainThread : SQLite 3.44.2
2024-06-02 11:54:32 - INFO :: MainThread : Program Dir: /app/tautulli
2024-06-02 11:54:32 - INFO :: MainThread : Config File: /config/config.ini
2024-06-02 11:54:32 - INFO :: MainThread : Database File: /config/tautulli.db
2024-06-02 11:54:32 - INFO :: MainThread : Checking if the database upgrades are required...
2024-06-02 11:54:32 - INFO :: MainThread : Checking if configuration upgrades are required...
2024-06-02 11:54:32 - INFO :: MainThread : Retrieving latest version information from GitHub
2024-06-02 11:54:32 - DEBUG :: MainThread : Requesting URL via GET method: https://api.github.com/repos/Tautulli/Tautulli/commits/master
2024-06-02 11:54:32 - DEBUG :: MainThread : Latest version is 795d568df2431c14ae4a2d1e1ee7716c94d07e0e
2024-06-02 11:54:32 - INFO :: MainThread : Comparing currently installed version with latest GitHub version
2024-06-02 11:54:32 - DEBUG :: MainThread : Requesting URL via GET method: https://api.github.com/repos/Tautulli/Tautulli/compare/v2.14.2...795d568df2431c14ae4a2d1e1ee7716c94d07e0e
2024-06-02 11:54:32 - DEBUG :: MainThread : In total, 0 commits behind
2024-06-02 11:54:32 - INFO :: MainThread : Tautulli is up to date
2024-06-02 11:54:32 - INFO :: Thread-1 (startup_refresh) : Tautulli PlexTV :: Requesting resources for server...
2024-06-02 11:54:32 - INFO :: Thread-1 (startup_refresh) : Tautulli PlexTV :: Pinging Plex.tv to refresh token.
2024-06-02 11:54:32 - INFO :: MainThread : Tautulli NotificationHandler :: Starting background notification handler (2 threads).
2024-06-02 11:54:33 - INFO :: MainThread : Tautulli WebStart :: Initializing Tautulli web server...
2024-06-02 11:54:33 - INFO :: MainThread : Tautulli WebStart :: Thread Pool Size: 10.
2024-06-02 11:54:33 - INFO :: MainThread : Tautulli WebStart :: Starting Tautulli web server on http://0.0.0.0:8181/
2024-06-02 11:54:33 - INFO :: Thread-1 (startup_refresh) : Tautulli Config :: Writing configuration to file
2024-06-02 11:54:33 - INFO :: Thread-1 (startup_refresh) : Tautulli PlexTV :: Using user-defined URL.
2024-06-02 11:54:33 - INFO :: Thread-1 (startup_refresh) : Tautulli PlexTV :: Selected server: Patflix (http://10.0.0.10:32400) (Linux - Version 1.40.2.8395-c67dce28e)
2024-06-02 11:54:33 - INFO :: Thread-1 (startup_refresh) : Tautulli Config :: Writing configuration to file
2024-06-02 11:54:33 - INFO :: Thread-1 (startup_refresh) : Tautulli Users :: Requesting users list refresh...
2024-06-02 11:54:33 - INFO :: MainThread : [02/Jun/2024:11:54:33] ENGINE Serving on http://0.0.0.0:8181
2024-06-02 11:54:33 - INFO :: MainThread : Tautulli is ready!
2024-06-02 11:54:33 - INFO :: Thread-1 (startup_refresh) : Tautulli Users :: Users list refreshed.
2024-06-02 11:54:33 - INFO :: Thread-1 (startup_refresh) : Tautulli Libraries :: Requesting libraries list refresh...
[ls.io-init] done.
2024-06-02 11:54:33 - DEBUG :: Thread-1 (startup_refresh) : Tautulli Pmsconnect :: No library data.
2024-06-02 11:54:33 - INFO :: Thread-1 (startup_refresh) : Tautulli Config :: Writing configuration to file
2024-06-02 11:54:33 - INFO :: Thread-1 (startup_refresh) : Tautulli Libraries :: Libraries list refreshed.
2024-06-05 19:33:24 - INFO :: CP Server Thread-13 : Tautulli Config :: Writing configuration to file
2024-06-07 08:15:38 - INFO :: CP Server Thread-13 : Tautulli Config :: Writing configuration to file

 thanks for any help

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...