TurnKey Linux Virtual Appliance Library

Restart Redmine to show new themes and plugin changes

Hi Forum,

We've uploaded a few themes and plugins to our Turnkey Redmine installation.

However, I can't workout how to restart the app so the new plugins and changes get picked up?

Is it through SSH? What's the command we should run

Thanks,

DanC

Jeremy's picture

I'm unfamilar with Redmine

But I would assume restarting the underlaying process would do the trick. So assuming it runs on Apache then try this:

service apache2 restart

Worst case scenario you could restart the whole appliance (don't do this if you are using AWS without having either first done a backup or using persistent storage such as EBS; as you'll loose all your data!)

reboot

I'm researching this now ...

And have yet to find an answer.

Installed a plugint tonight, and got to the point about restarting Redmine. I've tried restarting Apache and rebooting the server. Each time, though, I'm still logged in to the server, and based on what I'm reading in other forums, that means it didn't work.

One thing they (people in other forums) mention is that you can simply touch tmp/restart.txt from your redmine directory (which I'm assuming they mean /var/www/redmine) and on the next mouse click in your Redmine application the Redmine process(es) will restart. (They also assume that you have Passenger ApplicationSpawner running, which I do.) However, this did not work.

It's odd, the plug-ins show in Admin -> Plugins, but there is no config available, nor do they seem to be operational.


Redmine ROOT

As far as I know, Redmine's root directory use to be /usr/share/redmine. Try to create tmp/restart.txt there and it will restart the next time you clic a link.

I have fixed this problem

All you have to do is type sudo /opt/bitnami/ctlscript.sh restart that is it  it worked for me after I have downloaded plugins

Jeremy's picture

That sounds like a Bitnami specific command

Note the file path: /opt/bitnami/ctlscript.sh, so I assume that it would only work on Bitnami based servers...

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)