Skip to content
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

Optimize not working after updating to 8.5 Self-Managed #748

Open
okaeiz opened this issue Jul 23, 2024 · 4 comments
Open

Optimize not working after updating to 8.5 Self-Managed #748

okaeiz opened this issue Jul 23, 2024 · 4 comments

Comments

@okaeiz
Copy link

okaeiz commented Jul 23, 2024

I opened a topic in the forum and some users have claimed they have had the same issue. Nobody from the team answered though.

I have just updated my Camunda SM to 8.5 using docker compose and after the successful installation, I see that the Optimize container is unhealthy.
The logs say:

Caused by: org.camunda.optimize.service.exceptions.OptimizeRuntimeException: The database Optimize schema version [3.11.5] doesn't match the current Optimize version [3.13.1]. Please make sure to run the Upgrade first.
	at org.camunda.optimize.service.db.schema.DatabaseMetadataService.lambda$validateMetadata$0(DatabaseMetadataService.java:56)
	at java.base/java.util.Optional.ifPresent(Optional.java:178)

I checked the docker -compose configuration file and under healthcheck, I saw that this container ought to run this command:

curl -f http://localhost:8090/api/readyz

I headed into the container and ran the command. It was not successful. It seems like the problem is really with the component itself.
I did not have the problem before the upgrade. What is the issue?

@megglos megglos transferred this issue from camunda/camunda Jul 29, 2024
@aabouzaid
Copy link
Member

@okaeiz Is that issue related to Helm or Docker Compose?

@okaeiz
Copy link
Author

okaeiz commented Jul 29, 2024

@okaeiz Is that issue related to Helm or Docker Compose?

It's related to Docker Compose

@aabouzaid
Copy link
Member

In that case, I move this issue to the Docker Compose repo.

@aabouzaid aabouzaid transferred this issue from camunda/camunda-platform-helm Jul 31, 2024
@jessesimpson36
Copy link
Contributor

To upgrade optimize, you have to go through the migration steps here:
https://docs.camunda.io/optimize/self-managed/optimize-deployment/migration-update/instructions/

so exec into the optimize container

docker exec -it optimize sh

and run

./upgrade/upgrade.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants