Comments (8)
Hello @j1pe
Can you check which Apache version that you use with your Synology ? Apache 2.2 or 2.4 ?
(You can check this by adding a file phpinfo.php
with the content <?php phpinfo(); ?>
at the root of your web-server),
Search for the string _SERVER["SERVER_SOFTWARE"]
in the results to see the version of Apache currently used.
When you have found the right Apache 2.2 or 2.4 used by your Synology, check the xsendfile file associated.
vi /etc/httpd/conf/extra/mod_xsendfile.conf-user # Synology DSM5
vi /volume1/@appstore/WebStation/usr/local/etc/httpd/conf/extra/mod_xsendfile.conf-user # Synology DSM6
vi /volume1/@appstore/Apache2.2/usr/local/etc/apache22/conf/extra/mod_xsendfile.conf # Synology DSM6 for package Apache 2.2
vi /volume1/.4/usr/local/etc/apache24/conf/extra/mod_xsendfile.conf # Synology DSM6 for package Apache 2.4
For the next updates and evolution of DSM version and package version, it's possible to use the following command to find the right mod_xsendfile.conf via SSH : find / -name "*xsendfile*conf*"
Try the latest SSH command to find all xsendfile on your Synology if needed.
I have realised a Bash script to maintain the xsendfile for your KodiWebPortal even if the NAS reboots or if the package is reset (see here : https://github.com/yanncam/KodiWebPortal/blob/master/enableDownload.sh). You can put this script in a cronjob on your DSM.
Please check this again to be sure that the edited xsendfile is correctly used by the loaded version of PHP/Apache on your NAS.
Sincerely,
`
from kodiwebportal.
Thank you for your quick response.
I'm in version 2.4. The modified file is the right one.
I found an error in the file path on KodiWebPortal
Entre le chemin et le nom du fichier, il manque un /
Dans ma base de donnée, le chemin est bon (et fonctionne bien avec Kodi)
I don't know what the problem is, but I think it's the cause.
Thank you for your help.
from kodiwebportal.
Hum, ok, I see.
Can you double-check your config.php
file of KodiWebPortal ? To be sure that these directives contain a trailing slash ?
define("NAX_MOVIES_LOCAL_PATH", "/volume1/MEDIATHEQUE/"); // Local path where are movies
define("NAX_MOVIES_REMOTE_PATH", "smb://NAX/MEDIATHEQUE/"); // Location of movies in Kodi DB
define("NAX_TVSHOW_LOCAL_PATH", "/volume1/MEDIATHEQUE/"); // Local path where are TVshow
define("NAX_TVSHOW_REMOTE_PATH", "smb://NAX/MEDIATHEQUE/"); // Location of TVshow in Kodi DB
You have to set the trailing slash like /volume1/MEDIATHEQUE/
, not /volume1/MEDIATHEQUE
, can you check this ? :)
from kodiwebportal.
I forgot all about the "/.
Thanks
However that does not solve my problem of downloading at 3 bytes
from kodiwebportal.
Can you check the Apache / PHP log file on your NAS when you try to download a file ?
from kodiwebportal.
I find my F***** problem.
It's Virtual Host, I configured this with my foot.
I'm sorry and thank you for your help and yourgreat job !!!
from kodiwebportal.
No problem, glad to see that it's fix :) !
Have a nice confined day ! :)
from kodiwebportal.
Have a nice confined day ! :)
Thanks you too
from kodiwebportal.
Related Issues (20)
- Default action when tvshow is clicked HOT 2
- bug from version 1.1.1 Movies HOT 5
- [mod_xsendfile.conf] Synology package upgrade reset the XSendFilePath directive (download not working) HOT 1
- Download files with ä ö ü dos not work HOT 2
- Feature Request: View Files also HOT 7
- Ldap Login error HOT 3
- Multiple Movie and TV Shows path in config.php HOT 2
- TV Series no Media Info visible HOT 8
- scrollbar not visible on large resolution HOT 2
- Installation nginx/php/mysql on debian HOT 2
- No artwork for TVShows HOT 8
- Exposure of username/password in file path HOT 1
- Problem with hashed password HOT 3
- No tvshow covers displayed HOT 3
- Sort by name HOT 2
- Scrolling not possible on browser in 1440p Resolution HOT 1
- Feature request: Is it possible to add actors and directors ? HOT 1
- Titel height HOT 1
- mistake from version 1.1.1 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kodiwebportal.