Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Ampache
  3. Ampache - Lost Soul - Cloudron Install

Ampache - Lost Soul - Cloudron Install

Scheduled Pinned Locked Moved Ampache
5 Posts 3 Posters 542 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BrainStorm
    wrote on last edited by joseph
    #1

    For the life of me, I can't figure out how to get a catalog setup and where/how to put the music files. I have gone into the Ampache Admin section, clicked on Add a catalog, I entered a name, local, and added /media for the path...

    BUT, where is /media folder on the drive?

    This is the Clouderon installation on a linode ubuntu server.

    I have located a media folder on the drive and copied some .mp3 files to that folder via FTP. But if I do an Add or update from the Catalogs, nothing ever happens.

    Any incite, suggestions would be appreciated before go out and find a tall tree and a short rope. ๐Ÿ™‚

    Thank you,

    Chris...

    jdaviescoatesJ necrevistonnezrN 2 Replies Last reply
    1
    • B BrainStorm

      For the life of me, I can't figure out how to get a catalog setup and where/how to put the music files. I have gone into the Ampache Admin section, clicked on Add a catalog, I entered a name, local, and added /media for the path...

      BUT, where is /media folder on the drive?

      This is the Clouderon installation on a linode ubuntu server.

      I have located a media folder on the drive and copied some .mp3 files to that folder via FTP. But if I do an Add or update from the Catalogs, nothing ever happens.

      Any incite, suggestions would be appreciated before go out and find a tall tree and a short rope. ๐Ÿ™‚

      Thank you,

      Chris...

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #2

      @BrainStorm have you already seen https://docs.cloudron.io/apps/ampache/#import-audio-files ?

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • B Offline
        B Offline
        BrainStorm
        wrote on last edited by
        #3

        Yes I looked at the link that you provided above, but no luck. Thank you very much though, I do appreciate it.

        I even followed these instructions. I could never get it to locate/read/find the music folder and import. I am not new with computers, but i MUST be missing something... I even looked it up on chatgpt! ๐Ÿ™‚

        Thank you again.

        For Ampache, you can store music files in any directory accessible by the web server user. A common directory choice for music files might be /var/www/html/music or /srv/ampache/music, but the exact location can vary based on your preferences and server organization. Hereโ€™s how you can set it up:

        1. Choose a Directory for Music Files
          You can choose an existing directory or create a new one. Examples include:

        /var/www/html/music
        /srv/ampache/music
        /home/username/music

        Create the directory if it doesnโ€™t exist:
        sudo mkdir -p /var/www/html/music

        1. Set Correct Permissions
          Ensure the directory and files are accessible by the web server user (often www-data or apache depending on your system).
          Set ownership and permissions:
          sudo chown -R www-data:www-data /var/www/html/music
          sudo chmod -R 755 /var/www/html/music

        2. Add the Directory as a Catalog in Ampache
          Go to Admin > Catalog in Ampacheโ€™s web interface.
          Select Add a Catalog.
          Enter the path to your music directory (e.g., /var/www/html/music) in the Path field.
          Configure any additional settings if needed, and then save the catalog.

        3. Scan the Catalog

        After adding the directory, run a scan in Ampache to index the files into the database, making them accessible through the Ampache interface.

        This setup will enable Ampache to read from the specified directory and serve the music files to users.

        1 Reply Last reply
        0
        • B BrainStorm

          For the life of me, I can't figure out how to get a catalog setup and where/how to put the music files. I have gone into the Ampache Admin section, clicked on Add a catalog, I entered a name, local, and added /media for the path...

          BUT, where is /media folder on the drive?

          This is the Clouderon installation on a linode ubuntu server.

          I have located a media folder on the drive and copied some .mp3 files to that folder via FTP. But if I do an Add or update from the Catalogs, nothing ever happens.

          Any incite, suggestions would be appreciated before go out and find a tall tree and a short rope. ๐Ÿ™‚

          Thank you,

          Chris...

          necrevistonnezrN Offline
          necrevistonnezrN Offline
          necrevistonnezr
          wrote on last edited by necrevistonnezr
          #4

          @BrainStorm said in Ampache - Lost Sole - Clouderon Install:

          For the life of me, I can't figure out how to get a catalog setup and where/how to put the music files. I have gone into the Ampache Admin section, clicked on Add a catalog, I entered a name, local, and added /media for the path...

          BUT, where is /media folder on the drive?

          This is the Clouderon installation on a linode ubuntu server.

          I have located a media folder on the drive and copied some .mp3 files to that folder via FTP. But if I do an Add or update from the Catalogs, nothing ever happens.

          Any incite, suggestions would be appreciated before go out and find a tall tree and a short rope. ๐Ÿ™‚

          Thank you,

          Chris...

          You do know about Docker, the folder structure in Cloudron and which folders are read only and which are r/w (/app/data)?
          From the docs:

          Create a directory for it through the File Manager. For example create /app/data/catalogs/music. You can upload new audio files to this folder now or later.

          Or use a Volume for your music files: https://docs.cloudron.io/volumes/

          Volumes are local or remote file systems. They can be used as an app's main data storage or as a shared storage location between apps.

          1 Reply Last reply
          1
          • B Offline
            B Offline
            BrainStorm
            wrote on last edited by
            #5

            Finally! This was the answer:

            Create a directory for it through the File Manager. For example create /app/data/catalogs/music. You can upload new audio files to this folder now or later.

            Kind of new to Linux, do not know anything about docker yet. But after following your reply, it finally worked!

            I'm now going to delete it all, and re install to learn more about it.

            Thank you very much for your reply, much appreciated.

            Now I do not need a tall tree with a short rope, I can go for the short tree with the long rope! ๐Ÿ™‚

            Chris...

            1 Reply Last reply
            2
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search