Content
You are here:
Upgrade 5.0.17 to 6.0.4
Added by Erik Bijlsma about 8 years ago
I manually installed OP 5.0.17 using de manual installation guide. Installation of OpenProject 5.0 with Apache on Ubuntu 14.04. LTS
So to install OP I used:
git clone https://github.com/opf/openproject-ce.git —branch stable/5 —depth 1
Now I would like to upgrade to version 6.
How do I upgrade?
From the manual upgrade guide I tried:
[openproject@debian]# git reset —hard
[openproject@debian]# git fetch
[openproject@debian]# git checkout v6.0.4
no succes …
Replies (3)
This a frequentlly probelm to me.
To solve this problem I change my Manual install to Package Install:
First, Backup you OP Database. This is Important!!
Install a fresh OP;
1. Install manually a MYSQL:
apt-get install mysql-server libmysqlclient-dev -y
2. AND CREATE OPENPROJECT DB. HERE pass YOU CHANGE TO YOUR PASSWORD USED IN INSTALLATION PROCESS:
3. Use this code:
wget -qO - https://deb.packager.io/key | sudo apt-key add - echo "deb https://deb.packager.io/gh/opf/openproject-ce trusty stable/5" | sudo tee /etc/apt/sources.list.d/openproject.list sudo apt-get update -y sudo apt-get install openproject -y sudo openproject configure
4. Restore you DB in this new Install
To upgrade use this code, but you need to change the file: /etc/yum.repos.d/openproject.repo
default is: stable/5, change to stable/6
5. Run updates:
apt-get update -y apt-get upgrade -y
6. Finally run:
apt-get update -y apt-get install --only-upgrade openproject -y openproject configure
Best upgade!
Thank you for your extensive answer!
I did not use the packaged install, as you suggested. But you did bring me to idea that the Openproject app and the MySQL database are two separate things. So I just did a new OP install using GitHub and skipped the db:create command.
This resulted in a working OP v6.04
Thanks!
A variation of this is to bring ‘stable/6’ into the same folder as you had ‘stable/5’. To do this: