Page 2 of 2

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Tue Jan 10, 2012 1:55 pm
by Lukas718
but woulnt that corrupt the original one too than ?
I also used telnet to overwrite that file in serviio folder with profiles.xml that u uploaded and the same error came up.

Cerberus wrote:use a proper ftp program (filezilla) as clearly the built in one is corrupting the profile.xml file.

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Tue Jan 10, 2012 1:59 pm
by Cerberus
Lukas718 wrote:but woulnt that corrupt the original one too than ?
I also used telnet to overwrite that file in serviio folder with profiles.xml that u uploaded and the same error came up.

Cerberus wrote:use a proper ftp program (filezilla) as clearly the built in one is corrupting the profile.xml file.


dunno try the newly uploaded file just incase it was me.

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Tue Jan 10, 2012 2:03 pm
by Lukas718
Thank you so much. I will. Can you tell me if what I posted was a correct way of stopping serviio in SSH (command line i have used) ?


Cerberus wrote:
Lukas718 wrote:but woulnt that corrupt the original one too than ?
I also used telnet to overwrite that file in serviio folder with profiles.xml that u uploaded and the same error came up.

Cerberus wrote:use a proper ftp program (filezilla) as clearly the built in one is corrupting the profile.xml file.


dunno try the newly uploaded file just incase it was me.

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Tue Jan 10, 2012 2:04 pm
by Cerberus
yep :)

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Tue Jan 10, 2012 2:10 pm
by Lukas718
great

I will try that again when Im back from work.
Thank you

Cerberus wrote:yep :)

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Tue Jan 10, 2012 8:56 pm
by Lukas718
I just got home and setup ftp on my nas with filezilla. Also I executed this command --> /opt/serviio/serviio-0.5.2/bin/serviio.sh stop but filezilla cannot overwite or delete old profiles.xml.
Response: 257 "/Volume_1/tsqueeze/opt/serviio/serviio-0.5.2/config" is your current location
Command: DELE profiles.xml
Response: 550 Could not delete profiles.xml: Permission denied

is there any other service I have to stop because it looks like something is still using this file.

p.s after I stopped serviio.sh I didnt restart my nas

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Wed Jan 11, 2012 8:29 am
by Cerberus
try again via nas console thingy and see if it works this time.

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Wed Jan 11, 2012 12:56 pm
by zip
afaik Linux doesn't lock files. It's more related to the SSH user not having write access to the folder.

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Wed Jan 11, 2012 10:13 pm
by Lukas718
How would I fix/adjust that ?

zip wrote:afaik Linux doesn't lock files. It's more related to the SSH user not having write access to the folder.

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 2:09 am
by Lukas718
I still have the same problem with profiles.xml

I decided to use ssh to do it all

here's what I did in ssh with user root and password serviio:

1.
/opt/serviio/serviio-0.5.2/bin/serviio.sh stop (to stop serviio)
2.
rm /opt/serviio/serviio-0.5.2/config/profiles.xml ( I check this file was gone after I executed this command)
3.
cp /mnt/HD/HD_a2/profiles.xml /opt/serviio/serviio-0.5.2/config/ ( new files was copied there )
4.
ls -l /opt/serviio/serviio-0.5.2/config/ (to check permissions user root had rwx)
5.
chmod ugo+rwx /opt/serviio/serviio-0.5.2/config/ ( to give rwx permission to all )
6.
restarted box by accessing it with my local ip and selecting restart in dlink UI


TV can find serviio and when I start apache and use webUI it gives me same error as before
Required Serviio 0.5.2, but found ''
Cannot connect to Serviio server, it does not seem to be running. Exiting...

So I tried to /opt/serviio/serviio-0.5.2/bin/serviio.sh start
I didnt help ( I think i does autostart anyways after box restart )

I did replace none working profiles.xml from old backup and works on old file.
Is it possible that your file is assigned to different version of serviio ?

what am I doing wrong ???
Please help !!

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 8:27 am
by Cerberus
Lukas718 wrote:I still have the same problem with profiles.xml

I decided to use ssh to do it all

here's what I did in ssh with user root and password serviio:

