Project

General

Profile

Unable to start thin_redmine amd thin_redmine2 server

Added by Brian Wen 4 months ago

thin_redmine amd thin_redmine2 server were stopped and unable to restart them and they were always stopped on my Windows server

what can I do to fix this problem?


Replies (1)

RE: Unable to start thin_redmine amd thin_redmine2 server - Added by Carol Hunter 2 months ago

Brian Wen wrote:

thin_redmine amd thin_redmine2 server were stopped and unable to restart them and they were always stopped on my Windows server

what can I do to fix this problem?

this seems to be a common problem for some users who have installed Redmine on Windows using thin as the web server. There are several possible causes and solutions for this issue, such as:

The thin configuration file may be incorrect or missing. You need to have a file named redmine.yml in your C:\thin folder, which contains the settings for your thin servers, such as the port, environment, log, pid, and chdir. You can use the command thin config -C C:\thin\redmine.yml -c C:\Redmine --servers 2 -e production -p 3000 to generate the configuration file1
The thin servers may be blocked by the firewall or antivirus software. You need to allow the thin servers to communicate through the port 3000 (or whatever port you have specified in the configuration file). You can use the command netsh advfirewall firewall add rule name="Thin Server" dir=in action=allow protocol=TCP localport=3000 to create a firewall rule for the thin servers.
The thin servers may have crashed or failed to start due to some errors or conflicts. You need to check the log files in your C:\Redmine\log folder, which may contain some clues about the problem. You can also use the command thin -C C:\thin\redmine.yml -d start to start the thin servers in debug mode, which may show more details about the errors.
I hope this helps you fix your problem.

    (1-1/1)