Error after upgrading Airbyte open source version

Summary

Encountering an error causing all connections to fail after upgrading Airbyte open source version from 0.5x.0 to 0.63.0. Error message indicates issues with checking connection and file not found.


Question

Hi everyone. I just upgraded Airbyte open source from 0.5x.0 ish to 0.63.0. However, now I’m encountering an error that’s causing all my connections to fail. Here’s the error

	at io.airbyte.workers.general.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:135)
	at io.airbyte.workers.general.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:44)
	at io.airbyte.workers.temporal.TemporalAttemptExecution.get(TemporalAttemptExecution.java:138)
	at io.airbyte.workers.temporal.check.connection.CheckConnectionActivityImpl.lambda$runWithJobOutput$1(CheckConnectionActivityImpl.java:227)
	at io.airbyte.commons.temporal.HeartbeatUtils.withBackgroundHeartbeat(HeartbeatUtils.java:57)
	... 14 more
Caused by: io.temporal.failure.ApplicationFailure: message='/tmp/workspace/880790f3-2150-4328-8459-821ff37647b4/0', type='io.airbyte.workers.exception.WorkerException', nonRetryable=false
	at io.airbyte.workers.process.DockerProcessFactory.create(DockerProcessFactory.java:191)
	at io.airbyte.workers.process.AirbyteIntegrationLauncher.check(AirbyteIntegrationLauncher.java:149)
	at io.airbyte.workers.general.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:71)
	... 18 more
Caused by: io.temporal.failure.ApplicationFailure: message='/tmp/workspace/880790f3-2150-4328-8459-821ff37647b4/0', type='java.nio.file.NoSuchFileException', nonRetryable=false
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:438)
	at java.base/java.nio.file.Files.createDirectory(Files.java:699)
	at io.airbyte.workers.process.DockerProcessFactory.create(DockerProcessFactory.java:121)
	... 20 more```
I followed this guide to upgrade Airbyte just fyi <https://docs.airbyte.com/operator-guides/upgrading-airbyte#upgrading-on-docker>, and I upgraded via the wget version.

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1718430424492559) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["error", "upgrade", "airbyte-open-source", "connection-failure", "docker", "file-not-found"]
</sub>

Hello did you manage to resolve this by chance?
I’m having the same issue. I have manually created the directory in the stack trace on the airbyte worker container however when I rerun testing the connection it tries to look for a new directory.

<@U06RZ55D55E> I managed to solve this. If you are using docker you want to exec onto the worker container as root (this is important).
Then do chown airbyte:airbyte /tmp/workspace

Hi <@U07B3JEETHT>. I managed to fix it by recreating my docker volume instead. Here’s the release documentation that mentions about it. https://docs.airbyte.com/release_notes/march_2024#platform-releases