Jefferson49 / ExtendedImportExport

A weebtrees custom module to download GEDCOM files on URL requests with the tree name, GEDCOM file name and authorization provided as parameters within the URL.
GNU General Public License v3.0
4 stars 0 forks source link

Webtrees can't see the folder to save downloads to #14

Closed angelocorbo closed 3 weeks ago

angelocorbo commented 1 month ago

Hi,

Installed the latest module release, 3.2.4. Added a subdirectory to the /data directory as suggested by the module (/volume1/web/wt/data/gedcom_backups).

After getting the warning: "The folder settings could not be saved, because the folder “volume1/web/wt/data/gedcom_backups/” does not exist." I opened a shell to Synology DSM 7.2, sudo su - to elevate rights and found the gedcom_backups directory I created on my Mac was owned by the admin account on Synology (angelocorbo:users). As root changed ownership of the gedcom_backups folder to "http:http" and gave it "777" privs, thinking it would be able to read and write as user http to "volume1/web/wt/data/gedcom_backups/", but no, it's still complaining it can't see it. Any ideas?

Other than that, this module seems a great solution to regular backups. Thank your for the time and effort,

Angelo C.

Jefferson49 commented 1 month ago

Hi Angelo,

thank you for reporting the issue.

Since other user also reported issues about selecting the folder, I inserted a list with path information in the control panel:

downloadgedcomwithurl_folders

If you open the control panel for the DownloadGedcomWithURL module, it shows the specific path information for your server.

For selecting the DownloadGedcomWithURL folder, you need to provide the relative path, typically starting with "data/".

angelocorbo commented 3 weeks ago

Hi there, thank you for the clarification, (should've read the provided info more carefully) and for writing a module that automates what to me seems critical in any web app, good data backups.

Jefferson49 commented 3 weeks ago

Happy to hear that it is working. I will change the text below the folder to be more precise that it is a relative path.