Cannot access mercurial repositories
- FreeBSD9.1, Redmine 2.8.9, Ruby 2.1.8, Rails 18.104.22.168, thin 1.6.4, Mercurial 3.7.2, Sqlite 3.10.2
- FreeBSD13.1, Redmine 5.0.2, Ruby 3.0.4, Rails 6.1.6, thin 1.8.1, Mercurial 6.1.4, Sqlite 3.39.2
After copying attachments and the database file and running
db:migrate without errors all looks good,
with one exception:
I cannot access any existing or cloned Mercurial repository in either an existing or a new project.
Redmine always responds with 'The entry or revision was not found in the repository'.
#4 Updated by Norbert Koch 23 days ago
I've run 2to3.9 over redminehelper.py from redmine 5.0.2 and then applied the patch from #33784 with some manual work. This works for me afaics, but I did not yet test it in all details.
#8 Updated by Michael Ssssssno 13 days ago
I had another small problem with one of the reprositories (1 of 20)
The apache error message when accessing the repositry page in redmine was:
App 24173 output: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 23: invalid start byte
After the hint here
I replaced 'utf-8' in the redminehelper.py file with 'ISO-8859-1' and everything worked (including the previous repos).