Skip to content

Commit

Permalink
MINOR - 1.3 release docker breaking docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pmbrull committed Feb 8, 2024
1 parent 73062f7 commit c888a86
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,30 @@ Either update your YAMLs or the env var you are using under `SECRET_MANAGER`.
Note how we also added the possibility to add `prefix` when defining the secret key ID in the external secrets managers and
the option to tag the created resources.

### Docker user

In this release we updated the server [Dockerfile](https://github.com/open-metadata/OpenMetadata/blob/1.3.0/docker/development/Dockerfile#L34)
to work with `openmetadata` as a user instead of root.

If you're mapping volumes, specially when [configuring JWK](https://docs.open-metadata.org/v1.3.x/deployment/docker#add-docker-volumes-for-openmetadata-server-compose-service),
you will need to update the owner of the directory to get it working with the new `openmetadata` user.

You will need to run:

```bash
chown 1000 private_key.der
```

Otherwise, you'll see a similar error in your server logs:

```
ERROR [2024-02-08 15:29:36,792] [main] o.o.s.s.j.JWTTokenGenerator - Failed to initialize JWTTokenGenerator
java.nio.file.AccessDeniedException: /etc/openmetadata/jwtkeys/private_key.der
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
...
```

### Elasticsearch reindex from Python

In 1.2.0 we introduced the Elasticsearch reindex job as part of the OpenMetadata server. In this release, we
Expand Down

0 comments on commit c888a86

Please sign in to comment.