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

Unexpected error running Liquibase: java.lang.IllegalStateException #37

Open
lovecodeyou opened this issue Jul 4, 2022 · 9 comments
Open

Comments

@lovecodeyou
Copy link

image

When I run 【liquibase data run --name=myrepos --env=POSTGRES_PASSWORD=secret --image=postgres】,The command line displays the following information

Unexpected error running Liquibase: java.lang.IllegalStateException: No context is configured, run 'titan install' or 'titan context install' to configure titan
For more information, please use the --log-level flag

What is the meaning of this error not understand

@lovecodeyou
Copy link
Author

I'm following this video command

https://www.youtube.com/watch?v=bCeBpQvPJ5s

@mcred
Copy link
Contributor

mcred commented Jul 4, 2022

It looks like liquibse data install needs to be run. Have you gone through all the steps in this document, especially step 3?

https://github.com/liquibase/liquibase-data/blob/main/beta/session-1.md#step-3-download-liquibase-data-extension-and-add-to-your-system-path

@lovecodeyou
Copy link
Author

It looks like needs to be run. Have you gone through all the steps in this document, especially step 3?liquibse data install

https://github.com/liquibase/liquibase-data/blob/main/beta/session-1.md#step-3-download-liquibase-data-extension-and-add-to-your-system-path

I thought all the orders were just on the YouTube video,Thank you。I guess I didn't install docker. I'll try this document link you gave me.

@mcred
Copy link
Contributor

mcred commented Jul 4, 2022

Reply here if you run into any more issue.

@lovecodeyou
Copy link
Author

OS:Vmware's centos7 image

run liquibase data install Keep repeating the following message,Is that normal?

image

@mcred
Copy link
Contributor

mcred commented Jul 5, 2022

This happens where there is not a pre-compiled ZFS module for your OS. What is your host OS? Also, are you running docker desktop? The short answer is that you are missing ZFS, but the longer answer of how to fix that requires some more information.

@lovecodeyou
Copy link
Author

What is your host OS

centos7

are you running docker desktop?

no,Just the Docker engine
image

@lovecodeyou
Copy link
Author

if i use liquibase-data , Must Docker desktop be installed?

@mcred
Copy link
Contributor

mcred commented Jul 5, 2022

@lovecodeyou No, docker desktop isn't required. It is the usual installation method that MacOS and Windows users will use and we precompile and support ZFS modules for it. The underlying docker containers for liquibase data come from the titan project and there are some details about support here.

Basically, not all possible kernel variants have pre-compiled ZFS modules. There are a few ways to solve your particular issue:

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

2 participants