Cornelius Posted January 3, 2011 Share Posted January 3, 2011 Hi... has anyone installed Ampache (http://ampache.org) on unRAID? It should be possible. Ampache Requirements Ampache has 3 requirements for a basic installation. These requirements are OS-Neutral meaning your operating system is not important as long as you can provide these 3 applications as a foundation. A web server, most commonly Apache. PHP MySQL Maybe a more advanced user could try to install it and post a installation guide. Thanks Link to comment
flips Posted January 20, 2011 Share Posted January 20, 2011 I just found out about ampache, it seems like a awesome piece of software. I'm trying to get it setup in windows, but it won't see my unraid share, either as a unc path or a mapped drive. Have you gotten this to work where the catalog looks at your unraid share? flips Link to comment
Joe L. Posted January 20, 2011 Share Posted January 20, 2011 Looks interesting... I just happen to have a Droid-X here... and it has an Android client. If I get time next week I'll see if it can be easily installed. Joe L. Link to comment
flips Posted January 20, 2011 Share Posted January 20, 2011 I will be interested to see how that goes. I stumbled across it last night, accidentally. I was just looking for a way to play some songs off a share with my palm pre and I found an app that used ampache. I just got localplay configured with httpq on winamp. That's an awesome feature! I might be using this to drive my multi-zone audio setup. I had it going with xlobby a while back but it had a number of issues and was never a real clean setup. I'm running the server from windows and it doesn't like my unraid share. Not sure why that is. Other shares work fine. I don't know if it is an issue with permissions or something. I configured the service to be run by my user... oh well I will have to play that some more, other than it is really slick. flips Link to comment
Cornelius Posted January 28, 2011 Author Share Posted January 28, 2011 Joe .... any progress? Link to comment
Joe L. Posted January 28, 2011 Share Posted January 28, 2011 Joe .... any progress? I've had no time to look at it at all. Link to comment
Spectrum Posted April 2, 2011 Share Posted April 2, 2011 I've been tinkering with this and have the basics working; will make a guide once I get it all hammered out. The biggest problem I've run into so far is actually the permissions on the array I'm using the unMenu packages for lighttpd, php, and mysql to make things easier for everyone to install (including me!) and I initially configured lighttd to run as its own user/group. I fixed up the permissions on every location that lighttpd would need access too and all was well until I realized that my entire music library (well the test library in my VM ) has the permissions set as 700 and the lighttd user/group can't access them. If I kick off the lighttd process as root, everything works fine. Right now I see 3 solutions: 1. Just run the web server as root. Everything in me cringes at the thought. Running an externally facing process as root is just a bad, bad, BAD idea but it makes configuration and maintenance much easier. The risk here is that there is a web server, potentially a public facing web server, running as root and if it get's breached the process can read/write anywhere on the system. 2. Use the lighttpd user/group to restrict access to the user under which the web server runs and write scripts to maintain the perms on music share(s). By default, whenever a file is created/copied to the array via an SMB/CIFS share it has the perms set as 700 (directories get 711) and belong to root:root. It would be easy to have a script fire once per day via cron that fixes the perms from 700-->744 for files and 711-->755 for dirs, but this seems to be getting messier and messier for supporting this application 3. Mount the music share/shares via smb in another location (ie /tmp/Music) so the perms are controllable. The problems I see here is if you mount a user share here you end up going through CIFS and fuse to get to the file and it makes shutting down the array a bear. I like elegant and this is anything but. So short of there being some way to change the umask for files that get created in a particular user share I thought I'd reach out and see what the community thinks. Would you rather just run the webserver as root and take the risk, would you be ok with needing to use scripts to modify permissions, or had you rather mount a share again locally? I'm also curious to see if anyone has a better solution! Link to comment
kingfenix Posted October 23, 2016 Share Posted October 23, 2016 so to revive a old thread, is there any guidance on Ampache for unRaid yet? Link to comment
CHBMB Posted October 23, 2016 Share Posted October 23, 2016 Dunno about revived, more like exhumed..... Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.