Page 1 of 1

How to install subsonic on DNS-320 with debian squeeze

PostPosted: Tue Nov 29, 2011 7:22 am
by davbarr
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.

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

PostPosted: Tue Nov 29, 2011 1:21 pm
by BKKKPewsey
Can you access SS via the web browser?
:mrgreen:

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

PostPosted: Tue Nov 29, 2011 3:39 pm
by davbarr
SS=subsonic?

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

PostPosted: Tue Nov 29, 2011 11:20 pm
by davbarr
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?

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

PostPosted: Wed Nov 30, 2011 11:44 am
by davbarr
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

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

PostPosted: Wed Nov 30, 2011 1:39 pm
by bushman4
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

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

PostPosted: Wed Nov 30, 2011 6:45 pm
by davbarr
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

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

PostPosted: Wed Nov 30, 2011 8:50 pm
by BKKKPewsey
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:

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

PostPosted: Sun Dec 11, 2011 9:15 am
by karstenp
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?

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

PostPosted: Sun Dec 11, 2011 12:13 pm
by karstenp
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?

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

PostPosted: Sun Dec 11, 2011 5:25 pm
by BKKKPewsey

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

PostPosted: Sun Dec 11, 2011 10:13 pm
by karstenp
Thx. Will try.

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

PostPosted: Sat Dec 17, 2011 4:00 pm
by karstenp
Seems the alternative version of java is not available for Debian Squeeze (yet?) :roll:

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

PostPosted: Tue Dec 20, 2011 12:39 pm
by davbarr
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...

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

PostPosted: Tue Dec 20, 2011 5:59 pm
by SerpensAlatus
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