Upnp does not work after upgrade

Questions regarding media streaming across varied protocols, including UPnP/DLNA/CIFS can be placed here.

Upnp does not work after upgrade

Postby papillon-bleu » Wed Sep 22, 2010 8:08 pm

After upgrading my syno 207+ to DSM 3, my media library is no more accessible.

I have tried 3 upnp clients + Audio station : no file can be found (but the directory structure is browsable). Reindexing the server does not correct that problem.


Is there a way to reinit the database ?
papillon-bleu
I'm New!
I'm New!
 
Posts: 3
Joined: Wed Sep 22, 2010 8:04 pm

Re: Upnp does not work after upgrade

Postby Taxman » Fri Sep 24, 2010 11:16 am

You have to contact Synology tech support and they will give you the info on how to erase the media servers database.
Taxman
Guru
Guru
 
Posts: 1423
Joined: Sun Mar 23, 2008 1:45 pm

Re: Upnp does not work after upgrade

Postby florentaix » Fri Sep 24, 2010 1:21 pm

Hi,

Have you managed to fix your problem?
If yes, how?

Thk
florentaix
I'm New!
I'm New!
 
Posts: 1
Joined: Fri Sep 24, 2010 1:18 pm

Re: Upnp does not work after upgrade

Postby papillon-bleu » Fri Sep 24, 2010 4:45 pm

Not yet. Its a database problem : it seems the database structure has not been updated in the upgrade from 2.5 to 3.0

I contact the tech support now.
papillon-bleu
I'm New!
I'm New!
 
Posts: 3
Joined: Wed Sep 22, 2010 8:04 pm

Re: Upnp does not work after upgrade

Postby papillon-bleu » Fri Sep 24, 2010 10:30 pm

OK, problem resolved, the database was actualy corrupted (i don't know why)

1) i recreated the home of admin :

mkdir /var/services/homes
mkdir /var/services/homes/admin
chown admin: /var/services/homes/admin

2 )i have reinitialized the DB
echo 0.0>`/usr/syno/bin/servicetool --get-service-path pgsql`/PG_VERSION
/usr/syno/etc/rc.d/S20pgsql.sh stop
/usr/syno/etc/rc.d/S20pgsql.sh start

3) Restart the Synology via the http desktop

--> it works !!!
papillon-bleu
I'm New!
I'm New!
 
Posts: 3
Joined: Wed Sep 22, 2010 8:04 pm

Re: Upnp does not work after upgrade

Postby pcpaulh » Sun Sep 26, 2010 2:12 pm

Hi, I'm having a similar problem with my DS210J. When I try to create the directories mentioned I get the error:
mkdir: can't create directory '/homes': Permission denied
I then try to su and get:
su: must be suid to work properly
Can anyone help?
Thank you in advance.
pcpaulh
I'm New!
I'm New!
 
Posts: 2
Joined: Sun Sep 26, 2010 2:00 pm

Re: Upnp does not work after upgrade

Postby pcpaulh » Mon Sep 27, 2010 8:21 pm

Must have been finger trouble! New admin directory created. Database currently be reinitialized, will report results when I get them.
Thanks.
pcpaulh
I'm New!
I'm New!
 
Posts: 2
Joined: Sun Sep 26, 2010 2:00 pm

Re: Upnp does not work after upgrade

Postby siamesedream » Fri Oct 01, 2010 2:27 am

Are you using the terminal to put those commands in?
siamesedream
I'm New!
I'm New!
 
Posts: 1
Joined: Sun Mar 08, 2009 3:25 pm

Re: Upnp does not work after upgrade

Postby bomsom » Sat Oct 02, 2010 10:02 pm

Where do I enter these commands?
I can see a Terminal in DS control panel but it only give me the options to enable/disable Telnet and SSH, no classic black window command line.
Sorry but I'm not very good in programming and I don't even know what telnet is. :)
I use a Mac if that helps. Do I have to use OS X Terminal :?:
DS209 -> 2TB Hitachi + 1TB WD Caviar Black | DSM 4.0
*Apple Airport Extreme -> 3TB Buffalo external drive
*WDTV Live *Macbook Pro 15" *Macbook Air 11"
bomsom
Beginner
Beginner
 
Posts: 21
Joined: Sat Feb 27, 2010 3:21 pm

Re: Upnp does not work after upgrade

Postby urtl » Sun Oct 03, 2010 12:22 pm

