How to install subsonic on DNS-320 with debian squeeze

Need help? Post your questions here.

Moderator: moderators

How to install subsonic on DNS-320 with debian squeeze

Postby davbarr » Tue Nov 29, 2011 7:22 am

Excuse my poor english, i'm a french user.

Copy fun_plug + fun_plug.tgz to Volume_1
NAS restarted
Copy fun_plug.debian and squeeze.tar.gz to Volume_1
Run CMD on windows 7
~$ telnet 192.168.0.5
/ # cd /mnt/HD/HD_a2
Archive decompressed squeeze.tar.gz:
/ # gunzip squeeze.tar.gz
Extract:
/ # tar -xf squeeze.tar
Delete squeeze.tar and fun_plug:
/ # rm squeeze.tar fun_plug
Rename fun_plug.debian to fun_plug:
/ # mv fun_plug.debian fun_plug
NAS restarted
SSh connect via PuTTY: Host name 192.168.0.5 ; SSH check; PORT 22 and open
Login= root et password= dlink
Change password:
~# passwd
Update:
~# aptitude update && aptitude upgrade
~# aptitude install locales
~# dpkg-reconfigure locales
Select: fr_FR ISO 8859-1 , fr_FR.UTF8 UTF8 puis fr_FR@euro ISO 8859-15
NAS D-Link DNS-320 configured withDebian Squeeze...
PuTTY:
Download java:
/# apt-get install sun-java6-jre
Download subsonic standalone edition:
/# wget http://sourceforge.net/projects/subsoni ... one.tar.gz
CReate subsonic folder:
/# mkdir -p /var/subsonic/standalone
Decompression:
/# tar -C /var/subsonic/standalone -zvxf subsonic-4.6.beta2-standalone.tar.gz
Run:
/# /var/subsonic/standalone/subsonic.sh
____ ----> Started Subsonic [PID 4250, /var/subsonic/subsonic_sh.log]
Modified subsonic.sh:
port 8080 for me and path music folder
But unable to acces music folder.
It IS CORRECT?
How to verify subsonic is started?
How to start subsonic automatiquely.
davbarr
 
Posts: 9
Joined: Tue Nov 29, 2011 12:34 am

Re: How to install subsonic on DNS-320 with debian squeeze

Postby BKKKPewsey » Tue Nov 29, 2011 1:21 pm

Can you access SS via the web browser?
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: How to install subsonic on DNS-320 with debian squeeze

Postby davbarr » Tue Nov 29, 2011 3:39 pm

SS=subsonic?
Last edited by davbarr on Wed Nov 30, 2011 11:45 am, edited 1 time in total.
davbarr
 
Posts: 9
Joined: Tue Nov 29, 2011 12:34 am

Re: How to install subsonic on DNS-320 with debian squeeze

Postby davbarr » Tue Nov 29, 2011 11:20 pm

subsonic_sh.log:

WARNING:
Cache: chatCache has a maxElementsInMemory of 0.
It is strongly recommended to have a maximumSize of at least 1.
Performance is halved by not using a MemoryStore.
28 nov. 2011 04:44:29 net.sf.ehcache.Cache initialise

WARNING: Cache: musicFolderCache has a maxElementsInMemory of 0.
It is strongly recommended to have a maximumSize of at least 1.
Performance is halved by not using a MemoryStore.


How to correct this warning please?
davbarr
 
Posts: 9
Joined: Tue Nov 29, 2011 12:34 am

Re: How to install subsonic on DNS-320 with debian squeeze

Postby davbarr » Wed Nov 30, 2011 11:44 am

router:
port 8080 open for my pc
port 8080 open for my NAS
PC on:
http://user.dlinkddns.com --->ok (acces NAS config)
http://user.dlinkddns.com:8080 ---> ok (acces subsonic login page)
http://user.subsonic.org ---> ok (acces subsonic login page)

PC off:
http://user.dlinkddns.com --->ok (acces NAS config)
http://user.dlinkddns.com:8080 ---> not ok (erreur de lecture = write error)
http://user.subsonic.org ---> not ok (erreur de lecture = write error)

Help me please
davbarr
 
Posts: 9
Joined: Tue Nov 29, 2011 12:34 am

Re: How to install subsonic on DNS-320 with debian squeeze

Postby bushman4 » Wed Nov 30, 2011 1:39 pm

davbarr wrote:subsonic_sh.log:

WARNING:
Cache: chatCache has a maxElementsInMemory of 0.
It is strongly recommended to have a maximumSize of at least 1.
Performance is halved by not using a MemoryStore.
28 nov. 2011 04:44:29 net.sf.ehcache.Cache initialise

WARNING: Cache: musicFolderCache has a maxElementsInMemory of 0.
It is strongly recommended to have a maximumSize of at least 1.
Performance is halved by not using a MemoryStore.


How to correct this warning please?


This warning also appears in my Windows Tomcat log. You can ignore it.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: How to install subsonic on DNS-320 with debian squeeze

