Tautulli startup error: ModuleNotFoundError: no module named '_sqlite3'

TrueNAS Core version: TrueNAS-13.0-U6.2
Jail version: 13.1-RELEASE-p9 (from uname -a)
Tautulli version: Unable to determine, but last updated in the past 1-2 months using internal update mechanism
Last known to be working: ~2 months ago

Hello,
I recently could not access Tautulli through the web gui so I went to my jail to check the status of the service. Entering “pkg service taultulli” resulted in the following error:

  import sqlite3
  File "/usr/local/lib/python3.11/sqlite3/__init__.py", line 57, in <module>
    from sqlite3.dbapi2 import *
  File "/usr/local/lib/python3.11/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
/usr/local/etc/rc.d/tautulli: WARNING: failed to start tautulli

I made sure py39-sqlite3 was installed and it is. Does anyone have suggestions on how to proceed in solving this issue?

Thanks.

I think your problem is the version of SQL lite installed. From the error i see you are using python3.11, but you install the py39 SQL, maybe try the py311-sqlite3 package.
Probably you will need to check that all the dependency are updated the same, not only SQL lite.
And u still running jail on 13.1 release, when 13.2 is eol

Thank you so much @oxyde that package fixed it. And I also upgraded my jails so thank you for that advice too.

1 Like

Scripted Tautulli Installation (TrueNAS CORE)