Project

General

Profile

Redmine 2.5.2 on Windows 2008 Server 64bit - Issue with running thin or puma and windows service

Added by Andy Burns almost 10 years ago

Hi

Ruby version - 1.8.7 installed to C:\Webserver\Ruby187
Rails = 3.2.19
Windows Server 2008 R2 Standard 64bit
Postgres database
We have tred both thin and puma

OUTPUT OF ABOUT=

#!/usr/bin/env ruby

ENV["RAILS_ENV"] ||= "production"
require File.expand_path(File.dirname(FILE) + "/../config/environment")
puts
puts Redmine::Info.environment

We are having issues when trying to create a Windows service in Windows Server 2008.

Following the instructions - http://www.redmine.org/boards/1/topics/32693 we can run webrick, thin and puma but only when in the redmine directory ie:

If our redmine is C:\Webserver\redmine we can run the following:

C:\Webserver\redmine\thin start -e production -p 3001

OR

C:\Webserver\redmine\puma s -e production -p 3001

and it works however the instructions suggest it should be run from the Ruby bin folder:

STRING: AppParameters
DATA: Thin startup settings and path for example: C:\Webserver\Ruby193\bin\thin start -e production -p 3001

When we attempt this it will not run.

We have setup the windows registry entried with our setup ie C:\Webserver\redmine\bundle exec thin start -e production -p 3001 however even though the service starts, no data is available on the url and no error messages are prduced by Windows.

Any advice, thanks.