Minor Redmine enhancements

in

Rmagick for Gantt charts

Install Rmagick as well for the nice Gantt charts. We use rmagick 1.x as rmagick 2.11 requires ImageMagick 6.3.5+ which is not available in CentOS 5

yum install ImageMagick ImageMagick-devel ruby-devel
gem install rmagick -v 1.15.13 –-no-rdoc –-no-ri

Additional options are required to avoid makefile tests as they fail on CentOS.

Make sure the arial font exists at /usr/share/fonts/default/TrueType/arial.ttf. If not, extract the truetype-windows-fonts.tar.bz2 tarball into /usr/share/fonts/default/TrueType. Additionally, you can reindex font cache

fc-cache -fv

SVN links

Patch application_helper.patch adds more link patterns for issue comments and commit log messages:

bug 52 -> Link to issue #52
issue# 52 -> Link to issue #52
commit 52 -> Link to revision 52
checkin 52 -> Link to revision 52
an attachment (id=52) -> Link to the attachment 52 of the current object

Backups

Redmine backups should include:

  • data (stored in your redmine database)
  • attachments (stored in the files directory of your Redmine install)

Sample script:

stamp=`date +%y_%m_%d`
mysqldump -uuser -ppass database | gzip > /path/to/backup/redmine-$stamp-db.gz
tar cvzf /path/to/backup/redmine-$stamp-files.gz /path/to/redmine/files

Logs

Move redmine logs to standard Linux location

mv /var/www/redmine/log /var/log/redmine
ln -s /var/log/redmine /var/www/redmine/log
/etc/init.d/httpd restart

Attachments

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.