OpenMetadata/openmetadata-docs/content/partials/v1.1.0/deployment/postgresql-issue-permission-denied-extension-pgcrypto.md
Sriharsha Chintalapani 60ff64c8ed
Update Deployment Docs (#12612)
* Add changes for kubernetes deployment docs

* Update Quickstart docker guide

* fix: docker quickstart docs

* Add troubleshooting guide for quickstart k8s

* fix typo

* upper case the placeholders

* Add FAQs and update EKS deployment docs

* fix: docs links

* Update Deployment page

* fix: update k8s gke docs

* fix(chore): Notes as warning type

* fix(chore): markdown link and typo

* fix(refactor): Docker Deployment Docs

* fix(refactor): Docker Deployment Docs

* fix: upgrade k8s docs

* fix(reviews): remove apache mod_proxy

* fix(refactor): docker volumes docs section

* fix(refactor): Code Review changes

* Merge remote-tracking branch 'origin/main' into 12608

* Add troubleshoot docs for psql create extension pgcypto issue

* fix: k8s docs with elasticsearch auth enabled

* fix: Update the changes to v1.1.1 docs

* fix: updated the docs for 1.1.1

* Add docker and kubernetes v1.1.1 changes in docs

* fix: Docker Deployment Link

* fix: more fixes

---------

Co-authored-by: Akash-Jain <Akash.J@deuexsolutions.com>
2023-08-10 20:19:45 +05:30

19 lines
671 B
Markdown

If you are facing the below issue with PostgreSQL as Database Backend for OpenMetadata Application,
```
Message: ERROR: permission denied to create extension "pgcrypto"
Hint: Must be superuser to create this extension.
```
It seems the Database User does not have sufficient privileges. In order to resolve the above issue, grant usage permissions to the PSQL User.
```sql
GRANT USAGE ON SCHEMA schema_name TO <openmetadata_psql_user>;
GRANT CREATE ON EXTENSION pgcrypto TO <openmetadata_psql_user>;
```
{%note%}
In the above command, replace `<openmetadata_psql_user>` with the sql user used by OpenMetadata Application to connect to PostgreSQL Database.
{%\note%}