Hosting Ampache under ISPConfig3

Discussion in 'Installation/Configuration' started by Mark99Mark, Feb 25, 2025.

  1. Mark99Mark

    Mark99Mark New Member

    I am posting here for help after installing Ampache on ISPConfig3

    I have followed the guide mostly at HowtoForge, Obviously this differs under ISPconfig3.
    I have created a subdomain music.wherever.com.au with SSL & http to https Php 8.3
    For installation I have:
    Changed Custom php.ini settings:
    upload_max_filesize = 500M
    post_max_size = 500M
    date.timezone = Australia/Sydney

    Apache Directives:
    DocumentRoot {DOCROOT_CLIENT}/public

    Downloaded and installed and have a working site.
    I now need to create a folder for the music inside the web site. I have used Filezilla to create a folders in the root website named it /music and also one in /public/music both given permissions 777 both have the same owner/group as all the other files in the web directory.

    I have logged into Administration and am trying to Add Catalogue
    But I get this error when specifying the path

    In the form below enter either a local path (i.e. /data/music) or the URL to a remote Ampache installation (i.e ht+++tp://theotherampache.com)
    The folder couldn't be read. Does it exist? ./music
    Path was not specified

    I have tried a lot of variants and come up with the same error. (/music web/music etc etc)

    If there is a kind sole who could help me here get my music server to access a folder please help.
    Ta Mark
     
  2. pyte

    pyte Well-Known Member HowtoForge Supporter

  3. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    is the php-fpm for that vhost chrooted or not?

    assuming your music folder is in the web folder,
    try
    /web/music (php-fpm chrooted vhost)
    or
    /var/www/<domain.tld>/web/music (php-fpm not chrooted vhost)
    for the path.
    change the /web/music part (in both path versions) to /web/public/music if the music folder is in the public folder
     
    pyte likes this.
  4. Mark99Mark

    Mark99Mark New Member

    Thank-you for your reply's Pyte and nhybgtvfr.
    I have listened to my first mp3...

    I did try change to chroot but it broke the site reverting it back to no graphics and a default warning that the installation default to /public, I did not try a complete reinstall using this defaulted to see if that worked. Because-
    As in nhybgtvfr's post the second non chrooted option worked straight up, (to my relief)

    I did come close in my permutations tho. web8 ...
    Thank-you to this amazing community which takes the time to help stranded non-technical people in a friendly manor. I hope this post encourages others to try ISPConfig and Ampache.

    Mark
     
    pyte and till like this.

Share This Page