-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to payara-5.2021.8 with upgrade instructions #8230
Comments
Closing. Consolidating. I copied the content above into #8064 as discussed in #ig-devops in Slack. |
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Sep 12, 2022
With the update to a Payara version past 5.2021.8, the `lib/databases` folder needs to be removed by scripts etc (as with osgi-cache and generated folders) during rebuild/upgrade of a domain to avoid incompatibilities. See also: IQSS#8230
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Sep 12, 2022
With the update to a Payara version past 5.2021.8, the `lib/databases` folder needs to be removed by scripts etc (as with osgi-cache and generated folders) during rebuild/upgrade of a domain to avoid incompatibilities. See also: IQSS#8230
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Sep 20, 2022
With the update to a Payara version past 5.2021.8, the `lib/databases` folder needs to be removed by scripts etc (as with osgi-cache and generated folders) during rebuild/upgrade of a domain to avoid incompatibilities. See also: IQSS#8230
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Sep 20, 2022
With the update to a Payara version past 5.2021.8, the `lib/databases` folder needs to be removed by scripts etc (as with osgi-cache and generated folders) during rebuild/upgrade of a domain to avoid incompatibilities. See also: IQSS#8230
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At some point we'll want to update to payara 5.2021.8 (or later). This issue is a placeholder for that and a place to document the following so we don't forget when a payara update happens. I think this will require some release notes/upgrade instructions for whatever Dataverse release it is associated with:
It looks like 5.2021.8 includes and update of the H2 database to v 1.4.200 which can expose an issue with older H2 databases, specifically h2database/h2database#2078 . In making updates at QDR, I ran into this and was unable to get Dataverse to restart after an update due to this, seeing stack traces about the EJBTimers that include org.h2.message.DbException 'unable to read at position ...' errors and 'java.lang.IllegalStateException: Unsupported type 17'.
The solution was to remove the contents of <domain>/lib/databases prior to restarting, along with deleting the contents of the <domain>/generated and <domain>/osgi-cache directories. A few notes:
In terms of instructions, I think we've had releases where clearing the generated/osgi-cache dirs has been mentioned. I think this just adds one more (lib/databases).
The text was updated successfully, but these errors were encountered: