Comments (5)
Glad the issue is resolved! Enjoy!
from koel.
Btw you don't have to run koel:search:import
for every deployment. This script is meant to be run only once.
from koel.
Hi, any update?
from koel.
Are you sure you're on 6.12.1? There's no such file app/Services/V6/SearchService.php
in that tag.
from koel.
I understand how I encountered this error. I deployed Koel many years ago using the following deployment script:
(Do not copy! This is an incorrect bash script)
echo "Downloading koel..."
sudo apt install tar wget jq
latestUrl=$(curl https://api.github.com/repos/koel/koel/releases/latest | jq -r '(.assets[] | select(.browser_download_url | contains(".zip"))).browser_download_url')
rm /tmp/koel.zip
rm /tmp/koel_ext -rf
wget -O /tmp/koel.zip $latestUrl
echo "Unziping koel..."
unzip /tmp/koel.zip -d /tmp/koel_ext
echo "Stoping service..."
sudo systemctl stop apache2.service
echo "Replacing files..."
sudo cp -rv /tmp/koel_ext/koel /var/www/html/
echo "Changing owners..."
sudo chown -R www-data:www-data /var/www/html/koel/
sudo chown -R www-data:www-data /mnt/data
find /var/www/html/koel -type d -print0 | sudo xargs -0 chmod 0755
find /var/www/html/koel -type f -print0 | sudo xargs -0 chmod 0644
find /mnt/data -type d -print0 | sudo xargs -0 chmod 0755
find /mnt/data -type f -print0 | sudo xargs -0 chmod 0644
echo "Configuring PHP..."
sudo sed -i '/^memory_limit =/s/=.*/= 8192M/' /etc/php/8.1/apache2/php.ini
sudo sed -i '/^upload_max_filesize =/s/=.*/= 16G/' /etc/php/8.1/apache2/php.ini
sudo sed -i '/^post_max_size =/s/=.*/= 16G/' /etc/php/8.1/apache2/php.ini
sudo sed -i '/^output_buffering =/s/=.*/= 0/' /etc/php/8.1/apache2/php.ini
echo "Restarting..."
sudo systemctl start apache2.service
echo "Migrating and syncing..."
sudo -u www-data php /var/www/html/koel/artisan migrate --force
sudo -u www-data php /var/www/html/koel/artisan koel:sync
sudo -u www-data php /var/www/html/koel/artisan koel:search:import
It has been working well until today when I realized that it does not remove files that have disappeared from previous versions.
Therefore, I am trying to refactor this script.
I completely cleaned up what I deployed in the past, and now the problem has been solved. Thank you.
from koel.
Related Issues (20)
- PWA support for webUI HOT 3
- Init struggle
- Playlist sorting not being saved
- Visual bug: Green playlist buttons have lower height HOT 1
- General UX improvement ideas HOT 3
- Not Found: The requested content cannot be found. after using shareable URLs HOT 1
- Automatically scroll to the current playing song HOT 1
- Site not rendering after install HOT 2
- "Failed to start the audio device" error on iOS HOT 1
- Music cannot be scanned normally (invalid file(s)) HOT 1
- File more than 50Mb size gets failed to upload HOT 28
- Error playing music from web interface HOT 2
- Email Invite not working HOT 2
- Does not work on iPad
- Better Media Organization HOT 1
- Add more than a single library
- Improve Documentation for installation for web development HOT 1
- KO player progress bar in Microsoft Edge HOT 2
- Add support for third party S3 providers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koel.