• Resolved alopezupc

    (@alopezupc)


    Dear all,

    My web server has a NSF folder with big files. I do a symlink from this folder to a subfolder of wordpress and add the files to “download monitor” using “browse for file”. Everything was working fine until now. Today I have tried to add a new file to download monitor using the same method and when I try to download the file I get an http 500 error. What I have seen is, when everything was working, when I selected the file, the path was absolute to the file system while now the path is absolute to web folder. If I add the absolute path manually, after save, the path is converted automatically to absolute to web folder.

    Could you help me to solve this problem?

    Thanks in advance

    • This topic was modified 2 years, 8 months ago by alopezupc.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @alopezupc ,

    Could you please give us some examples of how the NSF folder and the symlink folder are structured inside your server?
    For example :
    NSF : /home/NSF
    WP Installation folder: /home/public/

    Also, could you please give an example of how the path is transformed after the installation based on the examples you will give?

    Warmly,
    Razvan

    Thread Starter alopezupc

    (@alopezupc)

    Dear Razvan

    Thanks for your reply. The structure is the following one:
    NFS: /data
    WP: /var/www/wp/
    Symlink: /var/www/wp/datasets -> /data

    The file that are working and were added some time ago using the same mechanism have the following structure:
    /var/www/wp/datasets/file1

    With new added files I use the same method or adding the path manually:
    /var/www/wp/datasets/file2
    but after save, it is transformed into:
    /datasets/file2

    Regards

    Albert

    Plugin Author Teo Alex

    (@altesin)

    Hello @alopezupc ,

    We have a fix prepared for symlink folders for the next update that still needs to be tested.
    You can find an issue regarding your problem here https://github.com/WPChill/download-monitor/issues/914

    If you wish to implement this fix see the commit in the above issue but we strongly recommend to do this on a dev server as this is beta code and may result in database issues.

    Also remember to add the full path to the real directory in Downloads > Settings > Advanced > Miscallaneous > Other downloads path. ex.: /var/www/data.

    Let us know if this fixed your problem.

    Have a great day,
    Teo

    • This reply was modified 2 years, 8 months ago by Teo Alex.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTTP 500 files form server’ is closed to new replies.