Defect #27304
closedInternal error
0%
Description
Hi all,
I have a problem when I login to redmine.
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
Log in the server:
Started POST "/login" for 172.17.42.1 at 2017-10-26 10:52:55 +0700
Processing by AccountController#login as HTML
Parameters: {"utf8"=>"▒~\~S", "authenticity_token"=>"6f7MFcaJDWt4nLidL3iacpuHof4EBIwUpqI283fplyWDYyLFlNYaeF46LB1Ja5f/GeWXNXdWnH/viDhHtW6vuQ==", "back_url"=>"http://redmine.tctav.com/", "username"=>"duong.pm", "password"=>"[FILTERED]", "login"=>"Login »"}
Current user: anonymous
SQLite3::CorruptException: database disk image is malformed: SELECT "users".* FROM "users" WHERE "users"."type" IN ('User', 'AnonymousUser') AND "users"."login" = ?
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.6ms)
ActiveRecord::StatementInvalid (SQLite3::CorruptException: database disk image is malformed: SELECT "users".* FROM "users" WHERE "users"."type" IN ('User', 'AnonymousUser') AND "users"."login" = ?):
app/models/user.rb:426:in `find_by_login'
app/models/user.rb:209:in `try_to_login'
app/controllers/account_controller.rb:194:in `password_authentication'
app/controllers/account_controller.rb:189:in `authenticate_user'
app/controllers/account_controller.rb:40:in `login'
Please help me, thanks!
Updated by Go MAEDA over 7 years ago
- Tracker changed from Patch to Defect
- Status changed from New to Closed
- Resolution set to Invalid
Probably your database file is corrupted. You can see the message "SQLite3::CorruptException: database disk image is malformed" in the log.
I am closing this issue because it is not a problem of Redmine core.
Updated by Toshi MARUYAMA over 7 years ago
- Priority changed from Urgent to Low
You should not use SQLite for production.