View Issue Details

IDProjectCategoryView StatusLast Update
0020250mantisbtdb mysqlpublic2015-11-27 17:21
ReporterGromek82 Assigned Toatrol  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSDebianOS Version7.8
Product Version1.2.19 
Summary0020250: Cannot upload ZIP, RAR, CAB files
Description

Whenever I try to upload ZIP. RAR, CAB files I am getting:

"APPLICATION ERROR 0000401
Database query failed. Error received from database was 0002006: MySQL server has gone away for the query: INSERT INTO mantis_bug_file_table
( bug_id, title, description, diskfile, filename, folder, filesize, file_type, date_added, content, user_id )
VALUES
( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ).
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section."

Max_allowed_packets is set up to 50M on mysql server and on php.ini

As soon as I rename those files I am able to upload them just fine. Could you help me please ?

TagsNo tags attached.

Activities

atrol

atrol

2015-11-02 14:32

developer   ~0051786

Are there any errors or warnings in web server and/or database logs?

Are you able to upload small ZIP files (< 1MB)?

Do you get any errors or warnings when running admin/check.php?

Gromek82

Gromek82

2015-11-02 16:25

reporter   ~0051788

Hello Atrol,

Nothing at all on apache logs - I am not able to upload even 1kb zip file. I am not sure what you mean admin/check.php

atrol

atrol

2015-11-02 16:40

developer   ~0051789

Did you check also the mysql logs?

Run
http://www.<yourMantis>/admin/check.php
Maybe you removed directory admin after installation (recommended) and have to restore it.

dregad

dregad

2015-11-03 04:58

developer   ~0051800

This error is generally caused by a (server) timeout. I don't think this is caused by Mantis.

Do you have maybe an antivirus process that scans the archive files and could be causing this ?

Gromek82

Gromek82

2015-11-03 05:04

reporter   ~0051801

Hi Dregad,

No I don't have an antivirus running on the server.

atrol

atrol

2015-11-03 05:57

developer   ~0051802

Got no feedback for 0020250:0051789.

atrol

atrol

2015-11-14 06:35

developer   ~0051841

Gromek82,

You did not provide feedback; I am therefore resolving this issue as "no change required".

Feel free to reopen the issue at a later time and provide the requested information.