Project

General

Profile

Problem setting up Sub-Uri for 3.2.0 with Apache2+Passenger under Debian 9

Added by Jakob Bohm 8 months ago

Hello,

I am trying to set up the old Redmine 3.2.0 on a Debian system in order to import a copy of the database from an Ubuntu 3.2.0 install. This is as a first step to migrate the data to the current Redmine version under a current OS version.

To match the age of Redmine 3.2.0, the Debian system is Debian 9 stretch, for which archived Redmine 3.2.0 packages exist, I thus cleared the system configuration and installed the redmine 3.2.0-3 deb packages from the Debian historical archive.

The component versions (all from as Debian packages) involved are:
Apache: 2.4.25-3+deb9u13
passenger: 5.0.30-1+deb9u1
rails: 2:4.2.10-1~bpo9+1
ruby: 2.3.3-1+deb9u11
MySQL/MariaDB: 10.1.48-0+deb9u2
ruby2-mysql2: 0.4.5-2
docker: NOT USED, this is already a dedicated machine.
plugins: Not yet installed

  1. RAILS_ENV=production bin/about
    sh: 1: svn: not found
    sh: 1: darcs: not found
    sh: 1: hg: not found
    sh: 1: cvs: not found
    sh: 1: bzr: not found
    sh: 1: git: not found
    Environment:
    Redmine version 3.2.0.stable
    Ruby version 2.3.3-p222 (2016-11-21) [x86_64-linux-gnu]
    Rails version 4.2.10
    Environment production
    Database adapter Mysql2
    SCM:
    Filesystem
    Redmine plugins:
    no plugin installed

I am trying to configure this as a Sub-URI setup where the direct HTTP uri is http://theserver.internaldomain/redmine and the outside URI is HTTPS://proxy.domain/redmine

However trying to follow the various guides to Sub-URI setup doesn't seem to work, and many of the guides assume current software and/or a non-passenger setup.

P.S.
I previously tried following a guide to manual setup from the tar.gz file onto Debian 8, but this failed due to various ruby infrastructure no longer allowing old component download from old systems, in particular, there was no obvious way to make the "bundle" tool not try-and-fail to use https . Thus I switched to installing from .deb packages, despite the 3.2.0-3 packages having broken install scripts.

I don't program in Ruby and will typically not understand references to Ruby-specific concepts such as Gemstones, Rickrolls, etc.