Project

General

Profile

Actions

Defect #5852

closed

Redmine attachments corrupted

Added by Denis Mekshun almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
2010-07-09
Due date:
% Done:

100%

Estimated time:
Resolution:
Invalid
Affected version:

Description

When ppl attache files i receive corrupted files or strange messages, for example https://xxxxxxxx.com/redmine/attachments/49/2010-05-04_15_44_23.png or something like that see attache.


Files

AOgame_2010-07-08_11-54-43-02.jpg (175 KB) AOgame_2010-07-08_11-54-43-02.jpg Denis Mekshun, 2010-07-09 11:49
Actions #1

Updated by Felix Schäfer almost 15 years ago

Can you confirm the files are stored correctly on the server? Have a look at the files in redmine-dir/files/ and see if the file gets correctly to the server or not.

Actions #2

Updated by Denis Mekshun almost 15 years ago

They are corrupted too :(

Actions #3

Updated by Felix Schäfer almost 15 years ago

See in your settings if the value is maybe too low. Please also provide more information about your setup (what rails server, what ruby, rails, db, redmine versions, what db, and so on).

Actions #4

Updated by Denis Mekshun almost 15 years ago

The settings are ok. I am using mysql-server-5.1, redmine-0.9.3-1, ubuntu 10.04, apache2.2.14, fcgid1:2.3.4-2 rails2.2.3-2

Actions #5

Updated by Denis Mekshun almost 15 years ago

And maybe it's important i am using https protocol

Actions #6

Updated by Felix Schäfer almost 15 years ago

Well, the only 2 things that come to mind are that MySQL 5.1 isn't officially supported by the mysql gem, so I can't say for sure that isn't the problem, but I think you should also have a look at your apache config to see there is a time limit on running cgi processes or something akin to that. IIRC the file uploads are handed off to apache and gathered afterwards by rails/redmine, so please have a look there.

Actions #7

Updated by Denis Mekshun almost 15 years ago

  • % Done changed from 0 to 100

The problems was in libapache2-mod-fcgid. There is a link how-to solve this issue http://www.socinfo.com/ubuntu/php/fcgid/bug-fix-corrupt-files-upload or update to new version. Felix, thanks a lot.

Actions #8

Updated by Felix Schäfer almost 15 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Glad you found a solution :-)

Actions

Also available in: Atom PDF