0
Fixed

Unable to upload files using shared links with message "The followed link is not valid."

lloyd.dunn 4 months ago updated by Vlad R 4 weeks ago 24

This was working a week ago with PHP7.2 and the previous Filerun. People using shared links successfully uploaded files to our instance of FileRun.

Then, my server provider encouraged upgrading to PHP7.4, so I did. At the same time I upgraded to the latest version of FileRun 2021.03.26. I had to upgrade Ioncube, too. Now everything works, except for users of shared links are unable to upload files, getting the message "The followed link is not valid."

I tried it, it appears to upload normally. But then that message appears.

Please, what should I look for? I believe I have configured php.ini right according to the documentation. You can see it here:

[edited out]

You can try one of the nonworking shared links (password is "JF"): [edited out]

Any insight will be greatly appreciated. Thanks.

Answers

Answer
Fixed

The fix for this bug is included in the update that is now available for installation via the FileRun control panel. (See https://docs.filerun.com/updating for installing updates.)

PINNED

A patch that fixes this problem can be downloaded using the following link: https://bit.ly/3swjD44

Never mind, I fixed it by downgrading FileRun to a version from 2020. Is there a bug in the latest FileRun?

Anyway, it's all working for us now.

+1
Started

Thank you for pointing it out, we confirm the bug and we'll fix it shortly.

Hi Vlad, any idea when you will fix? 

Best, Philip

PINNED

A patch that fixes this problem can be downloaded using the following link: https://bit.ly/3swjD44

The update that gets installed via the FileRun control panel has been now patched as well.

Couldn't fix the problem even patched the files...

You might need to clear your browser's cache.

Done and it is ok now. Thanks!

 Patched but same error. Tried with different browsers.


Manually Pached and working, thanks!

The anonymous message is from me, don't pay attention, I had tried to install the patch by uploading updates in the control panel.

Can we get the docker container listed within here (https://docs.filerun.com/docker) updated, I believe it doesn't have the update built in yet, and I'm receiving the error.   Thanks!

The Docker image does not contain the FileRun application files. FileRun patches are applied only manually.

Since the latest update we also have a problem uploading to shared links.
A file with 10.485.760 bytes size does not work. That is exactly 10 mebiBytes.
A file with 10.485.759 bytes size works. There are exactly 10 mebiByte minus 1 byte.

There is no error message or anything like that. It just says "Uploading...". No percentage or anything like that is shown. It stays like this forever.

I applied the manual patch, unfortunately this did not work.

Is there another way to fix this problem?

The FileRun demo page also has this problem.

If you look here:

http://f.afian.se/wl/?id=5IEEle2pYWDnlJKONzLcgrMAe2SsCmx1

the 10MB file, the message "Upload starting..." appears and then the message "The followed link is not valid". With the 10MB-1B file the progress counts up properly and at the end only the message "The followed link is not valid." is displayed.

I seem to have the exact same problem than above poster for files above 10mb with upload box stuck on "Upload starting..." 

My php config is fine (as shown by php -i | grep max_)

Thanks in advance for having a look.

The patch (https://bit.ly/3swjD44) has been now updated to fix also the 10MB limit problem. Thank you for reporting it!

Patch works great.

Thanks a lot!

Still not working for me. Running it as a docker, uploaded the patched files to my appdata/html folder and restarted the docker and still no go. Is there a better/proper way to apply the patch to a docker version?

Reposted from my account.  

Try clearing the browser cache.

If you post a web link, I can check for you if the patch is applied right or not. 

https://filerun.dshq.org/wl/?id=S2oAorE3mbIwu7kT2q0NifnxevLMQiNv


I've tried multiple browsers and same issue on all of them.  Cleared cache "For all time" and still same thing.

On a docker container, what is the best way to replace the files? 

I have a volume setup that maps http to my local server.

volumes:
- /mnt/user/appdata/filerun/html:/var/www/html

Is just replacing the files on my local server (/mnt/user/appdata/filerun/html/) enough to update the files within the docker?  Or do I need to console into the docker container and replace them there?

Thanks!

Tim

Ok, I guess it was a permissions issue, because when I attempted to apply the patch again it told me it couldn't overwrite the files.  I don't remember seeing that last time.  I had to chown and chmod the folder then I could overwrite them and then did a chmod/chown back to the correct permissions and now it works. 

Thank you!

Answer
Fixed

The fix for this bug is included in the update that is now available for installation via the FileRun control panel. (See https://docs.filerun.com/updating for installing updates.)