Package updated to 5.2.1
Search Criteria
Package Details: subsonic-kang 5.2.1-1
Package Actions
| Package Base: | subsonic-kang |
|---|---|
| Description: | Fork of the Subsonic project, an open-source web-based media streamer, with the licensing code removed |
| Upstream URL: | https://github.com/EugeneKay/subsonic |
| Category: | multimedia |
| Licenses: | |
| Conflicts: | |
| Submitter: | Anthony25 |
| Maintainer: | tmoore |
| Last Packager: | tmoore |
| Votes: | 7 |
| First Submitted: | 2013-10-16 19:37 |
| Last Updated: | 2015-03-15 23:40 |
Dependencies (2)
Required by (0)
Sources
Latest Comments
Comment by tmoore
Comment by tmoore
PS - This package is not out of date. While subsonic may be at 5.2.1, the subsonic-kang war pkg is still at 5.2. I have no control over that
https://github.com/EugeneKay/subsonic/releases/
However, I will attempt to compile the war file myself for 5.2.1
Comment by tmoore
@springer: Thanks for the feedback! I will update the notes. Also yes, you can remove /var/subsonic if you wish. I leave it alone in case someone wants it as an archive.
Comment by springer
Just letting you know that the update to the new structure worked perfectly for me. Since subsonic was already running under its own user no worries about file permissions.
You could however add to the notes that we now have to start / enable subsonic-kang.service instead of subsonic.service
So /var/subsonic can be removed after copying the mentioned file to /opt/subsonic?
Thanks
Comment by tmoore
Updated to 5.2
Comment by tmoore
NEW VERSION - PLEASE READ
I have rewritten the installation of this package to adhere to the Arch Linux packaging standards, and make it obvious you are not installing the pure "subsonic" package.
This includes the following changes (which may/may not affect your previous install)
- installed package is called "subsonic-kang"
- package installs to /opt/subsonic-kang
- config file (which is really subsonic.sh) is symlinked to /etc/conf.d/subsonic-kang.conf
- /var/lib/subsonic contains playlists, other dynamic data (except for the DB subdir.. need to work on that)
- the service now runs as an unprivileged user "subsonic" with group "subsonic". All files in /opt/subsonic-kang are owned by this user. (this may change in future if people really want separation)
If you currently have subsonic-kang 5.0 installed, I would manually backup your /var/subsonic directory just in case. Shouldn't be an issue. Then after you install this, just copy /var/subsonic/db/ to /opt/subsonic/db/, /var/subsonic/subsonic.properties to /opt/subsonic/subsonic.properties, and manually edit /opt/subsonic/subsonic.sh with any special things you have in /var/subsonic/subsonic.sh
Don't forget to create your symlinks in /opt/subsonic-kang/transcode, i.e.
ffmpeg -> /usr/bin/ffmpeg*
flac -> /usr/bin/flac*
lame -> /usr/bin/lame*
Please test and let me know :) Works fine on my machine, but I'm x86_64, so YMMV
Comment by tmoore
I'll try and get this updated to 5.1 this week
Comment by RubenKelevra
Now I fixed it for me with setting JAVA to the right path.
Comment by RubenKelevra
[ruben@delling ~]$ ls -l /etc/ | grep profile
-rw-r--r-- 1 root root 541 31. Mai 2013 profile
drwxr-xr-x 2 root root 4096 20. Feb 17:57 profile.d
I only got root and my "ruben" account as local users ...
Comment by Anthony25
That is really weird, I don't understand why your /etc/profile is not sourced...
Check if you don't have a /etc/profile.pacnew that makes your /etc/profile obsoleted. It is happening only for root or all users except you ?
Comment by RubenKelevra
JRE-Package sets the path in /etc/profile.d/jre.sh
[root@delling ~]# cat /etc/profile.d/jre.sh
export J2REDIR=/opt/java/jre
export PATH=$PATH:/opt/java/jre/bin
export JAVA_HOME=${JAVA_HOME:-/opt/java/jre}
Is there something wrong in the jre-package?
Comment by RubenKelevra
But the Server is on default started as root, isn't it?
So here seems to be the problem:
[root@delling ~]# echo ${JAVA_HOME}
[root@delling ~]# ls -al ${JAVA_HOME}/bin/java
ls: Zugriff auf /bin/java nicht möglich: Datei oder Verzeichnis nicht gefunden
Comment by RubenKelevra
[ruben@delling ~]$ echo ${JAVA_HOME}
/opt/java/jre
[ruben@delling ~]$ ls -al ${JAVA_HOME}/bin/java
-rwxr-xr-x 1 root root 5408 6. Feb 15:36 /opt/java/jre/bin/java
Comment by Anthony25
@RubenKelevra : Thanks for the report.
Could you give me the result of : "$ echo ${JAVA_HOME}" and "$ ls -al ${JAVA_HOME}/bin/java" please ?
Thank you !
Comment by RubenKelevra
I installed it and just tried to start, but it failed on finding java...
"/var/subsonic/subsonic.sh: Zeile 113: java: Command not found."
[ruben@delling ~]$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
[ruben@delling ~]$ yaourt -Qi jre
Name : jre
Version : 7.51-1
Comment by Anthony25
My bad, dependencies were wrong. PKGBUILD modified !
Comment by Anthony25
Not out of date, still in beta (beta 3) for the 4.9 version.
Please use the subsonic-kang-git package if you want to install the beta version.