Ampache - Lost Soul - Cloudron 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...
-
@BrainStorm have you already seen https://docs.cloudron.io/apps/ampache/#import-audio-files ?
-
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:
- 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/musicCreate the directory if it doesn’t exist:
sudo mkdir -p /var/www/html/music-
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 -
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. -
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.
- Choose a Directory for Music Files
-
@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.
-
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...