Defect #32797

Can I disable autoupdates for Gems and Redmine in general?

Added by Oleg Blyahher almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Gems support
Target version:-
Resolution:Invalid Affected version:3.4.4


Hi there,
We are running a Redmine issue tracker internally in our organization, so it is not reachable outside our intranet.

It's Redmine 3.4.4 installed via apt on Ubuntu 18.04.

Every once in a few months, there is a Ruby error when we try to access the tracker. It has to do with different gems every time - the last one ad to do with mysql2 (so I had to install libmysqlclient-dev), before that it had to do with guard-rspec, before that I had to install an older version of some gem that had autoupdated (I think nokogiri).

Most of the time running `bundle update` and `bundle install ...` is enough, but there are too many times it isn't.

I have very little knowledge in Ruby/Ruby on Rails, and I am one of the few people who have access to the server. For this reason I really want to disable autoupdate of Redmine, and especially of all the gems, as things tend to go wrong and then make the tracker inaccessible.

So far I've set APT::Periodic::Update-Package-Lists "0"; and APT::Periodic::Unattended-Upgrade "0"; in /etc/apt/apt.conf.d/20auto-upgrades

Any other ideas?



#1 Updated by Bernhard Rohloff almost 3 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Redmine itself neither does expect automatic updates nor are they a core feature. The update mechanism is part of the package provided by the Ubuntu project. AFAIK you should be good with disabling updates for Redmine itself but I don't have any knowledge about the dependencies of the Ubuntu package so I think it's good advice if I ask you to also get in touch with the package maintainers and ask the questions to them.

Please use the forum for further questions as this issue tracker is reserved for development topics only.

Also available in: Atom PDF