Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add support for SLES15, remove debian-9 support (#12639)

Cyril Rohrd40425584a3a
diff --git a/.pkgr.yml b/.pkgr.yml
index 50da083bdc9..ec4403c9224 100644
--- a/.pkgr.yml
+++ b/.pkgr.yml
@@ -5,7 +5,7 @@ homepage: "https://www.openproject.org"
maintainer: "[email protected]"
license: "GPL"
targets:
- debian-9: &debian9
+ debian-10: &debian
build_dependencies:
- libsqlite3-dev
dependencies:
@@ -15,18 +15,14 @@ targets:
- tesseract-ocr
- catdoc
- imagemagick
- debian-10:
- <<: *debian9
debian-11:
- <<: *debian9
- ubuntu-16.04:
- <<: *debian9
+ <<: *debian
ubuntu-18.04:
- <<: *debian9
+ <<: *debian
ubuntu-20.04:
- <<: *debian9
+ <<: *debian
ubuntu-22.04:
- <<: *debian9
+ <<: *debian
centos-7: &centos7
env:
- BUNDLE_BUILD__PG="--with-pg-config=/usr/pgsql-13/bin/pg_config"
@@ -45,6 +41,12 @@ targets:
sles-12:
build_dependencies:
- sqlite3-devel
+ dependencies:
+ - ImageMagick
+ sles-15:
+ build_dependencies:
+ - sqlite3-devel
+ dependencies:
- ImageMagick
before_precompile: "packaging/setup"
after_precompile: "packaging/teardown"
diff --git a/docs/installation-and-operations/installation/packaged/README.md b/docs/installation-and-operations/installation/packaged/README.md
index 2a54e48275e..5612bf4acf7 100644
--- a/docs/installation-and-operations/installation/packaged/README.md
+++ b/docs/installation-and-operations/installation/packaged/README.md
@@ -34,9 +34,9 @@ The package is available for the following Linux distributions:
| [Ubuntu 16.04 Xenial Xerus](#ubuntu-1604) |
| [Debian 11 Bullseye](#debian-11) |
| [Debian 10 Buster](#debian-10) |
-| [Debian 9 Stretch](#debian-9) |
| [CentOS/RHEL 8.x](#centos-8--rhel-8) |
| [CentOS/RHEL 7.x](#centos-7--rhel-7) |
+| [Suse Linux Enterprise Server 15](#sles-15) |
| [Suse Linux Enterprise Server 12](#sles-12) |
Please ensure that you are running on a 64bit system before proceeding with the installation. You can check by running the `uname -i` command on the target server and verifying that it outputs `x86_64`:
@@ -145,37 +145,6 @@ sudo apt-get install openproject
Then finish the installation by reading the [*Initial configuration*](#initial-configuration) section.
-### Ubuntu 16.04
-
-Update the `apt` package index and install packages to allow `apt` to use a repository over HTTPS:
-
-```bash
-sudo apt-get update
-sudo apt-get install apt-transport-https ca-certificates wget
-```
-
-Import the PGP key used to sign our packages:
-
-```bash
-wget -qO- https://dl.packager.io/srv/opf/openproject/key | sudo apt-key add -
-```
-
-Add the OpenProject package source:
-
-```bash
-sudo wget -O /etc/apt/sources.list.d/openproject.list \
- https://dl.packager.io/srv/opf/openproject/stable/12/installer/ubuntu/16.04.repo
-```
-
-Download the OpenProject package:
-
-```bash
-sudo apt-get update
-sudo apt-get install openproject
-```
-
-Then finish the installation by reading the [*Initial configuration*](#initial-configuration) section.
-
## Debian Installation
### Debian 11 "bullseye"
@@ -241,37 +210,6 @@ sudo apt-get install openproject
Then finish the installation by reading the [*Initial configuration*](#initial-configuration) section.
-### Debian 9
-
-Update the `apt` package index and install packages to allow `apt` to use a repository over HTTPS:
-
-```bash
-sudo apt-get update
-sudo apt-get install apt-transport-https ca-certificates wget
-```
-
-Import the PGP key used to sign our packages:
-
-```bash
-wget -qO- https://dl.packager.io/srv/opf/openproject/key | sudo apt-key add -
-```
-
-Add the OpenProject package source:
-
-```bash
-sudo wget -O /etc/apt/sources.list.d/openproject.list \
- https://dl.packager.io/srv/opf/openproject/stable/12/installer/debian/9.repo
-```
-
-Download the OpenProject package:
-
-```bash
-sudo apt-get update
-sudo apt-get install openproject
-```
-
-Then finish the installation by reading the [*Initial configuration*](#initial-configuration) section.
-
## CentOS Installation
### CentOS 8 / RHEL 8
@@ -335,6 +273,32 @@ This happens when your local postgresql-libs package is outdated. You'll have to
## SUSE Linux Enterprise Server (SLES) Installation
+**Note:** On SLES, full-text extraction for attachments [*is not supported*](#full-text-extraction-not-supported) by default.
+
+### SLES 15
+
+Add the OpenProject package source:
+
+```bash
+wget -O /etc/zypp/repos.d/openproject.repo \
+ https://dl.packager.io/srv/opf/openproject/stable/12/installer/sles/15.repo
+```
+
+If you already had an old package source that is being updated you must refresh
+your source next. It can't hurt to do this in any case, though.
+
+```bash
+sudo zypper refresh openproject
+```
+
+Next, download the OpenProject package:
+
+```bash
+sudo zypper install openproject
+```
+
+Then finish the installation by reading the [*Initial configuration*](#initial-configuration) section.
+
### SLES 12
Add the OpenProject package source:
@@ -359,8 +323,6 @@ sudo zypper install openproject
Then finish the installation by reading the [*Initial configuration*](#initial-configuration) section.
-**Note:** On SLES12 full-text extraction for attachments [*is not supported*](#full-text-extraction-not-supported) by default.
-
# Full-text extraction not supported
For some distributions we do not provide the required dependencies for full-text extraction of attachments. If you need this feature, please install the required dependencies (`catdoc unrtf poppler-utils tesseract-ocr`) manually. For more information, [please see the plaintext gem](https://github.com/planio-gmbh/plaintext). Once installed, check `Administration > Information` to see if OpenProject is able to pick up these dependencies.