Skip to content

Commit

Permalink
docs(deps): add step in rel. notes for Payara update IQSS#8947
Browse files Browse the repository at this point in the history
As documented by @qqmyers in IQSS#8230 one needs to remove the
`lib/databases` folder from the domain dir on update to
a Payara version beyond 5.2021.8.
  • Loading branch information
poikilotherm committed Sep 20, 2022
1 parent db4e82c commit b6a502f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/release-notes/8947-payara-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ With lots of bug and security fixes included, we encourage everyone to update to
yet-to-be-released Payara 6 in the not-so-far-away future.

We recommend you ensure you followed all update instructions from the past releases regarding Payara.
(latest Payara update was for [v5.6](https://github.com/IQSS/dataverse/release/v5.6))
(latest Payara update was for [v5.6](https://github.com/IQSS/dataverse/releases/tag/v5.6))

Upgrading requires a maintenance window and downtime. Please plan ahead, create backups of your database, etc.

Expand Down Expand Up @@ -40,8 +40,12 @@ export PAYARA=/usr/local/payara5
```shell
service payara stop
rm -rf $PAYARA/glassfish/domains/domain1/generated
rm -rf $PAYARA/glassfish/domains/domain1/osgi-cache
rm -rf $PAYARA/glassfish/domains/domain1/lib/databases
```

(The deletion of `lib/databases` and root cause has been documented in #8230 by @qqmyers)

3. Move the current Payara directory out of the way

```shell
Expand Down Expand Up @@ -69,4 +73,4 @@ export PAYARA=/usr/local/payara5
```shell
service payara stop
service payara start
```
```

0 comments on commit b6a502f

Please sign in to comment.