ok, we’re on the same major version at least. I’m on 14.6.1
hmmm.
▄ Installing 'airbyte/airbyte' (version: 0.524.0) Helm Chart (this may take several minutes) (3m35s)load: 2.51 cmd: abctl 12689 running 3.25u 0.45s
WARNING Encountered an issue deploying Airbyte:
Pod: airbyte-db-0.17f2a67af5b338a8
Reason: BackOff
Message: Back-off restarting failed container airbyte-db-container in pod airbyte-db-0_airbyte-abctl(31c8e0d5-8285-4eac-bf96-d12e3da1faa1)
Count: 952
Logs: 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 ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... UTC
creating configuration files ... ok
2024-09-06 15:31:27.039 UTC [24] FATAL: data directory "/var/lib/postgresql/data/pgdata" has wrong ownership
2024-09-06 15:31:27.039 UTC [24] 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: unable to install helm: pre-upgrade hooks failed: 1 error occurred:
* pod airbyte-abctl-airbyte-bootloader failed```
do you have a postgres user on that box already?
try running this on the host
dscl . -list /Users UniqueID | grep "\(postgres\|70\)"
That box ? Do you mean the mac mini ?
Nothing returned Alex
on the mac mini, yes. ok, seems like you don’t have the same users on the macOS that I do, and I suspect that’s confusing docker somewhere.
I’m thinking about what’s the best way to get that user created. I’m not sure yet.
Shouldn’t he be created in the docker directly ?
I could be wrong, but I think users and user ID mapping between hosts and containers can get tricky in docker, especially with a layer of kubernetes, and especially on macos (and windows too).
I won’t say this time that I won’t leave the office until it’s working. I feel that it’s going to be trickier
on the mac mini what does ls -al ~/.airbyte/abctl/data
return?
drwxr--r--@ 5 macdev staff 160 6 sep 17:29 ..
-rw-r--r--@ 1 macdev staff 6148 6 sep 17:29 .DS_Store
drwxrwxrwx@ 3 macdev staff 96 6 sep 10:57 airbyte-minio-pv
drwxrwxrwx@ 3 macdev staff 96 6 sep 10:57 airbyte-volume-db
macdev@Mac-mini-de-Local abctl % ls -al ~/.airbyte/abctl/data/airbyte-volume-db
total 0
drwxrwxrwx@ 3 macdev staff 96 6 sep 10:57 .
drwxr--r--@ 5 macdev staff 160 6 sep 17:29 ..
drwx------@ 2 macdev staff 64 6 sep 18:17 pgdata```
The permission I set on pgdata have been reset during the creation I think
Because it’s back on drwx------
can you run ls -al ~/.airbyte/abctl/data/airbyte-volume-db/pgdata
?
Same thing even after the prune
Ok. I’m gonna restart my computer. Never know
I’m also curious what docker system df -v
shows for you.
Reboot, same result