I installed Gitorious on CentOS and now I’m trying to log in with the
admin user I created with “script/create_admin” and fails with this
message in production.log
Gitorious encountered an server error. We are automatically notified
of errors and will look into it. If the error persists beyond what’s
reasonable
I deleted the user and tried again to see if I was putting in the
wrong password but it still failed to log the admin user in. I also
get the same message when I try to create a user. Any ideas?
I set Gitorious up on CentOS and now I’m trying to log in with the
admin user I created with “script/create_admin” and fails with this
message in production.log
<marius.mathie...@gmail.com> wrote:
> On Sun, Apr 1, 2012 at 6:00 PM, sbinev <sbi...@gmail.com> wrote:
> > I have the exact same problem. Did you find out how to fix it?
> You need to use the same hostname in the browser as you've configured in
> gitorious.yml.
> Even when I did this I still get the failure. Are there other things
> that should be set?
> Anything in apache?
> Thanks,
> Jay
> On Apr 3, 5:25 am, Marius Mårnes Mathiesen
> <marius.mathie...@gmail.com> wrote:
> > On Sun, Apr 1, 2012 at 6:00 PM, sbinev <sbi...@gmail.com> wrote:
> > > I have the exact same problem. Did you find out how to fix it?
> > You need to use the same hostname in the browser as you've configured in
> > gitorious.yml.
> Does the fully qualified hostname need to match as well?
> Meaning if you do a hostname --fqdn
> On Apr 4, 12:22 pm, JayP <bosox...@gmail.com> wrote:
> > Even when I did this I still get the failure. Are there other things
> > that should be set?
> > Anything in apache?
> > Thanks,
> > Jay
> > On Apr 3, 5:25 am, Marius Mårnes Mathiesen
> > <marius.mathie...@gmail.com> wrote:
> > > On Sun, Apr 1, 2012 at 6:00 PM, sbinev <sbi...@gmail.com> wrote:
> > > > I have the exact same problem. Did you find out how to fix it?
> > > You need to use the same hostname in the browser as you've configured in
> > > gitorious.yml.
On Wed, Apr 4, 2012 at 8:05 PM, JayP <bosox...@gmail.com> wrote: > All the hostnames are matching up in gitorious.yml and apache configs > and I'm getting a failure in the production.log:
> WARNING: Invalid request host 'jason-ubuntu'. Session cookies will > not work.
Ah, you'll need at least one period/dot in gitorious_host in gitorious.yml. Try setting up an entry in /etc/hosts which points to your server, like so:
127.0.0.1 jason.ubuntu
And then put "gitorious_host: jason.ubuntu" in gitorious.yml