Ubuntu-Server 17.10's redmine and mercurial are incompatible. That leads to problems in redmine.

Bug #1770583 reported by Fred Teich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
redmine (Ubuntu)
New
Undecided
Unassigned

Bug Description

The available version of redmine 3.3 is incompatible with the shipped version of mercurial (4.3).

The integration of mercurial repositories does not work than. In the apache error log I can find entries like this:

redminehelper.py: missing attributes: norepo, optionalrepo, inferrepo
App 17488 stderr: *** (use @command decorator to register 'rhmanifest')
App 17488 stderr: hg: unknown command 'rhmanifest'
App 17488 stderr: (did you mean manifest?)

Replacing the contents of /usr/share/redmine/lib/redmine/scm/adapters/mercurial/redminehelper.py with the current contents from the github repository https://raw.githubusercontent.com/redmine/redmine/master/lib/redmine/scm/adapters/mercurial/redminehelper.py fixes the problem for me.

An automatic redmine update caused the same problem again so I had to replace the contents again und this is why I create this ticket now.

Please update redmine to a more recent version.

Ubuntu 18.04 contains the same old version of redmine. To the problem should occur there, too.

Regards,

Fred

ProblemType: Bug
DistroRelease: Ubuntu-Server 17.10
Package: redmine (3.3) and mercurial (4.3)
ProcVersionSignature: Ubuntu 4.13.0-38.43-generic 4.13.16
Uname: Linux 4.13.0-38-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.8
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri May 11 09:53:51 2018
InstallationDate: Installed on 2016-09-03 (614 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: redmine
UpgradeStatus: Upgraded to artful on 2018-02-08 (92 days ago)

I created this report on my desktop computer and not on my server.

Revision history for this message
Fred Teich (teichert) wrote :
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.