# Openproject

## Installation

Update the `apt` package index and install packages to allow `apt` to use a repository over HTTPS:

```
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates wget
```

Import the PGP key used to sign our packages:

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

Note: you might get a warning when importing the key `Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))`. This happens because APT has updated the way it manages signing keys, and the package provider is not supporting the new way yet.

Add the OpenProject package source:

```
sudo wget -O /etc/apt/sources.list.d/openproject.list \
  https://dl.packager.io/srv/opf/openproject/stable/12/installer/ubuntu/22.04.repo
```

Download the OpenProject package:

```
sudo apt-get update
sudo apt-get install openproject
```

## Update

`sudo apt-get update --allow-releaseinfo-change`

```
sudo apt-get update
sudo apt-get install --only-upgrade openproject
sudo openproject configure
```

On Ubuntu 22.04., you might see warnings like these:

> W: [https://dl.packager.io/srv/deb/opf/openproject/stable/12/ubuntu/dists/22.04/InRelease](https://dl.packager.io/srv/deb/opf/openproject/stable/12/ubuntu/dists/22.04/InRelease): Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

This message is due to Ubuntu 22.04 switching to a more secure way of adding repository sources, which is not yet supported by the repository provider. There is ongoing work on this item, the message is for information only.

If you get an error like the following:

> E: Repository ‘[https://dl.packager.io/srv/deb/opf/openproject/stable/12/ubuntu](https://dl.packager.io/srv/deb/opf/openproject/stable/12/ubuntu) 22.04 InRelease’ changed its ‘Origin’ value from ‘’ to ‘[https://packager.io/gh/opf/openproject](https://packager.io/gh/opf/openproject)’ E: Repository ‘[https://dl.packager.io/srv/deb/opf/openproject/stable/12/ubuntu](https://dl.packager.io/srv/deb/opf/openproject/stable/12/ubuntu) 22.04 InRelease’ changed its ‘Label’ value from ‘’ to ‘Ubuntu 22.04 packages for opf/openproject’

These two messages messages are expected, due to a change in Origin and Label repository metadata, to better explain what the repository is about. You should allow the change, and/or run `sudo apt-get update --allow-releaseinfo-change` for the update to go through.

## Konfiguration

```
nano /etc/openproject/conf.d/server

Server-Adresse: "0penpr.hhml.selfhost.co"
Export ... = "https"
```

Außerdem in den Admineinstellungen die URL ändern.

<div class="page-content" id="bkmrk-"><div class="text-muted text-small"><div class="entity-meta">  
</div></div></div>