Redmine start but home page return 500

Added by Rino Schembri over 2 years ago

Hello
I installed redmine on Centos7 and when I try to access
http://myIP:8000

I get an error 500.

Starting redmine with
$ bundle exec rails server webrick -b 0.0.0.0 -e production

=> Booting WEBrick
=> Rails 4.2.8 application starting in production on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2018-07-09 18:50:18] INFO WEBrick 1.3.1
[2018-07-09 18:50:18] INFO ruby ​​2.3.7 (2018-03-28) [x86_64-linux]
[2018-07-09 18:50:18] WEBrick INFO :: HTTPServer # start: pid = 29523 port = 3000

and production.log

Started GET "/" for 192.168.110.104 at 2018-07-09 19:03:34 +0200
Processing by WelcomeController # index as HTML
Completed 500 Internal Server Error in 40ms (ActiveRecord: 1.1ms)

NoMethodError (undefined method `identity_url 'for # <AnonymousUser: 0x00000000036c8c40>
Did you mean? identity_url =):
app / models / user.rb: 800: in `anonymous'
app / models / user.rb: 792: in `current '
app / controllers / application_controller.rb: 93: in `user_setup '

Thanks for help!

Replies (2)

RE: Redmine start but home page return 500 - Added by Rino Schembri over 2 years ago

Hello
I solved.
I had an error during the creation of the db. Resolved this the fields of the tables were all correct and I had the home page.
Thanks anyway .
P.S.
I'm sorry for my english...

RE: Redmine start but home page return 500 - Added by Go MAEDA over 2 years ago

Thank you for the feedback.
I hope you will like Redmine.

(1-2/2)