Project

General

Profile

URL for redmine

Added by Evan Panagiotopoulos over 13 years ago

I would like to know how to get to redmine. I know it is installed.

I ran RAILS_ENV=production script/about and here is the output

About your application's environment
Ruby version 1.8.7 (amd64-freebsd8)
RubyGems version 1.3.7
Rack version 1.2
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /usr/local/www/redmine
Environment production
Database adapter mysql
Database schema version 20100819172912

I know the port is 3000. If the domain is example.com how do I get to redmine?

Thanks,

Evan


Replies (3)

RE: URL for redmine - Added by Deoren Moor over 13 years ago

How did you set it up? Apache, nginx, webrick?

Is this what you ran to start it?

ruby script/server webrick -e production

RE: URL for redmine - Added by Evan Panagiotopoulos over 13 years ago

The process starts with /usr/local/etc/rc.d/redmine start

It is installed on a freebsd server with nginx.

The conf file has:
location ~* /redmine {
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X_FORWARDED_PROTO https;
}

I tried domain.com:3000/redmine
I tried domain.com:3000/redmine/
I tried domain.com:3000
I tried domain.com:3000/

but none of them worked.

Thanks,

Evan

RE: URL for redmine - Added by Deoren Moor over 13 years ago

One thing that stands out is the Rack version. According to the installation notes, version 1.0.1 is required.

That's probably the first thing I would fix before troubleshooting further. Of course it may not apply, because this:

Rack 1.0.1 is required. If you don't have this exact version, database migration would fail.

leads me to think it's only necessary for DB migration. All the same, it's not a bad idea to downgrade to 1.0.1

Once you've done that, you probably want to confirm that it is indeed running on that port. If you're not using webrick, I'd assume that /redmine is available on port 80 or 443, depending on how you've configured the server in your nginx config file.

    (1-3/3)