Internal error on user edit page / no logs

Added by Dragos Cirjan over 5 years ago

Hello there,

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:

_<VirtualHost a.b.c.d:443>
ServerName redmine.itmcd.ro
#DocumentRoot /var/lib/redmine/public
DocumentRoot /host/w/itmc/itmcd.ro.redmine/public
Include /host/w/itmc/.apache2/itmcd.ro.ssl.include
#<Directory /var/lib/redmine/public>
<Directory /host/w/itmc/itmcd.ro.redmine/public>
RailsBaseURI /
PassengerResolveSymlinksInDocumentRoot on

Allow from all
AllowOverride all
Order allow,deny
</Directory>
ErrorLog /host/w/itmc/logs/error.redmine.log
  1. Possible values include: debug, info, notice, warn, error, crit,
  2. alert, emerg.
    LogLevel warn
    CustomLog /host/w/itmc/logs/access.redmine.log combined
    </VirtualHost>_

My problem?
I cannot edit nor add users. I always get this message, while in logs (neither apache, neither redmine) I can't see anything:

_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_

Any ideas?

Replies (3)

RE: Internal error on user edit page / no logs - Added by Harry Garrood over 5 years ago

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.

RE: Internal error on user edit page / no logs - Added by Dragos Cirjan over 5 years ago

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?

RE: Internal error on user edit page / no logs - Added by Harry Garrood over 5 years ago

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.

(1-3/3)