Forum Replies Created
-
Posted in: Allo USB Bundle
-
17. Juli 2019 at 9:47 #46340
Hallo der_mechaniker,
In der Datei ’scanner.log‘ speichert LMS Fehlermeldungen, wenn es zu Problemen beim Scannen des Musikordners kommt.
Falls z.B. ein Ordner nicht eingelesen werden kann, weil keine Zugriffsrechte bestehen, dann sollte sich eine Fehlermeldung in dieser Datei finden. Das kann die Fehlersuche deutlich vereinfachen.Viele Gruesse
16. Juli 2019 at 10:38 #46327Hallo
Das Problem scheint schon geloest zu sein, aber vielleicht fuer die Zukunft hilfreich: Unter
LMS --> Settings --> Advanced --> Dropdown: Logging
kann man das scanner.log einsehen. Auch kann man das Reporting Level fuer scan.scanner auf „Debug“ setzen. Das sollte beim Troubleshooting helfen.
15. Juli 2019 at 22:58 #46326Solution:
While I first thought ShairTunes2 LMS plugin might have played a role, my understanding now is that Php comes with its own version of openSSL.
Stack Overflow reveals that the error in many cases is triggered by a missing certificate.
While trying to download the recommended certificate I encountered something strange:$ wget https://curl.haxx.se/ca/cacert.pem --2019-07-15 22:35:35-- https://curl.haxx.se/ca/cacert.pem Resolving curl.haxx.se (curl.haxx.se)... 151.101.130.49, 151.101.194.49, 151.101.2.49, ... Connecting to curl.haxx.se (curl.haxx.se)|151.101.130.49|:443... connected. ERROR: The certificate of ‘curl.haxx.se’ is not trusted. ERROR: The certificate of ‘curl.haxx.se’ hasn't got a known issuer.
Turns out, the certificate store (here /etc/ssl/certs) was empty.
Luckily on Debian the solution is trivial:
sudo apt-get install ca-certificates
I can’t exclude the possibility that something else cleared the certificate store (couldn’t say what did), however, I strongly suggest to check your upgrade scripts.
15. Juli 2019 at 18:54 #46323Okay I guess I should add that running Philippe’s ShairTunes2 plugin requires a certain openSSL version if I remember correctly. That could be a factor here.
15. Juli 2019 at 18:42 #46322I hope this is helpful:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /var/www/max2play/application/model/CheckLicense.php on line 28 Warning: file_get_contents(): Failed to enable crypto in /var/www/max2play/application/model/CheckLicense.php on line 28 Warning: file_get_contents(https://XXX.com/XXX?email=XXX): failed to open stream: operation failed in /var/www/max2play/application/model/CheckLicense.php on line 28
15. Juli 2019 at 16:21 #46319Off-topic: I edited and submitted a post earlier, but I can’t see it now?
15. Juli 2019 at 16:20 #46318I did further troubleshooting:
Changing from eth0 to wlan0 did nothing to solve the issue.
I then checked DNS requests in pi-hole and it seems a successful (DNS) request is made after clicking the „Save“ button on the Settings tab.
Time Type Domain Client Status Reply Action 2019-07-15 15:12:46 A www.max2play.com 192.168.XXX.XXX OK (cached) IP (0.2ms) Blacklist 2019-07-15 15:12:46 AAAA www.max2play.com 192.168.XXX.XXX OK (cached) IP (0.2ms) Blacklist
Based on that I can only guess that either, low-level networking is borked in some way (which should be easy to troubleshoot), or, the license activation function somehow fails.
-