0
Not a bug

Many issues with my filerun instance

EmilyLove 3 weeks ago updated by Vlad R 3 weeks ago 3

I have 2 filerun servers. One is running in a VM inside a docker container and works perfectly. The other is on my home server and has issues:

A) Audio Player doesn't work for some files:

- Screenshot: https://filerun.emilylove.app/wl/?id=SZfTD9Jsr3LaqisUGyxLzwdX5Myt0zQQ

- Non-Working File: https://filerun.emilylove.app/wl/?id=zFRm56tjkwh1XsoBf51hbbYy4AgPgb7z

- Working File: https://filerun.emilylove.app/wl/?id=KD9ClYJJAwXqJRMqwLELtAenkfXEa7zR

B) Image Editor doesn't work at all, it just says "Loading image.." for every file.

- Screenshot: https://filerun.emilylove.app/wl/?id=BDdGdDz0Q41ynKSOAd9Ay7eI5DyqoeLc

C) User's Profile Pictures do not load. It is just a blank image in place of where it should be.

- Screenshot: https://filerun.emilylove.app/wl/?id=DaIeWMYWjCXRf7wbcjHfvGndBpBv8E3l

- File: https://filerun.emilylove.app/wl/?id=tlJYEgUIV2HfKe2sfSk8Rg2NUOjIHD6R

D) Activity Logs do not load thumbnails. It is just a blank image in place of where it should be.

- Screenshot: https://filerun.emilylove.app/wl/?id=Ijw7xifcp8LTqsvS3oP0ULmgbyszgbi9

(Note: The above issues were captured with fiddler and apache logging, so you can see exactly what's happening on both the client and server side.)

(Fiddler Log: https://filerun.emilylove.app/wl/?id=XDWekQ8oUuuoN9KMNO5bO3s6xgbK3Nu0)

(Apache Log: https://filerun.emilylove.app/wl/?id=XdaFi8Nfpgm8aIgdjh7e90p3mexgTT9s)

Fiddler has made the following logs:

- 06:34:13:7877 Fiddler.Network.ProtocolViolation - [#11] Content-Length mismatch: Response Header indicated 1,048,577 bytes, but server sent 1,048,581 bytes.

- 06:34:13:8217 HTTPSLint> Warning: ClientHello record was 508 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance

E) Images do not preview. You will see this when you view any of the screenshots above. You can still click the download button in the top right to view the file.

F) Videos do not play in browser. Additionally, downloading the video corrupts the downloaded file.

- Nextcloud original version: https://emilylove.app/s/4HA382cxaWmBbSq

- Filerun corrupted version: https://filerun.emilylove.app/wl/?id=spVzmvKt5c1PQ8E8kTvF8DFgSgy3BBhP

Nearly all files were loaded in from a previous nextcloud installation, in fact, they are still accessible on Nextcloud too. However, issues occur even with new files.

Answer

+1
Answer
Not a bug
Response Header indicated 1,048,577 bytes, but server sent 1,048,581 bytes.

You have 4 characters leaking from somewhere. Probably a PHP file. If you edited any PHP file inside FileRun, such as the optional configuration file, make sure you haven't left any extra printable space (do not "echo" anything inside that file, do not try to end the file with "?>")

If you haven't edited anything, your PHP configuration is probably problematic.

+1
Answer
Not a bug
Response Header indicated 1,048,577 bytes, but server sent 1,048,581 bytes.

You have 4 characters leaking from somewhere. Probably a PHP file. If you edited any PHP file inside FileRun, such as the optional configuration file, make sure you haven't left any extra printable space (do not "echo" anything inside that file, do not try to end the file with "?>")

If you haven't edited anything, your PHP configuration is probably problematic.

Quote from "Vlad R":

do not try to end the file with "?>"

I set some settings in customizables/config.php and I added ?> on the end. Every issue I had was fixed when I removed those 2 characters. Thank you.