Skip to content

500 Internel Server Error #21

@maljolani

Description

@maljolani

Dear,

When I am trying to upload the sample file to import it, i face the following 500 error,

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Back

When I check the production logs i found the following,

Started POST "/projects/service-desk/csv_imports" for 192.168.10.53 at 2015-10-12 08:04:50 +0000
Processing by CsvImportsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"7Wy776UqQ2I/XlyV3ogF+rgmtxM6632AiKZiJCm73ZnwCiFwWL/wXWtGug/LlmbUJmITlxJdVejumyFNI3pInw==", "csv_import"=>{"csv"=>#<ActionDispatch::Http::UploadedFile:0x00000007cdd460 @tempfile=#<File:/tmp/RackMultipart20151012-31972-1rwm5jn.csv>, @original_filename="sample.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"csv_import[csv]\"; filename=\"sample.csv\"\r\nContent-Type: text/csv\r\n">}, "commit"=>"Import CSV", "project_id"=>"service-desk"}
  Current user: mohammad.aljolani (id=9)
Completed 500 Internal Server Error in 122ms (ActiveRecord: 9.5ms)

NoMethodError (undefined method `call' for "result == false":String):
  lib/redmine/sudo_mode.rb:63:in `sudo_mode

I have redmine 3 installed, also i followed the instlation instruction and it should be installed successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions