Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: add warning around macO install#20253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
david-fraley wants to merge6 commits intomain
base:main
Choose a base branch
Loading
fromdf/install-mac-issue

Conversation

david-fraley
Copy link
Collaborator

Background

We had a customer try to install Coder on their Mac. They were hit with the follow error

Encountered an error running "coder server postgres-builtin-serve", see "coder server postgres-builtin-serve --help" for more informationerror: Failed to start built-in PostgreSQL. Optionally, specify an external deployment with `--postgres-url`: unable to init database using '/Users/benbrandt/Library/Application Support/coderv2/postgres/bin/bin/initdb -A password -U coder -D /Users/benbrandt/Library/Application Support/coderv2/postgres/data --pwfile=/Users/benbrandt/Library/Application Support/coderv2/postgres/runtime/pwfile --encoding=UTF8': fork/exec /Users/benbrandt/Library/Application Support/coderv2/postgres/bin/bin/initdb: bad CPU type in executable

The reason being that Coder was trying to use Intel (x86_64) PostgreSQL binaries on Applie Silicon Macs. The workaround is to install and use an external PostgreSQL instance instead of our built-in one.

Description

This PR updates our install docs to call out this issue, and adds in a workaround. See a preview of the change athttps://coder.com/docs/@df%2finstall-mac-issue/install

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@david-fraleydavid-fraley

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@david-fraley

[8]ページ先頭

©2009-2025 Movatter.jp