liquibase-data icon indicating copy to clipboard operation
liquibase-data copied to clipboard

Unexpected error running Liquibase: java.lang.IllegalStateException

Open lovecodeyou opened this issue 2 years ago • 9 comments

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 avatar Jul 04 '22 13:07 lovecodeyou

I'm following this video command

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

lovecodeyou avatar Jul 04 '22 13:07 lovecodeyou

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

mcred avatar Jul 04 '22 13:07 mcred

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.

lovecodeyou avatar Jul 04 '22 13:07 lovecodeyou

Reply here if you run into any more issue.

mcred avatar Jul 04 '22 14:07 mcred

OS:Vmware's centos7 image

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

image

lovecodeyou avatar Jul 05 '22 03:07 lovecodeyou

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.

mcred avatar Jul 05 '22 03:07 mcred

What is your host OS

centos7

are you running docker desktop?

no,Just the Docker engine image

lovecodeyou avatar Jul 05 '22 03:07 lovecodeyou

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

lovecodeyou avatar Jul 05 '22 03:07 lovecodeyou

@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:

mcred avatar Jul 05 '22 14:07 mcred