Closed Jalle19 closed 1 year ago
@alanmilinovic can you test this branch?
Hm, I got to the login page and after login I am getting error 500.
I did a fresh new installation and restored:
\var\www\html\xbmc-video-server\src\protected\data\xbmc-video-server.db
Do you have any additional details about the HTTP 500 error? You can check the application log for more information.
Do you have any additional details about the HTTP 500 error? You can check the application log for more information.
Where is the log file located?
If you mean on application log webpage, it is all empty, only information about logged in and logged out.
If you mean on application log webpage, it is all empty, only information about logged in and logged out.
That's the one I was thinking of.
But all in all, does the application work for you now with this branch?
If you mean on application log webpage, it is all empty, only information about logged in and logged out.
That's the one I was thinking of.
But all in all, does the application work for you now with this branch?
I can open application related pages like Settings, Log, Backend management, but main pages like browse Movies or TV Shows are not working and returning internal server error or error 500.
Can you see if you have an error log in /var/log/apache2
?
Can you see if you have an error log in
/var/log/apache2
?
Nothing usefull.
192.168.188.143 - - [11/Aug/2023:18:09:52 +0200] "GET /xbmc-video-server2 HTTP/1.1" 301 625 "-" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:52 +0200] "GET /xbmc-video-server2/ HTTP/1.1" 302 447 "-" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:52 +0200] "GET /xbmc-video-server2/src/site/login HTTP/1.1" 200 993 "-" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:52 +0200] "GET /xbmc-video-server2/src/css/login-min.css?1691738223 HTTP/1.1" 200 22755 "http://192.168.188.203:20530/xbmc-video-server2/src/site/login" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:52 +0200] "GET /fonts/lato/lato-v14-latin-700.woff2 HTTP/1.1" 404 496 "http://192.168.188.203:20530/xbmc-video-server2/src/css/login-min.css?1691738223" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:52 +0200] "GET /fonts/lato/lato-v14-latin-regular.woff2 HTTP/1.1" 404 497 "http://192.168.188.203:20530/xbmc-video-server2/src/css/login-min.css?1691738223" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:52 +0200] "GET /fonts/lato/lato-v14-latin-700.woff HTTP/1.1" 404 496 "http://192.168.188.203:20530/xbmc-video-server2/src/css/login-min.css?1691738223" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:52 +0200] "GET /fonts/lato/lato-v14-latin-regular.woff HTTP/1.1" 404 496 "http://192.168.188.203:20530/xbmc-video-server2/src/css/login-min.css?1691738223" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:52 +0200] "GET /favicon.ico HTTP/1.1" 404 496 "http://192.168.188.203:20530/xbmc-video-server2/src/site/login" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:54 +0200] "POST /xbmc-video-server2/src/site/login HTTP/1.1" 302 456 "http://192.168.188.203:20530/xbmc-video-server2/src/site/login" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36" 192.168.188.143 - - [11/Aug/2023:18:09:54 +0200] "GET /xbmc-video-server2/src/movie/recentlyAdded HTTP/1.1" 500 295 "http://192.168.188.203:20530/xbmc-video-server2/src/site/login" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36"
I'll have to install PHP 8 myself and have a look
I'll have to install PHP 8 myself and have a look
I agree, then you can debug it.
Pushed some fixes, still a bit work in progress
Pushed some fixes, still a bit work in progress
Main pages are working now, only images for movies and tv shows are not displayed. It is just an empty white space for cover.
Here is the error that I see in log.
`Imagine\Exception\RuntimeException: Gd not installed in /var/www/html/xbmc-video-server2/vendor/imagine/imagine/lib/Imagine/Gd/Imagine.php:172
Stack trace:
REQUEST_URI=/xbmc-video-server2/src/thumbnail/generate?path=image%3A%2F%2Fhttps%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252fiMg0DeR8BtMtlfGBWgRm23xPpGO.jpg%2F&size=160
HTTP_REFERER=http://192.168.188.203:20530/xbmc-video-server2/src/movie/recentlyAdded
---`
install
After sudo apt-get install php8.2-gd
I am getting different error:
`Imagine\Exception\RuntimeException: Unable to open image /tmp/xbmc-video-server-thumbnailegTWnQ in /var/www/html/xbmc-video-server2/vendor/imagine/imagine/lib/Imagine/Gd/Imagine.php:96
Stack trace:
REQUEST_URI=/xbmc-video-server2/src/thumbnail/generate?path=image%3A%2F%2Fhttps%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252f3B4MLYYr5WTjQiJMbA8fCFF8M4O.jpg%2F&size=160
HTTP_REFERER=http://192.168.188.203:20530/xbmc-video-server2/src/movie/recentlyAdded `
In developer tools I can see Internal server error 500 for thumbnails.
Thumbnails worked fine for me in my Vagrant box, but I'll do some more testing
Try removing GD and install Imagick instead
Try removing GD and install Imagick instead
Thanks, now it works with imagick.
Forgot to say, thank you very much for all the effort!
@alanmilinovic can you test this branch?