Skip to content

Commit

Permalink
Merge pull request #14397 from opf/chore/remove-centos7-sles12-support
Browse files Browse the repository at this point in the history
Remove support for packaged installations on centos7 and SLES12
  • Loading branch information
machisuji authored Dec 12, 2023
2 parents e2ffb0f + e03b114 commit fb6431b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 58 deletions.
14 changes: 2 additions & 12 deletions .pkgr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ targets:
<<: *debian
ubuntu-22.04:
<<: *debian
centos-7: &centos7
centos-8: &centos8
env:
- BUNDLE_BUILD__PG="--with-pg-config=/usr/pgsql-13/bin/pg_config"
- NODE_ENV=production
Expand All @@ -33,21 +33,11 @@ targets:
- ImageMagick
- unzip
- poppler-utils
centos-8:
<<: *centos7
env:
- NODE_ENV=production
- NPM_CONFIG_PRODUCTION=false
centos-9:
<<: *centos7
<<: *centos8
env:
- NODE_ENV=production
- NPM_CONFIG_PRODUCTION=false
sles-12:
build_dependencies:
- sqlite3-devel
dependencies:
- ImageMagick
sles-15:
build_dependencies:
- sqlite3-devel
Expand Down
45 changes: 0 additions & 45 deletions docs/installation-and-operations/installation/packaged/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ The package is available for the following Linux distributions:
| [Debian 10 Buster](#debian-10) |
| [CentOS/RHEL 9.x](#centos-9--rhel-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`:

Expand Down Expand Up @@ -265,25 +263,6 @@ Then finish the installation by reading the [*Initial configuration*](#initial-c
> **Note:** On this distribution full-text extraction for attachments [*is not supported*](#full-text-extraction-not-supported) by default.
>
### CentOS 7 / RHEL 7

Add the OpenProject package source:

```shell
sudo wget -O /etc/yum.repos.d/openproject.repo \
https://dl.packager.io/srv/opf/openproject/stable/13/installer/el/7.repo
```

Download the OpenProject package:

```shell
sudo yum install openproject
```

Then finish the installation by reading the [*Initial configuration*](#initial-configuration) section.

> **Note:** On this distribution full-text extraction for attachments [*is not supported*](#full-text-extraction-not-supported) by default.
**Workaround for outdated PostgreSQL library package**

Depending on your version and installation variant, you might receive errors like `symbol lookup error: /opt/openproject/vendor/bundle/ruby/3.1.0/gems/pg-1.4.3/lib/pg_ext.so: undefined symbol: PQconninfo`.
Expand Down Expand Up @@ -326,30 +305,6 @@ sudo zypper install openproject

Then finish the installation by reading the [*Initial configuration*](#initial-configuration) section.

### SLES 12

Add the OpenProject package source:

```shell
wget -O /etc/zypp/repos.d/openproject.repo \
https://dl.packager.io/srv/opf/openproject/stable/13/installer/sles/12.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.

```shell
sudo zypper refresh openproject
```

Next, download the OpenProject package:

```shell
sudo zypper install openproject
```

Then finish the installation by reading the [*Initial configuration*](#initial-configuration) section.

# 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ These following points are some known issues around the update to 8.0. It does n

### Upgrades in NPM may result in package inconsistencies

As has been reported from the community, [there appear to be issues with NPM leftover packages](https://community.openproject.com/wp/28571) upgrading to OpenProject 8.0.0. This is due to the packages applying a delta between your installed version and the to-be-installed 8.0. package. In some cases such as SLES12 and Centos 7, the `frontend/node_modules` folder is not fully correctly replaced. This appears to hint at an issue with yum, the package manager behind both.
As has been reported from the
community, [there appear to be issues with NPM leftover packages](https://community.openproject.com/wp/28571) upgrading
to OpenProject 8.0.0. This is due to the packages applying a delta between your installed version and the
to-be-installed 8.0. package.

To ensure the package's node_modules folder matches your local version, we recommend you simply remove `/opt/openproject/frontend/node_modules` entirely **before** installing the package

Expand Down

0 comments on commit fb6431b

Please sign in to comment.