jakewaldron / PlexEmail

This script aggregates all new TV, movie and music releases for the past configured time then optionally writes to your web directory and sends out an email.
206 stars 32 forks source link

PlexEmail Stopped working on FreeNAS #84

Closed Marcelofs1 closed 7 years ago

Marcelofs1 commented 7 years ago

PlexEmail was running fine since months ago. Suddenly, I stopped receiving the emails even when new movies were added. I have it running by a task in Freenas. I just enable some logging and got this error

File "/mnt/PLEX/jails/plexemail/PlexEmail/scripts/plexEmail.py", line 1, in import sqlite3 File "/usr/local/lib/python2.7/sqlite3/init.py", line 24, in from dbapi2 import File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28, in from _sqlite3 import ImportError: No module named _sqlite3

All phyton and db seems correct

Build | FreeNAS-11.0-U2 (e417d8aa5) Intel(R) Atom(TM) CPU C2750 @ 2.40GHz RAM - 16319MB

Marcelofs1 commented 7 years ago

Found the issue. As FreeNAS updated and FreeBSD package also updated, the sqlite has to be installed WITHIN PlexEmail jail using pkg install py27-sqlite3. I was checking and updated all the base sw but missed the jail itself.