Defect #17684
closedFile Attachments in Redmine 2.5 Internal Server Error
Description
Hi,
When uploading files or attaching files to issues, wiki, Files, Documents etc, getting Internal Server Error in Redmine. Please find below the error in log.
Started POST "/uploads.js?attachment_id=1&filename=Photo0735.jpg" for 10.0.14.2 at 2014-08-13 16:08:31 +0000
Processing by AttachmentsController#upload as JS
Parameters: {"attachment_id"=>"1", "filename"=>"Photo0735.jpg"}
Current user: 0001989 (id=33)
Completed 500 Internal Server Error in 406.0ms
TypeError (can't convert Array into String):
app/controllers/attachments_controller.rb:88:in `upload'
I am unable to root cause and have searched extensively in net and couldn't find a solution.
Please help on this.
Below are my Redmine Information:
Environment:
Redmine version 2.5.0.stable
Ruby version 1.9.3-p194 (2012-04-20) [x86_64-linux]
Rails version 3.2.17
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.17
Mercurial 2.2.2
Bazaar 2.6.0
Git 1.7.10.4
Filesystem
Redmine plugins:
csv_import_issues 0.0.1
file_servers 1.0.0
leave_management_system 0.0.1
once_assigned_ever_watcher 0.1.0
progressive_projects_list 1.0.0
recurring_tasks 1.3.0
redmine_app__space 1.0.3
redmine_app_timesheets 1.3.22
redmine_auto_percent 0.0.1
redmine_banner 0.0.9
redmine_card 0.0.1
redmine_ckeditor 1.0.16
redmine_custom_workflows 0.0.4
redmine_customized_report 0.0.1
redmine_dashboard 2.2.4
redmine_dmsf 1.4.8 stable
redmine_documents 1.0.0
redmine_image_clipboard_paste 1.0.0
redmine_issue_history 1.0.0
redmine_issue_sla 1.0.0
redmine_knowledgebase 3.0.3
redmine_lightbox 0.0.1
redmine_login_audit 0.1.5
redmine_monitoring_controlling 0.1.1
redmine_questions 0.0.5
redmine_spent_time 2.6.4
redmine_sticky_messages 1.0.1
redmine_tweaks 0.4.6
redmine_user_specific_theme 0.0.1
redmine_work_time 0.2.15
reopen_issues_by_mail 0.1.0
sidebar_hide 0.0.7
spectator 0.0.1
systango_hrm 1.0.0
Sekhar Nallani