Project

General

Profile

Advice about upgrade from 2.5.2

Added by Stefano Grespan about 2 years ago

Hello,

I'm trying to upgrade an old installation (2.5.2) to a newer version but i cannot follow the guide because something in my environment does not correspond. Unfortunately I don't know how it has been implemented so probably I'm missing something.

At point 2 and 3 of the upgrade guide i read that i should copy config/database.yml and config/configuration.yml from the old directory to the new one

But I don't have this files: in my old directory:

redmine:/opt/redmine-2.5.2-3/config # ls
logrotate monit

In "monit" directory I have a bitnami.conf file which includes .conf files in conf.d directory

# Bitnami configuration file for Monit.
set httpd port 2812 and
use address localhost
allow localhost
include /opt/redmine-2.5.2-3/config/monit/conf.d/*.conf

In conf.d I've an apache.conf and a mysql.conf which doesn't contains many infos:

# vim conf.d/mysql.conf
check process mysql
with pidfile "/opt/redmine-2.5.2-3/mysql/data/mysqld.pid"
start program = "/opt/redmine-2.5.2-3/mysql/scripts/ctl.sh start" with timeout 90 seconds
stop program = "/opt/redmine-2.5.2-3/mysql/scripts/ctl.sh stop" with timeout 90 seconds

So, I've a couple of question: should I manually complete configuration.yml and database.yml and try? Is this upgrade (from 2.5.2 to 5.0 o 4.2) supported?

Thanks


Replies (2)

RE: Advice about upgrade from 2.5.2 - Added by Stefano Grespan about 2 years ago

I've solved through another way: instead of upgrade the existing server I've created a new one and exported and imported the database.

RE: Advice about upgrade from 2.5.2 - Added by Nion Marvin almost 2 years ago

My colleague from Autoxloo also had this issue and he just moved to new server, it helped

    (1-2/2)