Internal error on user edit page / no logs
I've migrated a redmine 1.4 instance from Ubuntu to Gentoo linux. I've used too ways of doing this, but in both I get the same error.
1st time I tried emerge -s www-apps/redmine. it installed redmine 1.4.5, on which I imported the old database from the Ubuntu server.
2nd time I downloaded via svn (from redmine repository). It installed redmine 1.4.6, and I used the same configs & database as for the 1st time.
Apache config looks like this:
- Possible values include: debug, info, notice, warn, error, crit,
- alert, emerg.
CustomLog /host/w/itmc/logs/access.redmine.log combined
I cannot edit nor add users. I always get this message, while in logs (neither apache, neither redmine) I can't see anything:
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.
The Redmine logs should be in /path/to/redmine/log/production.log. If there's no file there, check permissions?
Also you might try just installing Redmine yourself. There are plenty of guides to manually installing it, and not only will you get a version with many more goodies, you'll also understand how it's set up a bit better, which will definitely benefit you in the long term.
If you must have a pre-packaged Redmine, I've had a good experience with the bitnami stacks.
I did install it both from both repository and svn; same result.
Also, /var/log/redmine/production.log exists. But I have nothing in it.
How do I configure redmine to dump logs (debug) there?
Ah yes -- sorry, didn't read that properly.
I don't know about the gentoo packaged one, so I can't help you with that. I can help you with the one you installed from svn, though.
The SVN one won't write logs in /var/log/redmine -- it will use the log directory in the directory where you checked it out.
Is it definitely in the production environment? What command did you use to start Redmine? It might have defaulted to the development environment -- try this:
bundle exec rails server production
and then check production.log. Or even just watch the terminal after running that -- everything that gets logged is also printed to STDOUT.