Catalog and or Metadata Updates take a lot longer when done through the WebUI - therefore it might be easier to update an Ampache Catalog through the commandline interface.cd into the directory where Ampache is installed
execute the following command
php -d memory_limit=1G bin/catalog_updat...
This method is as far as I know the quickest option to backup databases - and the restore (in case ever needed) is as easy as the backup and works for sure.
Backing up a single database
To backup a single database use
mysqldump -u USERNAME -p DATABASE-NAME > DATABASENAME-$(date +%...
1. Creating the credentials file
Create a cifscredfile in your home directory - for example like this
nano /home/lars/cifscredfile
Then enter the following:
username=lars
password=password
domain=QNAP
Save the file with STRG + o and exit nano with STRG + x. Next restrict the access t...
You might want to use passwords in scripts. as the interactive password entering is not possible in scripts, here is a work-around.
First install expect (assuming you are using Ubuntu or a similar distribution type the following:
sudo /apt-get install expect
after that the following can be...