Harp Nextcloud Install Review
cd /var/www/nextcloud/custom_apps sudo git clone https://github.com/gabrielbruin/harp.git Note: Your Nextcloud path might be /var/www/html/nextcloud or /apps/www/nextcloud . Adjust accordingly. PHP needs to read and write to the Harp directory for caching and configs.
Require Two-Factor Authentication for any user accessing Harp. Go to Nextcloud Settings -> Security -> Two-Factor Authentication and enforce it. Comparing Harp to Other Nextcloud Music Apps How does Harp stack up against the competition? harp nextcloud install
To prevent brute-force attacks on your Harp API endpoint, add this to your Nextcloud .htaccess or Nginx config: To prevent brute-force attacks on your Harp API
sudo chmod +r /path/to/your/music/folder/* Also, ensure your music files have proper ID3 tags. Harp relies on getID3() PHP library—files without metadata may be ignored. Solution: Harp looks for embedded art (inside FLAC/MP3 ID3 tags) or a cover.jpg in the album folder. Use a tool like MusicBrainz Picard to tag your files before uploading. Problem 3: "Internal Server Error" on Scan Solution: This is almost always a memory limit issue. Increase the PHP memory limit from 128M to 512M as shown above. Also, check Nextcloud’s data/nextcloud.log for the exact error. Securing Your Harp + Nextcloud Setup for Remote Access If you want to access your music collection outside your home network, you must secure the installation. Force HTTPS (SSL/TLS) Use Let’s Encrypt. If using Nginx, add this redirection: If using Nginx
server listen 80; server_name nextcloud.yourdomain.com; return 301 https://$server_name$request_uri;
Enter (the self-hosted productivity powerhouse) and Harp (a sleek, modern music player designed specifically for Nextcloud). Together, they transform your cloud storage into a personal Spotify-like server.
memory_limit = 512M max_execution_time = 300 post_max_size = 2048M upload_max_filesize = 2048M Restart your web server: