Hi @iewl , First let me state there might be other ways than how I do things. But below is what I would do, I am also going to update the ReadMe file on my Github fork with the below instructions.
Here’s a clean install guide for your fork:
Installing wolfravenous/ncdownloader on Nextcloud 33
Requirements
Installation
1. Navigate to your Nextcloud apps directory and clone the fork:
cd /var/www/nextcloud/apps
sudo git clone https://github.com/wolfravenous/ncdownloader.git
2. Set correct ownership:
sudo chown -R www-data:www-data /var/www/nextcloud/apps/ncdownloader
3. Create the bin directory and download yt-dlp:
sudo mkdir -p /var/www/nextcloud/apps/ncdownloader/bin
sudo wget -O /var/www/nextcloud/apps/ncdownloader/bin/yt-dlp https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp
sudo chmod 755 /var/www/nextcloud/apps/ncdownloader/bin/yt-dlp
sudo chown www-data:www-data /var/www/nextcloud/apps/ncdownloader/bin/yt-dlp
4. Install Node.js if not already installed:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
5. Build the frontend assets:
cd /var/www/nextcloud/apps/ncdownloader
sudo npm install
sudo npm run build
6. Enable the app:
sudo -u www-data php8.3 /var/www/nextcloud/occ app:enable ncdownloader
Scanning downloaded files
After downloading files, run this to make them visible in Nextcloud — replace yourusername and the path with your own:
sudo -u www-data php8.3 /var/www/nextcloud/occ files:scan yourusername --path="/yourusername/files/Music"
Updating yt-dlp manually
If the in-app update button doesn’t work, update yt-dlp manually:
sudo wget -O /var/www/nextcloud/apps/ncdownloader/bin/yt-dlp https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp
sudo chmod 755 /var/www/nextcloud/apps/ncdownloader/bin/yt-dlp
sudo chown www-data:www-data /var/www/nextcloud/apps/ncdownloader/bin/yt-dlp