snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Upload PDF (or others) under File Tab of ASSET success BUT zeroized file

Open FabioD79 opened this issue 1 year ago • 3 comments

Debug mode

Describe the bug

Hello When i upload a pdf file of 72k (or txt) under tab files (or files to add), snipeit complete the upload process successful but the file became 0k dimesione with a straight through line on filename and it is not download-able

Reproduction steps

  1. Create a new asset (or using an existing)
  2. go to files tab, click upload, choose pdf file and upload it
  3. The straight through on file name appear and it is not possible to download it

Expected behavior

The file should be uploaded with the correct size dimension and downloadable

Screenshots

SnipeIT_UploadFail

Snipe-IT Version

v7.0.11 build 15044

Operating System

Ubuntu 24.04.1 LTS

Web Server

Apache 2.4.58

PHP Version

8.3.6

Operating System

Windows 11

Browser

MS Edge

Version

129.0.2792.65

Device

N/A

Operating System

N/A

Browser

N/A

Version

N/A

Error messages

N/A

Additional context

It's a fresh install with php artisan restored backup from a snipe-it previous version zip file

FabioD79 avatar Oct 03 '24 13:10 FabioD79

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

welcome[bot] avatar Oct 03 '24 13:10 welcome[bot]

That generally means the upload failed. Check your directory permissions and your app log.

snipe avatar Oct 10 '24 12:10 snipe

Thank you for the answer. Yes, i solved it adding www-data group permission on ../private_uploads Regards

FabioD79 avatar Oct 11 '24 09:10 FabioD79

Great, glad you're sorted!

snipe avatar Oct 23 '24 17:10 snipe