Postby davbarr » Wed Nov 30, 2011 6:45 pm

Thanks bushman4
i think i have a problem with java
root@dlink-dns320:~# apt-get install sun-java6-jre
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
sun-java6-jre : Dépend: sun-java6-bin (>= 6.21-1) mais il n'est pas installable ou
ia32-sun-java6-bin (>= 6.21-1) mais il n'est pas installable
E: Paquets défectueux
davbarr
 
Posts: 9
Joined: Tue Nov 29, 2011 12:34 am

Re: How to install subsonic on DNS-320 with debian squeeze

Postby BKKKPewsey » Wed Nov 30, 2011 8:50 pm

I will leave this to any French speaking (reading) users out there.
The last time I tried Google translator on anything technical it came back with:-
"Error in installing your donkey due to your temporary location being forgetful" :?

Which should have been roughly:-
Error in installing Emule due to temp directory too small :lol:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: How to install subsonic on DNS-320 with debian squeeze

Postby karstenp » Sun Dec 11, 2011 9:15 am

I have the same problem. Here in English:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

And that leads to subsonic_sh.log reporting:
/usr/bin/subsonic: 124: java: not found

Any suggestions?
karstenp
 
Posts: 8
Joined: Sun Nov 27, 2011 12:03 pm

Re: How to install subsonic on DNS-320 with debian squeeze

Postby karstenp » Sun Dec 11, 2011 12:13 pm

A bit more. Trying to install java (since that seems be the problem) I get this:
The following packages have unmet dependencies:
sun-java6-jre : Depends: sun-java6-bin (>= 6.26-0squeeze1) but it is not installable or
ia32-sun-java6-bin (>= 6.26-0squeeze1) but it is not installable

So it would seem that I cannot get any further than this. Or?
karstenp
 
Posts: 8
Joined: Sun Nov 27, 2011 12:03 pm

Re: How to install subsonic on DNS-320 with debian squeeze

Postby BKKKPewsey » Sun Dec 11, 2011 5:25 pm

Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: How to install subsonic on DNS-320 with debian squeeze

Postby karstenp » Sun Dec 11, 2011 10:13 pm

Thx. Will try.
karstenp
 
Posts: 8
Joined: Sun Nov 27, 2011 12:03 pm

Re: How to install subsonic on DNS-320 with debian squeeze

Postby karstenp » Sat Dec 17, 2011 4:00 pm

Seems the alternative version of java is not available for Debian Squeeze (yet?) :roll:
karstenp
 
Posts: 8
Joined: Sun Nov 27, 2011 12:03 pm

Re: How to install subsonic on DNS-320 with debian squeeze

Postby davbarr » Tue Dec 20, 2011 12:39 pm

I finally managed to successfully install subsonic on the server dlink DNS-320.
OpenJDK works when sun-java-JRE6 does not install correctly.
Here's the procedure:

aptitude install openjdk-6-jre
cd /tmp
wget 'http://sourceforge.net/projects/subsonic/files/subsonic/4.6/subsonic-4.6.deb' -O ./subsonic-4.6.deb
dpkg -i subsonic-4.6.deb
aptitude install lame flac faad vorbis-tools ffmpeg
/etc/init.d/subsonic restart
autostart (via nano) :
/etc/init.d/subsonic restart
in file /boot/linuxrc

Subsonic is now installed,
nano /etc/default/subsonic for edit subsonic config
http://ip.server:4040 work


Unfortunately, java use a lot of %cpu and ram.

1.So can i install standalone edition? This client it is lighter?

Stand-alone installation
Requirements: Sun Java 5 or later (Download)
This is Subsonic with an embedded Jetty server, and can be installed on any Windows, Linux, Unix, FreeNAS, unRAID etc operating system.

Unpack subsonic-x.x-standalone.tar.gz to SUBSONIC_HOME/standalone. SUBSONIC_HOME is typically c:\subsonic on Windows, and /var/subsonic on Unix-based operating systems.
Optionally configure the startup script SUBSONIC_HOME/standalone/subsonic.sh
Execute the startup script. (Typically you will configure your operating system to execute the script automatically at start-up.)
Open the Subsonic web page. The default address is http://localhost:4040.


2.can i install openjdk-6-jre-headless or openjdk-7-jre for more performance?

Other question:
3. Wifi actived : all is ok but 3G actived, the following message appears very often : "A network error occurred..." Why?

Thanks for all and excuse for my bad english...
davbarr
 
Posts: 9
Joined: Tue Nov 29, 2011 12:34 am

Re: How to install subsonic on DNS-320 with debian squeeze

Postby SerpensAlatus » Tue Dec 20, 2011 5:59 pm

Hows the Performance on the DNS320? I have this one too, i use kplaylist atm. But i like to install SS on it.

REgards
Volker
SerpensAlatus
 
Posts: 14
Joined: Fri Dec 09, 2011 9:49 am


Return to Help

Who is online

Users browsing this forum: No registered users and 46 guests