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


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    SOLVED Ampache - How to add a catalog / media with custom storage?

    Ampache
    2
    5
    55
    Loading More Posts
    • 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.
    • necrevistonnezr
      necrevistonnezr last edited by

      I feel stupid, but anyway, I'll ask:

      Under "Resources", I configured Ampache to use a custom storage path: /media/SG2TB/Ampache. I created a folder Music under /media/SG2TB/Ampache.

      Now, when I want to add a catalogue as a local resournce in Ampache, no matter if I enter /media/SG2TB/Ampache/Music, /Music or Music, Ampache tells me the path does not exist...?

      necrevistonnezr girish 2 Replies Last reply Reply Quote 0
      • necrevistonnezr
        necrevistonnezr @necrevistonnezr last edited by

        Permissions:

        drwxrwxrwx  8 kdj      users    4,0K Nov  9 11:02 .
        drwxrwxrwx 13 kdj      users     16K Nov  9 10:59 ..
        drwxrwxrwx  2 kdj      users    4,0K Nov  9 08:47 channel
        drwxrwxrwx  2 kdj      users    4,0K Nov  9 11:01 config
        drwxrwxrwx  2 www-data www-data 4,0K Nov  9 11:02 Music
        -rwxrwxrwx  1 kdj      users     109 Nov  9 08:47 php.ini
        drwxrwxrwx  2 kdj      users    4,0K Nov  9 08:47 play
        drwxrwxrwx  2 kdj      users    4,0K Nov  9 08:47 rest
        drwxrwxrwx  2 kdj      users    4,0K Nov  9 11:01 themes
        

        (I tried with kdj:users as well)

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @necrevistonnezr last edited by

          @necrevistonnezr I think this will be /app/data/Music. Essentially, whatever you provide as the appdata directory will be mounted into the /app/data of the app.

          necrevistonnezr 1 Reply Last reply Reply Quote 1
          • necrevistonnezr
            necrevistonnezr @girish last edited by

            @girish Thanks - that was not super obvious and should maybe go into the docs... 🙂

            girish 1 Reply Last reply Reply Quote 1
            • girish
              girish Staff @necrevistonnezr last edited by

              @necrevistonnezr Indeed. Very few apps require "paths" inside the filesystem though. But let me look into adding some text in the UI.

              1 Reply Last reply Reply Quote 2
              • First post
                Last post