is it possible to downgrade from 1.8.0 to 1.7.2?
# ask-ai
m
is it possible to downgrade from 1.8.0 to 1.7.2?
k
The knowledge sources do not explicitly document a supported or recommended process for downgrading Airbyte from version 1.8.0 to 1.7.2. Most official documentation focuses on upgrading, not downgrading, and highlights that upgrades may involve breaking changes, especially around the removal of the
webapp
service and changes to ingress rules between these versions. If you attempt a downgrade, you may encounter compatibility issues, especially if your data or configuration has already been migrated to the newer architecture in 1.8.0, such as the merged
webapp
and
server
components and updated ingress requirements [Breaking change list](https://docs.airbyte.com/release_notes/breaking-changes). If you still wish to attempt a downgrade, you would need to ensure that your configuration, database, and any persistent data are compatible with 1.7.2, and you may need to manually revert ingress and deployment changes made for 1.8.0. However, this process is not described or guaranteed by the official documentation, and there is a risk of data loss or system instability. In summary: Downgrading is not officially documented or supported, and may be risky. Proceed with caution and consider restoring from a backup taken before the upgrade if you must revert to 1.7.2.
m
@kapa.ai I am trying to upgrade back to 1.8.0 and now I have the following error:
Copy code
2025-08-18 14:19:06,530 [main]    ERROR    i.a.b.ApplicationKt(main):28 - Unable to bootstrap Airbyte environment.                                                                                                 │
│ io.micronaut.data.exceptions.DataAccessException: Error executing PERSIST: ERROR: duplicate key value violates unique constraint "dataplane_dataplane_group_id_name_key"                                           │
│   Detail: Key (dataplane_group_id, name)=(32b3661d-8449-4a98-958e-8089eeb87679, AUTO) already exists.                                                                                                              │
│     at io.micronaut.data.runtime.operations.internal.BaseOperations.failed(BaseOperations.java:141)                                                                                                                │
│     at io.micronaut.data.runtime.operations.internal.BaseOperations.persist(BaseOperations.java:90)                                                                                                                │
│     at io.micronaut.data.runtime.operations.internal.EntityOperations.persist(EntityOperations.java:31)                                                                                                            │
│     at io.micronaut.data.jdbc.operations.DefaultJdbcRepositoryOperations.lambda$persist$20(DefaultJdbcRepositoryOperations.java:733)                                                                               │
│     at io.micronaut.data.jdbc.operations.DefaultJdbcRepositoryOperations.lambda$executeWrite$24(DefaultJdbcRepositoryOperations.java:830)                                                                          │
│     at io.micronaut.data.connection.support.AbstractConnectionOperations.withExistingConnectionInternal(AbstractConnectionOperations.java:152)
k
A message from kapa.ai
The error you are seeing:
Copy code
ERROR: duplicate key value violates unique constraint "dataplane_dataplane_group_id_name_key" Detail: Key (dataplane_group_id, name)=(..., AUTO) already exists.
indicates that during the upgrade to Airbyte 1.8.0, the migration or initialization process is trying to insert a dataplane with the same
(dataplane_group_id, name)
combination that already exists in your database. This violates the unique constraint on the
dataplane
table, which enforces uniqueness for the pair
(dataplane_group_id, name)
 [see schema details](https://docs.airbyte.com/platform/1.7/understanding-airbyte/database-data-catalog#dataplane). This issue is related to a known problem that was fixed in Airbyte 1.8.0, where database migrations could fail if there was a single data plane group named "AUTO" [see release notes](https://docs.airbyte.com/release_notes/v-1.8#fixes). If you previously attempted a downgrade or had manual changes in your database, you might have duplicate or conflicting records. How to resolve: - Check your
dataplane
table for duplicate entries with the same
dataplane_group_id
and
name
("AUTO"). - Remove or resolve the duplicate so that only one entry exists for each unique
(dataplane_group_id, name)
pair. - After cleaning up the duplicates, try the upgrade again. Note: Always back up your database before making manual changes. If you continue to encounter issues, it may be due to inconsistencies introduced by downgrading and re-upgrading, which is not a supported workflow according to the available documentation. If possible, restore from a backup taken before the downgrade and then upgrade directly to 1.8.0 [see upgrade guidance](https://docs.airbyte.com/release_notes/v-1.8#how-to-upgrade).