LinuxMCE Forums

General => Installation issues => Topic started by: RayBe on January 31, 2011, 02:21:09 pm

Title: upnp server: 500 Internal Server Error
Post by: RayBe on January 31, 2011, 02:21:09 pm
Hi all,

i wanted to test the UPnP server of LMCE but could find it on my network so i looked at:
webadmin -> Advanced -> Configuration -> UPnP Server
all it did show was a big message: 500 Internal Server Error

does anybody have any idea as how to solve this?

thanks upfront,
br,

Raymond
Title: Re: upnp server: 500 Internal Server Error
Post by: Techstyle on February 02, 2011, 08:24:02 am
Mine is the same
Title: Re: upnp server: 500 Internal Server Error
Post by: Marie.O on February 02, 2011, 12:26:55 pm
What number does the trac ticket have?
Title: Re: upnp server: 500 Internal Server Error
Post by: RayBe on February 02, 2011, 02:40:33 pm
Posde i didn't make a trac ticket for it, should i and if yes i must go to http://svn.linuxmce.org/trac.cgi/newticket and fill in my screenname 'RayBe' or my email?

br,
Raymond
Title: Re: upnp server: 500 Internal Server Error
Post by: Marie.O on February 02, 2011, 04:33:47 pm
Whenever you find a bug, open a trac ticket, after checking that such a ticket does not yet exists. And you should fill the information in, that helps people to track down the bug and you
Title: Re: upnp server: 500 Internal Server Error
Post by: RayBe on February 02, 2011, 04:51:12 pm
Ok i did make a ticket, thanks for your help.
http://svn.linuxmce.org/trac.cgi/ticket/971

Br,
Raymond
Title: Re: upnp server: 500 Internal Server Error
Post by: MDH1966 on February 02, 2011, 05:01:47 pm
Whenever you find a bug, open a trac ticket, after checking that such a ticket does not yet exists. And you should fill the information in, that helps people to track down the bug and you

How do you know the difference between a real "bug" and a user or system problem.  In otherwords, how do you know that is actualy error in a script somewhere and not a driver issue or an improper user setting.

Thanks,

<M>
Title: Re: upnp server: 500 Internal Server Error
Post by: Marie.O on February 02, 2011, 07:26:25 pm
I don't per se.
Title: Re: upnp server: 500 Internal Server Error
Post by: locutus on February 02, 2011, 07:43:30 pm
How do you know the difference between a real "bug" and a user or system problem.  In otherwords, how do you know that is actualy error in a script somewhere and not a driver issue or an improper user setting.

Thanks,

<M>

Thats why others try to reproduce the error to track it down
Title: Re: upnp server: 500 Internal Server Error
Post by: MDH1966 on February 02, 2011, 08:23:16 pm
Thats why others try to reproduce the error to track it down

So basically, you try your best to make it work by searching the forum/wiki/chatroom.  If you are still unable to resolve, then create a ticket with what you did and what the result was and hope for the best.

Sounds simple.

:-)

Thanks,

<M>
Title: Re: upnp server: 500 Internal Server Error
Post by: l3mce on February 03, 2011, 01:01:24 am
So basically, you try your best to make it work by searching the forum/wiki/chatroom.  If you are still unable to resolve, then create a ticket with what you did and what the result was and hope for the best.

Sounds simple.

:-)

Thanks,

<M>
Odd...

Sounds dismissive to me. Don't get me wrong, I am not involved in the project... I just mean that if it were my work in question... I would take that to mean that I was "doing something fundamentally wrong" without actually having to explain ones area of expertice.

That's awesome.


I wish my dick was that big.
Title: Re: upnp server: 500 Internal Server Error
Post by: MDH1966 on February 03, 2011, 01:40:18 am
Odd...

Sounds dismissive to me. Don't get me wrong, I am not involved in the project... I just mean that if it were my work in question... I would take that to mean that I was "doing something fundamentally wrong" without actually having to explain ones area of expertice.

That's awesome.


I wish my dick was that big.

Not dismissive...

So basically, you try your best to make it work by searching the forum/wiki/chatroom.

This is just the best way to make sure that you didn't set something wrong or forgot so install something. It also maybe a well documented issue and there is some work around that has already been found.

If you are still unable to resolve, then create a ticket with what you did and what the result was and hope for the best.

I would hope that the issue can be recreated so that those that know what they are doing can fix it so the next person doesn't have the headache.

To me, this still sounds quite simple. The smiley face just meant that this made me happy.

<M>

Title: Re: upnp server: 500 Internal Server Error
Post by: l3mce on February 03, 2011, 01:54:07 am
Don't pay attention to me. I drink sometimes. I am the ass, not you sir.
Title: Re: upnp server: 500 Internal Server Error
Post by: huh on February 03, 2011, 02:08:11 am
I think- and big guess here- that you can get it to run by typing this into a terminal

Code: [Select]
sudo mediatomb -d -i 192.168.80.1 -p 3877 -c /root/.mediatomb/config.xml

Then from a browser you can access mediatomb from 192.168.80.1:3877


I don't know if this gives you the same as you would get from the web admin pages (this doesn't fix that, BTW) but will get you a screen that says mediatomb at the top.

I think the admin pages try to connect on port 49152- so maybe changing the 3877 port to 49152 will get the admin pages working- this is just duct tape as that I don't know how to actually fix the problem.

FWIW
Title: Re: upnp server: 500 Internal Server Error
Post by: Marie.O on February 03, 2011, 10:08:49 am
So basically, you try your best to make it work by searching the forum/wiki/chatroom.  If you are still unable to resolve, then create a ticket with what you did and what the result was and hope for the best.

Correct.
Title: Re: upnp server: 500 Internal Server Error
Post by: PSM on February 07, 2011, 10:13:11 pm
I found that this just happens because mediatomb is not started in the current 0810 snapshots.

You can easily solve that by logging into the core with a terminal, and type

Code: [Select]
$ sudo mediatomb
then authenticate with your password and you will see that mediatomb is started.
Title: Re: upnp server: 500 Internal Server Error
Post by: hermanvh on February 08, 2011, 12:06:39 am
/etc/init.d/mediatomb start

works but after 5-10 mins mediatomb dies without any message in the logging /etc/log/mediatomb.log

when you view the packages in webadmin it says that mediatomb is disabled, maybe that gives a clue how to correct this problem.

BR Herman