How do you restart redmine?

Added by Jason Cameron about 10 years ago

I'm in the middle of trying to set up RedMine so that it'll send out that legendary 'test email' I've been hearing about. I'm making changes to the email.yml and according to the instructions I'm supposed to 'restart Redmine'. I'm using the bitnami RedMine 0.8.4 stack and the only thing I can see is that if I open the Apache Service monitor I can restart the redmineApache service. Is that how to do it?

I've been looking through the wiki and it's a little sparce at the moment.

Thanks in advance,

M

Replies (22)

RE: How do you restart redmine? - Added by Joe Clarke about 10 years ago

I haven't used bitnami before, but based on the readme it is using mongrel so to restart redmine you need to restart mongrel. It may also restart redmine for you when you restart apache.

RE: How do you restart redmine? - Added by Andrew Chaika about 10 years ago

In Bitnami Redmine Stack there are 5 services (on 2 core machine):
  • Mongrel1
  • Mongrel2
  • Subversion
  • Apache
  • MySQL

To restart Redmine you need to restart both Mongrel services

RE: How do you restart redmine? - Added by Jason Cameron about 10 years ago

Hmmm Ok now I'm getting somewhere. Now another question. How do you restart Mongrel? I tried restarting the apache but it didn't restart redmine.

Thanks in advance,

j

RE: How do you restart redmine? - Added by Andrew Chaika about 10 years ago

For Windows - like any other Windows Service - type following in command prompt (cmd.exe):

net stop Mongrel1
net start Mongrel1
net stop Mongrel2
net start Mongrel2

RE: How do you restart redmine? - Added by Kristylee g almost 9 years ago

what about on a Linux server? also trying to do this and redmine is not recognizing that I made any changes.

RE: How do you restart redmine? - Added by kroesjnov x almost 9 years ago

Kristylee g wrote:

what about on a Linux server? also trying to do this and redmine is not recognizing that I made any changes.

For bitnami-redmine-1.0.1-0-ubuntu-10.04:

root@linux:~# /etc/init.d/bitnami restart

/opt/bitnami/subversion/scripts/ctl.sh : subversion stopped
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
stopping port 3001
stopping port 3002
100903 08:34:40 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/linux.pid ended
/opt/bitnami/mysql/scripts/ctl.sh : mysql stopped
100903 08:34:45 mysqld_safe Logging to '/opt/bitnami/mysql/data/mysqld.log'.
100903 08:34:46 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data
/opt/bitnami/mysql/scripts/ctl.sh : mysql  started at port 3306
starting port 3001
starting port 3002
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80
/opt/bitnami/subversion/scripts/ctl.sh : subversion started at port 3690

If that doesnt work, you've either got a config or plugin issue, and you'll have to debug /opt/bitnami/apps/redmine/log/*

RE: How do you restart redmine? - Added by Marc Kraak over 8 years ago

I don't have bitnami and I'm not using Mongrel. How do I restart Redmine in order to use the email.yml configuration?

RE: How do you restart redmine? - Added by Marco Gutsche over 8 years ago

Marc Kraak wrote:

I don't have bitnami and I'm not using Mongrel. How do I restart Redmine in order to use the email.yml configuration?

Do you use apache with passenger? then you can use following command:

touch REDMINE_ROOT/tmp/restart.txt

If this file doesn't exist create it.

RE: How do you restart redmine? - Added by Marc Kraak over 8 years ago

What should the restart.txt contain?

RE: How do you restart redmine? - Added by Marco Gutsche over 8 years ago

It doesn't matter. My one contains restart

RE: How do you restart redmine? - Added by Marc Kraak over 8 years ago

tried it in /usr/share/redmine/tmp/restart.txt

and then touch /usr/share/redmine/tmp/restart.txt

does nothing at all... what am I missing?

RE: How do you restart redmine? - Added by Marco Gutsche over 8 years ago

Do you really use apache with passenger?

RE: How do you restart redmine? - Added by Marc Kraak over 8 years ago

I don't know, followed generic installation instructions for Ubuntu.
How can I tell?

RE: How do you restart redmine? - Added by Justin Collum almost 8 years ago

On my Bitnami Windows install my services were prefaced with "redmine":

net stop redmineMongrel1
net start redmineMongrel1
net stop redmineMongrel2
net start redmineMongrel2

RE: How do you restart redmine? - Added by luz lopez almost 8 years ago

hi! I don't know how to restart the service.. I'm using postgres...

RE: How do you restart redmine? - Added by luz lopez almost 8 years ago

and I'm not using Bitnami..

RE: How do you restart redmine? - Added by Martin Assarsson almost 8 years ago

Try this:
/etc/init.d/apache2 restart

// Martin

RE: How do you restart redmine? - Added by luz lopez almost 8 years ago

thanks, but I have already tried that command and it has not worked.

RE: How do you restart redmine? - Added by Martin Assarsson almost 8 years ago

Do you know which web server you run?
Which OS do you run and if Linux, which distribution and version?

RE: How do you restart redmine? - Added by luz lopez almost 8 years ago

OS: ubuntu 11.04
server: appserv

RE: How do you restart redmine? - Added by Zahidul Hasan over 7 years ago

Check your new created plugin folder permission. It should be same as others folder

(1-22/22)