1.
/opt/serviio/serviio-0.5.2/bin/serviio.sh stop (to stop serviio)
2.
rm /opt/serviio/serviio-0.5.2/config/profiles.xml ( I check this file was gone after I executed this command)
3.
cp /mnt/HD/HD_a2/profiles.xml /opt/serviio/serviio-0.5.2/config/ ( new files was copied there )
4.
ls -l /opt/serviio/serviio-0.5.2/config/ (to check permissions user root had rwx)
5.
chmod ugo+rwx /opt/serviio/serviio-0.5.2/config/ ( to give rwx permission to all )
6.
restarted box by accessing it with my local ip and selecting restart in dlink UI


TV can find serviio and when I start apache and use webUI it gives me same error as before
Required Serviio 0.5.2, but found ''
Cannot connect to Serviio server, it does not seem to be running. Exiting...

So I tried to /opt/serviio/serviio-0.5.2/bin/serviio.sh start
I didnt help ( I think i does autostart anyways after box restart )

I did replace none working profiles.xml from old backup and works on old file.
Is it possible that your file is assigned to different version of serviio ?

what am I doing wrong ???
Please help !!



well yes you have to have serviio 0.6.1 for this to work :roll:

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 1:18 pm
by Lukas718
lol

I thought you knew I'm running 0.5.2 from 2nd page post :) ("../opt/serviio/serviio-0.5.2/bin/serviio.sh stop..")

I tried 6 but give me error when logging into root ( it's not recognizing default password: serviio - so therefor I can get access to ssh )

Any chance you can modify profiles.xml on 0.5.2 for me please ?

Thank you for all you help

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 1:49 pm
by Cerberus
nope sadly we no longer provide support for 0.5.2 only 6.1

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 2:12 pm
by Lukas718
Cerberus wrote:nope sadly we no longer provide support for 0.5.2 only 6.1



would you know why some people here have the same issue with accessing root on version 6 as I have ? (I original post other person reply that his experiencing the same issue with root not recognizing serviio default password)
I noticed that for nas-325 there is only serviio 6 beta.

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 2:19 pm
by Cerberus
Lukas718 wrote:
Cerberus wrote:nope sadly we no longer provide support for 0.5.2 only 6.1



would you know why some people here have the same issue with accessing root on version 6 as I have ? (I original post other person reply that his experiencing the same issue with root not recognizing serviio default password)
I noticed that for nas-325 there is only serviio 6 beta.


http://wiki.serviio.org/doku.php?id=install_dlinkdns3xx <-- look at bottom of that page it has the upgrade package to 0.6.0.1 then below that how to upgrade to 0.6.1

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 3:11 pm
by Lukas718
Cerberus wrote:
Lukas718 wrote:
Cerberus wrote:nope sadly we no longer provide support for 0.5.2 only 6.1



would you know why some people here have the same issue with accessing root on version 6 as I have ? (I original post other person reply that his experiencing the same issue with root not recognizing serviio default password)
I noticed that for nas-325 there is only serviio 6 beta.


http://wiki.serviio.org/doku.php?id=install_dlinkdns3xx <-- look at bottom of that page it has the upgrade package to 0.6.0.1 then below that how to upgrade to 0.6.1



i will try that now

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 4:58 pm
by Lukas718
Can I upgrade directly from 0.5.2 to 0.6.1 ?

I checked your instructions and I dont see library folder in 0.6.1
also WebUI folder is missing with new 0.6.1 ( should I use old WebUI directory that came with 0.5.2 in /opt/serviio/ and just edit config.php file ? )

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 5:17 pm
by Cerberus
Lukas718 wrote:Can I upgrade directly from 0.5.2 to 0.6.1 ?

I checked your instructions and I dont see library folder in 0.6.1
also WebUI folder is missing with new 0.6.1 ( should I use old WebUI directory that came with 0.5.2 in /opt/serviio/ and just edit config.php file ? )


no you have to update webui to follwo teh wiki its laid out that way for a reason.

Re: Toshiba transcoding (was:HOWTO: Serviio on DNS-320 & DNS

PostPosted: Sat Jan 14, 2012 5:29 pm
by Lukas718
nm I did clean install to 0.6.1

thank u for your all ur help