Closed UNiXMIT closed 5 years ago
I clicked the button to check version and this is what I got:
2018-09-28 14:52:57 | DEBUG | UPDATES | versioncheck.py | logmsg | 43 | Update check complete
-- | -- | -- | -- | -- | -- | --
2018-09-28 14:52:57 | INFO | UPDATES | versioncheck.py | logmsg | 41 | Lazylibrarian is up to date
2018-09-28 14:52:57 | INFO | UPDATES | versioncheck.py | logmsg | 41 | Unable to get latest version from GitHub
2018-09-28 14:52:57 | DEBUG | UPDATES | versioncheck.py | logmsg | 43 | git SSLError for https://api.github.com/repos/dobytang/lazylibrarian/commits/master: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
2018-09-28 14:52:57 | WARNING | UPDATES | versioncheck.py | logmsg | 45 | Could not get the latest commit from github
2018-09-28 14:52:57 | DEBUG | UPDATES | versioncheck.py | logmsg | 43 | Retrieving latest version information from github command=[https://api.github.com/repos/dobytang/lazylibrarian/commits/master]
2018-09-28 14:52:57 | DEBUG | UPDATES | versioncheck.py | logmsg | 43 | Install type [git] Local Version is unchanged [e80a636cf54c482c3ddc08e85528127fe8e4e709]
2018-09-28 14:52:57 | DEBUG | UPDATES | versioncheck.py | logmsg | 43 | Updating [/opt/lazylibrarian/version.txt] with value [e80a636cf54c482c3ddc08e85528127fe8e4e709]
2018-09-28 14:52:57 | DEBUG | UPDATES | versioncheck.py | logmsg | 43 | Git output: [e80a636cf54c482c3ddc08e85528127fe8e4e709]
2018-09-28 14:52:57 | DEBUG | UPDATES | versioncheck.py | logmsg | 43 | Execute: "git rev-parse HEAD" with shell in /opt/lazylibrarian
Couple of things you can try, debug log level 2048 will give more info on goodreads communication, and on the config page is a "system info" button. Would be useful to see version numbers of the following libraries from that page... python urllib3 requests tls cherrypy openssl pyOpenSSL cryptography
Thanks.
The 'system info' button doesn't do anything for me.
I set the logs to 2048:
2018-09-28 15:31:51 | DEBUG | GR-RESULTS | gr.py | find_results | 75 | Error requesting results
-- | -- | -- | -- | -- | -- | --
2018-09-28 15:31:51 | DEBUG | GR-RESULTS | cache.py | get_cached_request | 242 | Got error response for https://www.goodreads.com/search.xml?q=sherlock+holmes&key=ckvsiSDsuqh7omh74ZZ6Q: Exception SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
2018-09-28 15:31:50 | DEBUG | GR-RESULTS | gr.py | find_results | 64 | Now searching GoodReads API with searchterm: sherlock holmes
2018-09-28 15:31:40 | INFO | WEBSERVER | webServe.py | clearLog | 3725 | Log cleared, level set to [2048]- Log Directory is [/home/unix/.lazylibrarian/Logs]
Thanks
Interesting. I just killed the process then started it again with:
sudo systemctl start lazylibrarian
Now it works.
The service must be getting started wrong at boot. I'll have to investigate that.
I'll close this now as it's some setup issue I guess.
To help with identifying and fixing issues, please include as much information as possible, including: LazyLibrarian version number - e80a636cf54c482c3ddc08e85528127fe8e4e709 Operating system - Linux Debian 9 Interface in use (default, bookstrap) - Bookstrap Which api (Goodreads, GoogleBooks, both) - Good Reads Source of your LazyLibrarian installation (git, zip file, 3rd party package) - git Debug log below. This is all that happened. Couldn't save the debug log because it gave me an internal 500 error.
My installation doesn't have any access to the internet. It did when I first installed it but then when I went back into the admin page a few days later I noticed a popup saying it couldn't access GitHub. Everything else on my machine can access the internet and the firewall is disabled so that's not it.
Any ideas? Any other tests I can do while in debug to force some better information?
Thanks