jonlai9 Posted March 24, 2011 Share Posted March 24, 2011 Great, I'm stuck on the first step Extract bzroot with: unzip *.zip bzroot What unzip package am I supposed to install? Right now I have infozip-5.52-i486-2.tgz and when I type that command, I get: unzip: cannot find or open *.zip, *.zip.zip or *.zip.ZIP. No zipfiles found. I tried to unzip it in Windows using Winrar and I get another bzroot file but twice the size, is that what I'm looking for? Can you show me the directory structure of decomposing the bzroot as I'm a bit confused. Let's say I copy bzroot into /boot/temp/. After extracting, am I supposed to get a ton of folders in /boot/temp/? Or am I creating the /unraid/ folder before extracting? Thanks. Edit: I think I figured it out, but the new bzroot that I build doesn't boot. On boot, it hangs on this screen: VFS: Cannot open root device "<NULL>" or unknown-block(0,1) Please append a correct "root=" boot option: here are the available partiion Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,1) Pid: 1, comm: swapper Not tainted 2.6.32.9-unRAID #0 Quote Link to comment
joeman2116 Posted March 26, 2011 Share Posted March 26, 2011 I am running Subsonic 4.4 - all seems to be work well. 1. The only problem I noticed was that my rc.local_shutdown file has multiple entries, which keep growing. The longer i run the system or shutdown / reboot - the more entries appear in the file.. I delete them all but one set - but the next time i look more entries reappear. Any suggestions how to get rid of this would be much appreciated. Joe Quote Link to comment
joeman2116 Posted March 26, 2011 Share Posted March 26, 2011 Does anyone know if there is a subsonic codecs available for encoding xvid videos? Thanks Joe Quote Link to comment
toby9999 Posted March 26, 2011 Share Posted March 26, 2011 Subsonic ... never heard of it before ... did some research ... looks really useful ... thanks for the info. Pity the only way to stream to an iphone is to buy an app - would have loved to trial it first before paying any money (I have a bunch of apps I've purchased only to find they are rubbish and of course no chance of a refund). Seriously think my next phone is going to be android-based. Quote Link to comment
splnut Posted March 29, 2011 Share Posted March 29, 2011 I just installed this and its working great. The only problem I am having is with the android app. I can get it to connect when using http://name.subsonic.org for the server. But when I try to use my dynamic dns it states "Connection Failure. Didn't understand the reply. Please check the server address." My server address is http://name.gotdns.com:8084. The port is open and verified from the network settings in subsonic. Is this possible and I'm missing something? Or will the subsonic app not allow this? Quote Link to comment
jonlai9 Posted March 30, 2011 Share Posted March 30, 2011 I just installed this and its working great. The only problem I am having is with the android app. I can get it to connect when using http://name.subsonic.org for the server. But when I try to use my dynamic dns it states "Connection Failure. Didn't understand the reply. Please check the server address." My server address is http://name.gotdns.com:8084. The port is open and verified from the network settings in subsonic. Is this possible and I'm missing something? Or will the subsonic app not allow this? Try http://name.gotdns.com:8084/subsonic --- joelones, can you give me some help on the bzroot stuff? Quote Link to comment
joelones Posted March 30, 2011 Share Posted March 30, 2011 I just installed this and its working great. The only problem I am having is with the android app. I can get it to connect when using http://name.subsonic.org for the server. But when I try to use my dynamic dns it states "Connection Failure. Didn't understand the reply. Please check the server address." My server address is http://name.gotdns.com:8084. The port is open and verified from the network settings in subsonic. Is this possible and I'm missing something? Or will the subsonic app not allow this? Try http://name.gotdns.com:8084/subsonic --- joelones, can you give me some help on the bzroot stuff? The unraid folder is just used to house the decompressed bzroot and yes, you should see the unRAID filesystem there. Make sure you are in this directory when compressing the new bzroot. Are you sure you created the bzroot correctly following the steps? Make sure your syslinux.cfg is pointing to the new bzroot. Did you copy it in on the flash? Quote Link to comment
splnut Posted March 30, 2011 Share Posted March 30, 2011 I just installed this and its working great. The only problem I am having is with the android app. I can get it to connect when using http://name.subsonic.org for the server. But when I try to use my dynamic dns it states "Connection Failure. Didn't understand the reply. Please check the server address." My server address is http://name.gotdns.com:8084. The port is open and verified from the network settings in subsonic. Is this possible and I'm missing something? Or will the subsonic app not allow this? Try http://name.gotdns.com:8084/subsonic --- joelones, can you give me some help on the bzroot stuff? Thanks Quote Link to comment
jonlai9 Posted March 31, 2011 Share Posted March 31, 2011 I just installed this and its working great. The only problem I am having is with the android app. I can get it to connect when using http://name.subsonic.org for the server. But when I try to use my dynamic dns it states "Connection Failure. Didn't understand the reply. Please check the server address." My server address is http://name.gotdns.com:8084. The port is open and verified from the network settings in subsonic. Is this possible and I'm missing something? Or will the subsonic app not allow this? Try http://name.gotdns.com:8084/subsonic --- joelones, can you give me some help on the bzroot stuff? The unraid folder is just used to house the decompressed bzroot and yes, you should see the unRAID filesystem there. Make sure you are in this directory when compressing the new bzroot. Are you sure you created the bzroot correctly following the steps? Make sure your syslinux.cfg is pointing to the new bzroot. Did you copy it in on the flash? I tried to follow the steps but obviously I did something wrong, otherwise it should be working Yea, I have syslinux configured to the new bzroot - I see it say its loading the new one when I choose it from the boot screen. I did everything on the flash in a temp directory, so I didn't copy it from Windows or anything. Does the error I posted of what was on the screen when it hung give any clues as to what might be wrong? Quote Link to comment
mikeinrancho Posted April 1, 2011 Share Posted April 1, 2011 Is the HDHomeRun option in SubSonic described here: http://www.activeobjects.no/subsonic/forum/viewtopic.php?t=5458 capable of being set-up in unRAID. With all the in-memory, save this & that scripts, I don't have a clue if this feature is possible. I do have the tuner and SubSonic running (thanks so much for those instructions here) and would like to get TV working if possible. Thanks... Quote Link to comment
jonlai9 Posted April 3, 2011 Share Posted April 3, 2011 So now I end up just doing export LANG = ... and restart subsonic, and it still doesn't work, whereas somehow I had it working before without setting it to UTF8... weird. No matter how many times I restart and reindex it's not working anymore. This is killing me Quote Link to comment
jonlai9 Posted April 25, 2011 Share Posted April 25, 2011 Anyone able to provide any help with unicode on subsonic? Thanks. Quote Link to comment
MTA99 Posted April 26, 2011 Share Posted April 26, 2011 Installed this afternoon and streaming across LAN, over web to friend and on 3G to my Android phone. Thanks for making this so easy to get up and running Quote Link to comment
delicatepc Posted April 28, 2011 Share Posted April 28, 2011 to the original poster: Is there a special reason why the additional 10 scripts to the SubSonic from RAM? Its seems excessively complicated just to avoid installing it to a drive and running it strictly from RAM.... ~dpc Quote Link to comment
christuf Posted May 16, 2011 Share Posted May 16, 2011 Hi - I followed all the steps in the OP, but when I try to access the server via the web browser on http://tower:22111 it won't connect to the server. I know this isn't very helpful - but wondered if someone might be kind enough to point me in the right direction to troubleshoot Thank you, Chris Quote Link to comment
mikeinrancho Posted May 16, 2011 Share Posted May 16, 2011 Hi - I followed all the steps in the OP, but when I try to access the server via the web browser on http://tower:22111 it won't connect to the server. I know this isn't very helpful - but wondered if someone might be kind enough to point me in the right direction to troubleshoot Thank you, Chris I would suggest trying this http://tower:22111/subsonic Quote Link to comment
guygg Posted May 20, 2011 Share Posted May 20, 2011 First thing I must state is that I haven't read 100% of this thread. Most of it, but not all of it. So if somebody else already had the problem I'm about to mention and/or a solution, feel free to ignore me. I followed the OP instructions and couldn't get it to work. After a bit of snooping and trying different things, I began to realize that the subsonic_start.sh script wasn't actually triggering the last bit to actually start the process (iow, triggering subsonic_RAM.sh). After I saw the conditional logic before it, I realized the pgrep for java might be screwing things up. Sure enough, I did the pgrep command myself and got a PID back, which was the PID for Crashplan. So the start script was getting a PID returned back when it ran and not even trying to launch subsonic_RAM.sh, thinking SubSonic was already running. I took a look at how the stop script figured out what PID to kill, and saw that it was looking at the PID.txt file that contained the PID #, killing that process, then killing that PID.txt file itself. So, logic told me that the PID.txt file shouldn't exist when the SubSonic process isn't running. So, I changed the start script to simply check for the existence of that PID.txt file rather than doing the pgrep java to decide if it should start the process. Below is my modified final section of subsonic_start.sh if anyone else has a similar problem and wants to use the modification. I'm no linux guru, but barely knew enough to find my way to this solution. No idea if it's the best answer for the situation, but it works great for me. I did some testing and if I run that start script a second time without stopping it, it properly doesn't run a second copy (and kicks out my "SubSonic is already running" message), so the conditional logic seems to work fine. Here's that final code section: ########################## # Run Subsonic - RAM (if not already running). ########################## PIDFILE="/boot/subsonic/PID.txt" if [ -f $PIDFILE ]; then echo "SubSonic is already running" else /var/subsonic/standalone/subsonic_RAM.sh # Delay for WAR jsp files setup. sleep 25 fi Oh, and thanks to the OP for getting SubSonic to work natively on an unRAID box. Now that I fixed the above mentioned issue, it's working great for me. Huzzah! Quote Link to comment
guygg Posted May 20, 2011 Share Posted May 20, 2011 One more follow-up. My trick didn't work with a reboot. Since the stop script isn't being run on a system reboot, that PID.txt file isn't getting killed. So I added this line to the go script before the other 3 lines from the OP instructions, so that the PID.txt file is nuked out before it tries to run the start script. NOW I think I've got everything happy with SubSonic on my unRAID box... Quote Link to comment
SCSI Posted June 21, 2011 Share Posted June 21, 2011 Subsonic 4.5.beta1 just been released Quote Link to comment
blontic Posted June 30, 2011 Share Posted June 30, 2011 Anyone found a good way to stream this over a secure connection? Don't really feel confortable just openning a port up on my router. Quote Link to comment
GileraGFR Posted July 2, 2011 Share Posted July 2, 2011 Hi - I followed all the steps in the OP, but when I try to access the server via the web browser on http://tower:22111 it won't connect to the server. I know this isn't very helpful - but wondered if someone might be kind enough to point me in the right direction to troubleshoot Thank you, Chris I would suggest trying this http://tower:22111/subsonic I'm having the same issue as christuf but i am using the correct url - http://myserver:22111/subsonic I just get the "Unable to connect - Firefox can't establish a connection to the server at myserver:22111." error message, I'm trying this inside my LAN at this point. Are there any logs I can check? I can't seem to find one. Thanks. EDIT: NVM, i found the log at /boot/subsonic/data/subsonic.log which pointed to a problem at line 108 of /boot/subsonic/standalone/subsonic.sh which pointed to java related - hmmm do i have java installed? no it seems. Installed Java runtime from Pkg Manager and problem sorted. Quote Link to comment
Nightstalk3rs Posted July 3, 2011 Share Posted July 3, 2011 NOTE: I use Joe L’s cache_dir script installed which is a great tool to prevent the drives from spinning up when just browsing files. It can be found at http://lime-technology.com/forum/index.php?topic=4500.0 I know this isn't the cache_dirs thread, but I was hoping that someone else who uses it and got it working to stop the drive from spinning up when accessing subsonic could help me out. I setup Subsonic to add music through my Music share on my UnRAID server by adding the location "/mnt/user/Media/Music" as the music folder. It all imported correctly and works fine, however, if I access my Subsonic page through my browser it immediately spins up the drive where all my music is stored. I have been using cache_dirs for a while now and haven't seemed to have a problem when browsing files through my MediaPortal setup, but for some reason I can't get it to work with Subsonic. Below is my GO script, which includes the code for invoking cache_dirs on boot. #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & echo nameserver 192.168.1.1 >/etc/resolv.conf echo 192.168.0.143 Tower >>/etc/hosts /boot/unmenu/uu installpkg /boot/packages/simpleFeatures-0.4-unraid-speeding_ant.tgz installpkg /boot/packages_global/jre-6u20-i586-1.txz /boot/scripts/subsonic_start.sh /boot/scripts/shutdown_jobs_add.sh /boot/cache_dirs -w -u -B cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c /boot/config/snap/snap.sh -b sleep 30; blockdev --setra 2048 /dev/md* unraid_notify start As you can see, I use the following handles which as far as I can tell should be all I need to use. -w = wait for array to come online before start of cache scan of directories -u = also scan /mnt/user (scan user shares) -B = do not force disks busy (to prevent unmounted disks showing as unformatted) Does any one have suggestions as to why I might not be getting this to work? Hopefully some people here that have set up Subsonic also use the cache_dis script. I have included my syslog in case it contains any useful information. I appreciate any help that I can get. Thanks! syslog-2011-07-03.txt Quote Link to comment
Joe L. Posted July 3, 2011 Share Posted July 3, 2011 cache_dirs will read the directories, but it does absolutely nothing to attempt to cache the contents of files. If your Subsonic program is reading a file, the disk must be spun up if the file contents are not in the disk buffer cache. To see the actual files involved, you might install the inotifywatch package and learn how to use it to monitor the accesses of files. Quote Link to comment
Nightstalk3rs Posted July 3, 2011 Share Posted July 3, 2011 Thanks Joe, you have a good point and I will install inotifywatch to see what files are being used. I thought that I might be able to get away with the drive not spinning up if I was just browsing through my music collection on Subsonic and not actually playing a file, but it may need to access files from the drive even when just browsing and not actually playing. I'll install inotifywatch and see what files are actually being accessed at the time. I'll report back later with what I find. Thanks! Quote Link to comment
rvandaalen Posted July 20, 2011 Share Posted July 20, 2011 Can someone maybe compile and post a new version v0.8 of ffmpeg to use with subsonic. If possible without dependencies and most libraries build in? I want to transcode all available mkv video files I have. Thanks Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.