filesender / filesender

FileSender server software
http://filesender.org
BSD 3-Clause "New" or "Revised" License
222 stars 124 forks source link

issue downloading multiple files in one zip / tar file #1940

Open totoman858 opened 4 months ago

totoman858 commented 4 months ago

Hi folks,

i'm getting the following error while trying to download multiple files in one zip / tar file :

On my browser I get the following error

L'application a rencontré une erreur lors du traitement de votre requête Identifiants des fichiers à télécharger manquants En rapportant cette erreur merci de mentionner le code suivant afin de faciliter la recherche du problème : "6673d7885451c"

In the log of filesender i'm getting this error :

[2024-06-20 07:48:47] [web:error] [DownloadMissingFilesIDsException exception uid:6673d0cfec9ba] download_missing_files_ids [2024-06-20 07:48:47] [web:error] [DownloadMissingFilesIDsException trace uid:6673d0cfec9ba] #0 {main}

Could you please help me ? Many thanks !

monkeyiq commented 4 months ago

Does this happen with all multiple file transfers or just some?

What $config['storage_type'] are you using?

This seems to only be thrown if you have no files_ids or a bad count for files_ids in the request. Which browser, php, and web server version are you using?

totoman858 commented 4 months ago

thanks for your quick answer ! This happen with all multiple file I'm currently using this parameter :

$config['storage_type'] = 'filesystem';

the files directory is nfsv4 mount of a storage server. Maybe I'm using wrong parameter ?

I tested with several browser / OS (Mac chrome, Mac safari, windows edge -> I'm getting this error every time) Apache version is 2.4.59 and php 8.2 based on debian bookworm 12.5

Maybe I should try with pure local storage or nfsv3 ?

monkeyiq commented 4 months ago

I think maybe NFS might not be the issue.

I am assuming you have files selected to download in the download page? I can get the error if I deselect all the files and then click on "download as a zip". As an aside, that case should probably take the user to a nicer error.

In the web console when you click to download a zip you should see a listing for download.php. That should be a POST. In the payload you should see a file_ids with a bunch of numbers in it.

Also, which FileSender version?