OpenProject Installation, Configurations, and Upgrade

Author - Webner
30.06.2020
|
0 Comments
||

OpenProject is an open-source web-based project management system, which is widely used for team collaboration. This application is released under the GNU General Public License Version 3 and which is continuously developed and supported by an active open-source community around the world.

→ Steps to install the package on Ubuntu 18.04 Bionic Beaver

Step 1. Import the packager.io repository signing key

# sudo wget -qO- https://dl.packager.io/srv/opf/openproject-ce/key | sudo apt-key add –

Step 2. Repository requires apt to have https support, so make enable it

# sudo apt-get install apt-transport-https

Step 3. Add the package repo source using below single command

# sudo wget -O /etc/apt/sources.list.d/openproject-ce.list \
https://dl.packager.io/srv/opf/openproject-ce/stable/8/installer/ubuntu/18.04.repo

Step 4. Update the repo list using below command

# sudo apt-get update

Step 5. Install the Community Edition package

# apt-get install openproject

→ And now configuration:-

Start the configuration with the following command:
# sudo openproject configure

And follow the steps as per your requirements.
As I am going to perform this on fresh install OS without any other software installed.
So, follow the below steps as mentioned in screenshots:

→ Install Databases as you can see in the screenshot else you can use your existing one.
OpenProject 1
→ Install apache server.
OpenProject 2

→ Enter host name which you are going to use for application.
OpenProject 3
OpenProject 4

→ Enable SSL option and set path for SSL certs and key
OpenProject 5
→ SSL certificate path
OpenProject 6
→ SSL key path
OpenProject 7
→ Path to CA Bundle certs if any.
OpenProject 8
→ It’s up to you if you want to use SVN or not, skip if you want to use Git.
OpenProject 9
→ Location for storing SVN repos
OpenProject 10

→ If you want to use Git then install this.
Install
→ Path for Git repos
Get repos

→ Here we have selected the SMTP method to send emails.
SMTP
→ choose login method
login
→ Mention smtp host name
host name

→ Specify the port number used by smtp
port number
→ Mention the user name which will be used to send notification
username
→ put the password here
password
→ Install memory caching system to speed up dynamic database-driven websites
install caching

→ Additional configurations:-

Set storage location for attachments locally to any desired location.

# vi /etc/openproject/conf.d/other

Comment the below line:

export ATTACHMENTS_STORAGE_PATH=”/var/db/openproject/files”

Upgrade open project
Backup
Before performing an upgrade, we must take the latest backup of the current running open project.
First, take a snapshot (backup) if it is hosted on a cloud environment.
And then, to perform a backup, run the following command:

sudo openproject run backup

Note: The above command will store the current database dump, attachments and config to /var/db/openproject/backup.

For Ubuntu 18.04 operating system
sudo apt-get update
sudo apt-get install –only-upgrade openproject
sudo openproject configure

Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

Leave a Reply

Your email address will not be published. Required fields are marked *