Comments (15)
no, this is another thing, not the one that we already fixed
from metabase.
Similar failure here:
Reason: clojure.lang.ExceptionInfo: Unexpected character ('T' (code 84)): Expected space separating root-level values
liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset migrations/001_update_migrations.yaml::v49.2024-04-09T10:00:03::qnkhuat:
2024-05-15 20:22:22,225 ERROR metabase.core :: Metabase Initialization FAILED
... 236 more
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 3]
Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('T' (code 84)): Expected space separating root-level values
It looks like @ppavlov39 is having similar issues here
In the logs I've listed above, the commit in question can be seen here
from metabase.
Looks like this has been addressed in some closed issues and will be resolved in 49.11
from metabase.
no, this is another thing, not the one that we already fixed
Gotcha, my apologies.
from metabase.
An old thread on this: https://metaboat.slack.com/archives/C064EB1UE5P/p1704840138989869
from metabase.
@jeromedumas-peekin I need some info to debug this.
Could you give us a dump of your databasechangelog
table?
select * from databasechangelog;
from metabase.
got this error after new update.
May 16, 2024 at 11:21 (UTC+5:30) liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset migrations/001_update_migrations.yaml::v49.2024-04-09T10:00:03::qnkhuat: [78c11c62d9c145849baa3ee103273639](https://ap-south-1.console.aws.amazon.com/ecs/v2/clusters/eximpe-production-ap-south-1/services/metabase/tasks/78c11c62d9c145849baa3ee103273639?region=ap-south-1) metabase
May 16, 2024 at 11:21 (UTC+5:30) Reason: clojure.lang.ExceptionInfo: Unrecognized token 'nTmBnuuIywXxYSR': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')```
i had to take a db snapshot and downgrade to v0.49.7 for the metabase to come back up.
from metabase.
@jeromedumas-peekin I need some info to debug this.
Could you give us a dump of your
databasechangelog
table?select * from databasechangelog;
Yes, please find dump of databasechangelog
table.
databasechangelog.csv
from metabase.
Same error with version 0.49.11
from metabase.
@jeromedumas-peekin, I am looking at your database change log, and it seems like there was a weird migration sequence. 2 problems:
-
There are 2 migrations with IDs
v00.00-000
, and we should only have one. -
all
databasechangelog.filename
aremigrations/000_migrations.yaml
except for one entry.
This filename only existed in the pre-48 versions; from 48, we changed it to either migrations/000_legacy_migrations.yaml
or migrations/001_update_migrations.yaml
.
This suggests that there was some attempt to run a pre48 version recently without a proper downgrade.
from metabase.
The problem we're having here is not with migration, but it's trying to run this query on startup
UPDATE databasechangelog
SET FILENAME = CASE
WHEN ID = v00.00-000 THEN migrations/001_update_migrations.yaml
WHEN ID < v45.00-001 THEN migrations/000_legacy_migrations.yaml
ELSE migrations/001_update_migrations.yaml
END
and it fails because your database change log has 2 migrations with id v00.00-000
from metabase.
Try this and see if it resolves your issue.
from metabase.
Solved with delete from databasechangelog where id = 'v00.00-000' and author = 'qnkhuat' and filename = '001_update_migrations.yaml';
from metabase.
@jeromedumas-peekin for our information, did something weird happen with your migration sequence?
I want to know why you have 2 such migrations in the first place.
from metabase.
@qnkhuat No, nothing unusual happened with the migration sequence. I don't understand why i have 2 such migrations.
from metabase.
Related Issues (20)
- Global option in settings to set global unformatted for all exports including apis
- "SET SEARCH_PATH" Transaction Hangs in Idle State in Postgres HOT 2
- Pivot Table: If a value in a cell is NULL and has a Suffix it will display in the table as "null Suffix"
- Support for the feature “Filter by column equal/not equal to value in cell” for columns with links
- Parallelize frontend and drivers build
- Sidebar items vary in height
- Home/End keys do 2 things in the command palette input
- Entity Picker difficult to use on mobile HOT 2
- CLS due to recent items reloading every time the command palette is opened
- [Epic] Optimize dashboard rendering
- drop props spreading to DashboardGrid
- drop props spreading to DashboardHeader
- drop props spreading to DashboardSidebars
- Optimize rendering of DashboardHeader
- Static embedding: Update link in "Powered by Metabase footer"
- For a dashboard-level filter, be able to set default value for different tabs
- [BE] [Bug] query_metadata returns archived metrics
- can't connect to oracle
- Add map marker click behaviour to drill-through on row data
- Can we make `Offset()` work for MySQL/MariaDB?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metabase.