Page 1 of 1

404 Error on all Media Configuration Pages

PostPosted: Fri Jul 12, 2013 9:06 am
by bgaul
Hello together,

I have a problem with displaying all webpages that configure the media server settings for Firmware Version nwsp2 fvdw-sl 14.0 on the Lacie Network Space V2. Until yesterday everything worked well, but after powering it off and on again I can not access the webpages used for setup the media servers.

When I click on "Media Servers" the result is: "Not Found. The requested URL /media/system_MediaServer-minidlna.htm was not found on this server." This is the same for all media sites: Minidlna, Twonky, Firefly, Logitech, Mediatomb. All other configuration pages still work well.

A "tail /var/log/httpd/access_log" shows the errors:
Code: Select all
172.17.23.41 - admin-nas [12/Jul/2013:09:53:07 +0100] "GET /media/system_MediaServer-minidlna.htm HTTP/1.1" 404 235
172.17.23.41 - admin-nas [12/Jul/2013:09:53:08 +0100] "GET /media/system_MediaServer-twonky.htm HTTP/1.1" 404 233
172.17.23.41 - admin-nas [12/Jul/2013:09:53:09 +0100] "GET /media/system_MediaServer-firefly.htm HTTP/1.1" 404 234
172.17.23.41 - admin-nas [12/Jul/2013:09:53:10 +0100] "GET /media/system_MediaServer-logitech.htm HTTP/1.1" 404 235
172.17.23.41 - admin-nas [12/Jul/2013:09:53:11 +0100] "GET /media/system_MediaServer-mediatomb.htm HTTP/1.1" 404 236
172.17.23.41 - admin-nas [12/Jul/2013:09:53:12 +0100] "GET /global/home_m.xml HTTP/1.1" 200 141
172.17.23.41 - admin-nas [12/Jul/2013:09:53:12 +0100] "GET /global2/system_hwclock.xml HTTP/1.1" 200 69


A short check in the filesystem result in this:
Code: Select all
root@fvdwsl-base:/usr/htdocs # ls -ld media
drwxr-xr-x  2 root root 4096 2012-12-22 21:52 media
root@fvdwsl-base:/usr/htdocs # cd media
root@fvdwsl-base:/usr/htdocs/media # ls -l
total 76
-rw-r--r--  1 root root 6495 2012-11-30 18:24 system_MediaServer-firefly.htm
-rw-r--r--  1 root root 6285 2012-11-30 18:24 system_MediaServer.htm
-rw-r--r--  1 root root 1943 2008-01-03 21:06 system_MediaServer.htm.contrib
-rw-r--r--  1 root root 1956 2008-01-03 21:06 system_MediaServer.htm.contrib.1
-rw-r--r--  1 root root 6196 2012-11-30 18:24 system_MediaServer-logitech.htm
-rw-r--r--  1 root root 2759 2012-11-30 18:24 system_MediaServer-marvell.htm
-rw-r--r--  1 root root 6497 2012-11-30 18:24 system_MediaServer-mediatomb.htm
-rw-r--r--  1 root root 5682 2012-11-30 18:24 system_MediaServer-minidlna_a.htm
-rw-r--r--  1 root root 7996 2012-11-30 18:24 system_MediaServer-minidlna.htm
-rw-r--r--  1 root root 3609 2012-11-30 18:24 system_MediaServer-oxylbox.htm
-rw-r--r--  1 root root 8905 2012-12-06 14:28 system_MediaServer-twonky.htm


So for my opinion it should work, right? But why couldn't Apache serve the htm pages for media? Can someone help me with that?

Best Regards,

Björn

Re: 404 Error on all Media Configuration Pages

PostPosted: Fri Jul 12, 2013 11:16 am
by bgaul
After tried out many things, I have found the cause of the problem. I have had a share called "music" that was used by the Minidlna media Server. To include also other media I have renamed the share to "media". That caused the problem. After renaming it back to "music" everything worked fine.

Sadly I have noticed it so late. Sorry. But this comes to another question. How can I rename my share "music" to "media" without having this problems? It also seems to be only a problem with the name "media" as I don't have a problem when renaming it to "multimedia". So for now with renameing the share to "multimedia" everything looks good!

So shares with the name "media" are not allowed, or what?

Re: 404 Error on all Media Configuration Pages

PostPosted: Fri Jul 12, 2013 1:05 pm
by fvdw
bgaul wrote:After tried out many things, I have found the cause of the problem. I have had a share called "music" that was used by the Minidlna media Server. To include also other media I have renamed the share to "media". That caused the problem. After renaming it back to "music" everything worked fine.

Sadly I have noticed it so late. Sorry. But this comes to another question. How can I rename my share "music" to "media" without having this problems? It also seems to be only a problem with the name "media" as I don't have a problem when renaming it to "multimedia". So for now with renameing the share to "multimedia" everything looks good!

So shares with the name "media" are not allowed, or what?


yes we noticed this problem. in next release chnages are made to preven this from happening

Re: 404 Error on all Media Configuration Pages

PostPosted: Fri Jul 12, 2013 2:26 pm
by Jocko
More details in this posts : viewtopic.php?f=12&t=844&start=70#p7421