robert_espinoza
05/23/2025, 8:37 PMv2.3.0
to v3.5.4
using the meltano docker images:
• meltano/meltano:v3.5.4-python3.8
• meltano:v2.3.0-python3.8
Two issues that I noticed that resulted us in having to rollback the migration:
1. certain taps encountered the following error:
{"error": "Error: Setting value set via multiple environment variables:
The strange thing is I tested some of the taps that were throwing this error when using the production postgres state db, and they work locally when testing against a clean state local postgres db (i ran the extract with the old veresion and then ran again with the new version and this error does not appear locally).
2. No state was found for any of my meltano runs after migrating to the newer version. After the version upgrade was deployed all the meltano runs did a full refresh because it could not find a state for the run.
Has anyone encountered these issues when migrating these issues from version 2 to 3?Reuben (Matatika)
05/24/2025, 8:41 PMmeltano run
over meltano [ el | elt ]
.Reuben (Matatika)
05/24/2025, 8:47 PMmeltano state list
It might be that Meltano is now prepending the environment name to the generated state ID, i.e. <environment>:<tap>-to-<target>
vs <tap>-to-<target>
. Just a guess.robert_espinoza
05/27/2025, 3:43 PMRegarding the state, do you know what state IDs exist currently?
Copy codemeltano state list
It might be that Meltano is now prepending the environment name to the generated state ID, i.e.I ran the suggested commandvs<environment>:<tap>-to-<target>
. Just a guess<tap>-to-<target>
meltano state list
and I only see the expected state ids I explicitly ran with the elt
command using the --state-id
flag.Reuben (Matatika)
05/27/2025, 3:53 PMmeltano run
does not have an explicit --state-id
option, so if you were unable to run meltano [ el | elt ]
as per your first issue and tried meltano run
instead, I don't think that would pick up state in the same way.robert_espinoza
05/27/2025, 3:54 PMrun
that would also run a full refresh correct? I want to avoid running a full refresh when migrating to version 3.Reuben (Matatika)
05/27/2025, 3:59 PMmeltano state copy <old> <tap>-to-<target>
to test incremental sync with run
.robert_espinoza
05/27/2025, 4:00 PMrun
or el
?Reuben (Matatika)
05/27/2025, 4:04 PMel
for simplicity (providing it works of course) - otherwise run
(e.g. with dbt
or other utilities, or potentially more than one tap/target pair).robert_espinoza
05/28/2025, 4:12 AMFound state from..
message is not being logged anymore on v3. Is this expected. Here is an example log message I see when using v2:
{
"event": "Found state from 2025-05-28 02:12:53.046742.",
"level": "info",
"timestamp": "2025-05-28T02:21:47.063538Z"
}
Reuben (Matatika)
05/28/2025, 8:24 AMReuben (Matatika)
05/28/2025, 8:28 AMmeltano --log-level debug ...
instead.robert_espinoza
05/28/2025, 3:55 PMEdgar Ramírez (Arch.dev)
05/28/2025, 4:57 PM