Local Installation Issue on Mac M1 Pro

Summary

User is experiencing issues while attempting to install Airbyte locally on a Mac M1 Pro running Sequoia 15.1.1.


Question

I’ve also tried to install locally in my Mac M1 Pro (Sequoia 15.1.1), see thread



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

['local-installation', 'mac-m1-pro', 'sequoia-15.1.1']
 WARNING  Encountered an issue deploying Airbyte:
            Pod: airbyte-db-0.180e96d17614d55d
            Reason: BackOff
            Message: Back-off restarting failed container airbyte-db-container in pod airbyte-db-0_airbyte-abctl(f88618d4-0333-4447-842b-796dd8e68049)
            Count: 392
            Logs: chown: /var/lib/postgresql/data/pgdata: Permission denied
          The files belonging to this database system will be owned by user "postgres".
          This user must also own the server process.

          The database cluster will be initialized with locale "en_US.utf8".
          The default database encoding has accordingly been set to "UTF8".
          The default text search configuration will be set to "english".

          Data page checksums are disabled.

          fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok
          creating subdirectories ... ok
          selecting dynamic shared memory implementation ... posix
          selecting default max_connections ... 20
          selecting default shared_buffers ... 400kB
          selecting default time zone ... UTC
          creating configuration files ... ok
          2024-12-06 14:01:38.320 UTC [52] FATAL:  data directory "/var/lib/postgresql/data/pgdata" has wrong ownership
          2024-12-06 14:01:38.320 UTC [52] HINT:  The server must be started by the user that owns the data directory.
          child process exited with exit code 1
          initdb: removing contents of data directory "/var/lib/postgresql/data/pgdata"
          running bootstrap script ...
  ERROR   Failed to install airbyte/airbyte Helm Chart
  ERROR   Unable to install Airbyte locally
  ERROR   unable to install airbyte chart: bootloader failed```

Are you able to run docker ps without using root user?

yes:

CONTAINER ID   IMAGE                   COMMAND                  CREATED       STATUS       PORTS                                             NAMES
1076d9ab3799   kindest/node:v1.29.10   "/usr/local/bin/entr…"   2 hours ago   Up 2 hours   0.0.0.0:8000->80/tcp, 127.0.0.1:59770->6443/tcp   airbyte-abctl-control-plane```