hey

1. enable SSH in your DS controle panel

2. launch terminal.app on your Mac (location: Macintosh HD:Applications:Utilities:Terminal.app)

3. do the following
Code: Select all
ssh admin@*IPofYourDS*

this command will ask for a password which should be your admin password. probably it will ask you about some key it wants to add...just type 'yes'
then as mentioned above
Code: Select all
mkdir /var/services/homes
mkdir /var/services/homes/admin
chown admin: /var/services/homes/admin
echo 0.0>`/usr/syno/bin/servicetool --get-service-path pgsql`/PG_VERSION
/usr/syno/etc/rc.d/S20pgsql.sh stop
/usr/syno/etc/rc.d/S20pgsql.sh start


4. restart via DS webinterface

I actually cannot confirm yet if this approach works, but I'm testing it right now because I have the same problems!

cheers
urtl
urtl
Trainee
Trainee
 
Posts: 18
Joined: Tue Jul 28, 2009 11:53 pm

Re: Upnp does not work after upgrade

Postby bomsom » Mon Oct 04, 2010 12:42 am

Thank you urtl!

I did as you said and managed to enter DS via Mac Terminal. When I log in it gives me the following message:

Could not chdir to home directory /var/services/homes/admin: No such file or directory
It seems like this is really the problem! :shock:

Then, when I try to create the folder using the mkdir command I get this:

mkdir: can't create directory '/var/services/homes': Permission denied

I'm logging as admin, why don't I have permission??
DS209 -> 2TB Hitachi + 1TB WD Caviar Black | DSM 4.0
*Apple Airport Extreme -> 3TB Buffalo external drive
*WDTV Live *Macbook Pro 15" *Macbook Air 11"
bomsom
Beginner
Beginner
 
Posts: 21
Joined: Sat Feb 27, 2010 3:21 pm

Re: Upnp does not work after upgrade

Postby cad12 » Wed Oct 06, 2010 11:01 pm

Hi everyone

My DS409 has stopped showing itself with my DLNA devices as well I have tried to Telnet to the diskstation and SSH using Putty and have failed each time it just times out.
Any help for a complete novice would be great.
I have no experience of doing anything like using telnet or SSH Ive tried following the Wiki but it still fails even if I did manage to connect I would only be copying the commands which are on the thread.

Please help I dont want to loose all of my data which has taken ages to collect
cad12
I'm New!
I'm New!
 
Posts: 8
Joined: Mon Feb 15, 2010 1:54 pm

Re: Upnp does not work after upgrade

Postby bomsom » Thu Oct 07, 2010 2:21 am

@cad12
Basic questions:
Are you on Windows/Mac/Linux (which version)?
Do you have a defined(static) IP for your Syno?
Is the terminal service enabled in DS control panel?
Are the ports for Terminal opened in the DS Firewall? Port 22 and 23 are for Telnet and SSH.
DS209 -> 2TB Hitachi + 1TB WD Caviar Black | DSM 4.0
*Apple Airport Extreme -> 3TB Buffalo external drive
*WDTV Live *Macbook Pro 15" *Macbook Air 11"
bomsom
Beginner
Beginner
 
Posts: 21
Joined: Sat Feb 27, 2010 3:21 pm

Re: Upnp does not work after upgrade

Postby cad12 » Thu Oct 07, 2010 10:17 am

Hi, thanks for the reply and hopefull help.

I am using windows 7.
I have used a static ip and DHCP assigned one for the DS (same result) .
Yes the terminal service is enabled in the control panel, tried turning it off rebooting, then turning it back on and rebooting with no luck.
I have opened the ports in my router but did not know I could open them in the DS control panel so unsur eon this.

I have tried using Putty and terminal service in windows, it just fails after about 15 seconds.

cheers for any future help
cad12
I'm New!
I'm New!
 
Posts: 8
Joined: Mon Feb 15, 2010 1:54 pm

Re: Upnp does not work after upgrade

Postby cad12 » Thu Oct 07, 2010 12:41 pm

Hi there again,

Did the rest of you on this thread manage to sort out your problem and did you all use the fix in this post ?

If not what did you do ?

:? :?
cad12
I'm New!
I'm New!
 
Posts: 8
Joined: Mon Feb 15, 2010 1:54 pm

Next

Return to Media Server

Who is online

Users browsing this forum: No registered users and 5 guests