by275 / plex_autoscan

A maintained fork of Plex Autoscan
GNU General Public License v3.0
13 stars 2 forks source link

Error: peewee.OperationalError: no such table: scan_item I am not getting a queue.db created, assume its related #18

Closed jhr1948 closed 1 year ago

jhr1948 commented 1 year ago

Hi, i'm going crazy trying to figure out what i'm doing wrong. I cant get this fork to work on my ubuntu server (Linux Mint).

I setup a fresh setup (numerous times over the last 2 days) and i keep getting the error "Error: peewee.OperationalError: no such table: scan_item" for every file PAS recognizes.

Also, I noticed that there is no queue.db created, but I assume that its related to that. I am uploading the snippet of the log that shows the behavior.

Any help would be appreciated.

Thanks PAS_Log.txt

8a8al00ey commented 1 year ago

If you want to use file based db make sure you included --queuefile arg in the CLI.

jhr1948 commented 1 year ago

Adding the argument --queuefile seemed to fix it.

Quick question, i see the 2 commits added, should i manually fix those things in the db.py file?

8a8al00ey commented 1 year ago

You can ignore the first. The second "works" if you want to use the in memory option but may not be the proper fix. I would wait for the repo owner to review and possibly fix it properly.