Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Installing Ampache on unRAID

Featured Replies

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

  • 3 weeks later...

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

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.

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

  • 2 weeks later...
  • Author

Joe .... any progress?

 

Joe .... any progress?

 

I've had no time to look at it at all.
  • 2 months later...

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!

  • 5 years later...

so to revive a old thread, is there any guidance on Ampache for unRaid yet?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.