leantime icon indicating copy to clipboard operation
leantime copied to clipboard

[BUG] File upload fails on IIS 8.5

Open roberttrupiano opened this issue 2 years ago • 4 comments

Description when uploading a file or image I receive from any upload location image.

Expected behavior I expect a file to be uploaded or an error that I can address with my servers configuration

Leantime Version 2.2.7

Server IIS 8.5

PHP / MySQL Version 8.1.9 / 5.7

Additional context nothing is showing up in the error folders for Leantime, PHP, IIS, or the windows event logs. I have cleared up warnings and random errors that were showing and I am all out of ideas!

roberttrupiano avatar Aug 30 '22 12:08 roberttrupiano

Hi,

yeah we are working to improve the error handling on file uploads. The most common issues are:

  • Folder permissions (iis user is not allowed to upload into that folder)
  • File size restrictions (check IIS for file size limits)
  • File type (some iis instances have very rigid file type restrictions)

Sincerely, marcel

On Tue, Aug 30, 2022 at 8:50 AM roberttrupiano @.***> wrote:

Description when uploading a file or image I receive from any upload location [image: image] https://user-images.githubusercontent.com/511914/187439168-833cbcf9-a469-4acc-a2b6-902791232e81.png .

Expected behavior I expect a file to be uploaded or an error that I can address with my servers configuration

Leantime Version 2.2.7

Server IIS 8.5

PHP / MySQL Version 8.1.9 / 5.7

Additional context nothing is showing up in the error folders for Leantime, PHP, IIS, or the windows event logs. I have cleared up warnings and random errors that were showing and I am all out of ideas!

— Reply to this email directly, view it on GitHub https://github.com/Leantime/leantime/issues/927, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALG4EFQAXHIGUTPC7VIXBB3V3X7Q5ANCNFSM6AAAAAAQAL7NEE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

marcelfolaron avatar Aug 30 '22 12:08 marcelfolaron

thank you for the quick response!

I knocked the common issues out, but ill keep digging and reply to this if I find anything.

roberttrupiano avatar Aug 30 '22 14:08 roberttrupiano

Just to double check you are not seeing any errors in resources/logs/error.log?

On Tue, Aug 30, 2022 at 10:33 AM roberttrupiano @.***> wrote:

thank you for the quick response!

I knocked the common issues out, but ill keep digging and reply to this if I find anything.

— Reply to this email directly, view it on GitHub https://github.com/Leantime/leantime/issues/927#issuecomment-1231753975, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALG4EFQ4EN45TAWEW3OUIADV3YLSBANCNFSM6AAAAAAQAL7NEE . You are receiving this because you commented.Message ID: @.***>

marcelfolaron avatar Aug 30 '22 15:08 marcelfolaron

nothing in the error.log file no

I am seeing a jQuery error in the browser -> only shows up when I click the upload button

image

roberttrupiano avatar Aug 30 '22 17:08 roberttrupiano

Closing due to inactivity. Seems IIS has been working for most folks now

marcelfolaron avatar May 01 '23 05:05 marcelfolaron