# Upgrade Postgresql from 11 to 13.13 issue

**URL:** <https://forums.pega.com/t/upgrade-postgresql-from-11-to-13-13-issue/5684>\
**Category:** General\
**Tags:** account-executive, java-and-activities, 8-5-2, system-administration, pega-platform\
**Created:** [December 26, 2023, 8:15am UTC](https://forums.pega.com/t/upgrade-postgresql-from-11-to-13-13-issue/5684 "2023-12-26T08:15:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![issamr22](https://avatars.discourse-cdn.com/v4/letter/i/cc9497/32.png) [@issamr22](https://forums.pega.com/u/issamr22)\
**Post date:** [December 26, 2023, 8:15am UTC](https://forums.pega.com/t/upgrade-postgresql-from-11-to-13-13-issue/5684/1 "2023-12-26T08:15:09Z")

</div>

Hi Team,

We are trying to upgrade Postgresql from 11 to 13.13 in one of our PEGA environments. Initially we got an error related to missing “pljava” file while running pg\_upgrade command.

could not load library “pljava”: ERROR: could not access file “pljava”: No such file or directory

Database: \<db\_name\>

Can you help Please.

---

<div class="post-metadata">

**Author:** ![parav1](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@parav1](https://forums.pega.com/u/parav1)\
**Post date:** [December 27, 2023, 6:09pm UTC](https://forums.pega.com/t/upgrade-postgresql-from-11-to-13-13-issue/5684/2 "2023-12-27T18:09:23Z")

</div>

@issamr22

Verify if the pljava files are present in the lib directory , if not add the file and check it.

Thank you

---

<div class="post-metadata">

**Author:** ![PhilipShannon](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/philipshannon/32/23864_2.png) [@PhilipShannon](https://forums.pega.com/u/PhilipShannon)\
**Post date:** [December 28, 2023, 2:25pm UTC](https://forums.pega.com/t/upgrade-postgresql-from-11-to-13-13-issue/5684/3 "2023-12-28T14:25:08Z")

</div>

@issamr22 Different approach: for upgrades we create a new DB server first.

Orig DB server: full DB backup, next drop sqlj schema from DB, and then another full DB backup. Restore this 2nd backup at new DB server (the backup without the sqlj schema) and once it’s all good there, add pljava to new DB server.
