Project

General

Profile

404 when accessing redmine homepage.

Added by Luigi Van about 11 years ago

Hi,

I configured redmine-2.2.3 and it worked fine for several months until 1 week ago,
when I was trying to access homepage of redmine ( http://192.168.1.239:3000 ), it said "Page not found", so did other pages.
I viewed log/production.log but there was nothing helpful. Maybe I didn't configure log module.
I tried to vim config/environments/production.rb and uncommented these lines:

config.logger = SyslogLogger.new
config.logger = Logger.new(config.log_path, 7, 1048576)
config.logger.level = Logger::INFO

Then, I ran " ruby script/rails server webrick -e production -d" again, here's output below:

/var/redmine-2.2.3/config/environments/production.rb:11:in `block in <top (required)>': uninitialized constant SyslogLogger (NameError)
...

I googled it and found [http://www.redmine.org/boards/2/topics/1127](http://www.redmine.org/boards/2/topics/1127) but obviously nothing help.

Now I don't know what to do next to fix 404 error, and I know nothing about ruby or ror framework...

I would appreciate it if someone can help me, thanks…