jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: jononorvic on 19.12.2023 19:02:32

Title: Error! Upload root folder not found [solved- not aJD bug}
Post by: jononorvic on 19.12.2023 19:02:32
Upload directory path is set to exactly what Filezilla shows in its Remote site: box. The jdownloads directory is in the site root where Joomla in installed. It and all its sub-directories have access rights set to 0755. I have tried several variations in the path setting in case I have misunderstood something, but all give the same error.

The site was copied (with Akeeba) from an old J3 site and installed in a sub-domain on a different host (so the Upload directory path needed to change). It was then updated to J4 and jDownloads updated with help from "Upgrading from jD3.9 to jD4".

Where should I look to find the problem?

Versions are: Joomla! 4.2.6; jDownloads 4.0.36; PHP 8.1.26; MySQL 5.7.44.
Title: Re: Error! Upload root folder not found
Post by: ColinM on 20.12.2023 13:41:50
Hi
I think that you are using an incorrect 'Upload Directory Path'.
FTP uses a different 'mechanism - an ftp site link is like 'ftp.site-name.com'
Typically path looks like:
/home/site-name/public_html/jdownloads
If it is a sub-site then it becomes
/home/site-name/sub-site-name/public_html/jdownloads

Colin
Title: Re: Error! Upload root folder not found
Post by: jononorvic on 20.12.2023 15:57:41
Thanks for your rapid response. I have now solved the problem.

For the benefit of anyone else using Plesk hosting rather than cPanel, what is usually needed is /var/www/vhosts instead of /home as the prefix.

More details in Plesk Forum: https://talk.plesk.com/threads/full-path-to-default-home-directory.77610/.