Okay, I tried multiple things.
1. Noticed that `watcher.py` is in that dir, but not `watcher3.py`. Ran `/opt/bin/python3 watcher.py --userdata config --conf config/config.ini`, and it appeared to work on port 9090, with none of my data loaded. Below is the output
Code: Select all
Specified userdata directory created.
Creating database file /share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/config/watcher.sqlite
Creating tables.
Connected to database sqlite:////share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/config/watcher.sqlite
## Config file not found. Creating new basic config config/config.ini. Please review settings.
Clearing Mako cache.
[29/Jan/2020:14:08:28] ENGINE Listening for SIGTERM.
[29/Jan/2020:14:08:28] ENGINE Listening for SIGHUP.
[29/Jan/2020:14:08:28] ENGINE Listening for SIGUSR1.
[29/Jan/2020:14:08:28] ENGINE Bus STARTING
[29/Jan/2020:14:08:29] ENGINE Serving on http://0.0.0.0:9090
[29/Jan/2020:14:08:29] ENGINE Bus STARTED
[29/Jan/2020:14:08:44] ENGINE Started monitor thread 'Session cleanup'.
- http requests ommitted -
^C[29/Jan/2020:14:09:21] ENGINE Keyboard Interrupt: shutting down bus
[29/Jan/2020:14:09:21] ENGINE Bus STOPPING
[29/Jan/2020:14:09:21] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 9090)) shut down
[29/Jan/2020:14:09:21] ENGINE Stopped thread 'Session cleanup'.
Stopping scheduled task: Movie Search
Stopping scheduled task: Update Checker
Stopping scheduled task: Metadata Update
Stopping scheduled task: Postprocessed Paths Scan
[29/Jan/2020:14:09:21] ENGINE Bus STOPPED
[29/Jan/2020:14:09:21] ENGINE Bus EXITING
[29/Jan/2020:14:09:21] ENGINE Bus EXITED
[29/Jan/2020:14:09:21] ENGINE Waiting for child threads to terminate...
2. I then renamed watcher.py to watcher3.py and tried to restart it via the QNAP console, did not run on either 5070 or 9090.
3. Ran LazyLibrarian with this command:
Code: Select all
[/share/CACHEDEV1_DATA/.qpkg/LazyLibrarian/LazyLibrarian] # /opt/bin/python3 LazyLibrarian.py --conf config/config.ini
Similar to watcher, no data, but running
Code: Select all
Lazylibrarian (pid 27030) is starting up...
29-Jan-2020 14:11:29 - INFO :: MAIN : __init__.py:initialize:765 : Log (Rotating) Level set to [1]- Log Directory is [/share/CACHEDEV1_DATA/.qpkg/LazyLibrarian/LazyLibrarian/Logs] - Config level is [1]
29-Jan-2020 14:11:29 - INFO :: MAIN : __init__.py:initialize:771 : Screen Log set to INFO
29-Jan-2020 14:11:29 - INFO :: MAIN : __init__.py:config_read:1159 : Config file loaded
29-Jan-2020 14:11:30 - INFO :: MAIN : __init__.py:initialize:838 : Database is version 0, integrity check: ok
29-Jan-2020 14:11:30 - INFO :: MAIN : common.py:logHeader:1229 : Checking TLS version, you can ignore any "InsecureRequestWarning" message
/opt/lib/python3.7/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
29-Jan-2020 14:11:31 - WARNING :: MAIN : __init__.py:initialize:864 : magic: missing
29-Jan-2020 14:11:31 - INFO :: MAIN : __init__.py:build_genres:1777 : Loaded genres from /share/CACHEDEV1_DATA/.qpkg/LazyLibrarian/LazyLibrarian/example.genres.json
29-Jan-2020 14:11:31 - INFO :: MAIN : __init__.py:build_bookstrap_themes:1762 : Bookstrap found 16 themes
29-Jan-2020 14:11:32 - INFO :: MAIN : versioncheck.py:logmsg:41 : New version is available. You are 57 commits behind
29-Jan-2020 14:11:32 - ERROR :: MAIN : database.py:_action:92 : Database OperationalError: no such table: jobs
29-Jan-2020 14:11:32 - ERROR :: MAIN : database.py:_action:93 : Failed query: [UPDATE jobs SET LastRun = ? WHERE Name = ?]
29-Jan-2020 14:11:32 - WARNING :: MAIN : LazyLibrarian.py:main:252 : Looking for Apprise library: No module named 'apprise'
29-Jan-2020 14:11:32 - INFO :: MAIN : LazyLibrarian.py:main:267 : Starting LazyLibrarian on port: 5299, webroot ""
29-Jan-2020 14:11:32 - INFO :: MAIN : webStart.py:initialize:66 : Starting LazyLibrarian web server on http://0.0.0.0:5299/
29-Jan-2020 14:11:32 - ERROR :: MAIN : database.py:_action:92 : Database OperationalError: no such table: jobs
29-Jan-2020 14:11:32 - ERROR :: MAIN : database.py:_action:93 : Failed query: [SELECT LastRun from jobs WHERE Name=?]
29-Jan-2020 14:11:32 - ERROR :: MAIN : database.py:_action:92 : Database OperationalError: no such table: Series
29-Jan-2020 14:11:32 - ERROR :: MAIN : database.py:_action:93 : Failed query: [SELECT SeriesName,SeriesID,Updated from Series where Status="Active" or Status="Wanted" order by Updated ASC]
29-Jan-2020 14:11:32 - ERROR :: MAIN : database.py:_action:92 : Database OperationalError: no such table: jobs
29-Jan-2020 14:11:32 - ERROR :: MAIN : database.py:_action:93 : Failed query: [SELECT LastRun from jobs WHERE Name=?]
29-Jan-2020 14:11:33 - INFO :: DB_UPGRADE : dbupgrade.py:dbupgrade:162 : Creating new database, version 58
29-Jan-2020 14:11:33 - ERROR :: MAIN : database.py:_action:92 : Database OperationalError: no such table: jobs
29-Jan-2020 14:11:33 - ERROR :: MAIN : database.py:_action:93 : Failed query: [SELECT LastRun from jobs WHERE Name=?]
29-Jan-2020 14:11:33 - ERROR :: MAIN : database.py:_action:92 : Database OperationalError: no such table: jobs
29-Jan-2020 14:11:33 - ERROR :: MAIN : database.py:_action:93 : Failed query: [SELECT LastRun from jobs WHERE Name=?]
29-Jan-2020 14:11:33 - INFO :: DB_UPGRADE : dbupgrade.py:check_db:519 : Database check found 0 errors
29-Jan-2020 14:11:33 - INFO :: DB_UPGRADE : dbupgrade.py:dbupgrade:285 : Database updated to version 58
29-Jan-2020 14:12:32 - ERROR :: POSTPROCESS : postprocess.py:processDir:487 : No download directories are configured
29-Jan-2020 14:12:33 - INFO :: POSTPROCESS : postprocess.py:processDir:1051 : 0 downloads processed.
29-Jan-2020 14:12:33 - INFO :: POSTPROCESS : postprocess.py:processDir:1056 : Found 0 unprocessed
29-Jan-2020 14:12:33 - INFO :: POSTPROCESS : postprocess.py:processDir:1159 : Nothing marked as snatched or seeding. Stopping postprocessor.
29-Jan-2020 14:12:33 - INFO :: CRON-VERSIONCHECK : versioncheck.py:logmsg:41 : New version is available. You are 57 commits behind