简体   繁体   English

PostgreSQL 安装失败,macOS Big Sur(M1)

[英]PostgreSQL installation fails with macOS Big Sur(M1)

I am struggling to install PostgreSQL on my macOS Big Sur with M1 chip.我正在努力在带有 M1 芯片的 macOS Big Sur 上安装 PostgreSQL。 These are the message I get when I try to install PostgreSQL in the last step.这些是我在最后一步尝试安装 PostgreSQL 时收到的消息。 I tried installing version 12, 11, 10. Anyone knows how to solve this problem?我尝试安装版本 12、11、10。有人知道如何解决这个问题吗?

  • A non-fatal error occur whilst creating menu shortcuts.创建菜单快捷方式时发生非致命错误。
  • Problem running post-install step.运行安装后步骤时出现问题。 Installation may not complete correctly Failed to start the database server.安装可能无法正确完成 无法启动数据库服务器。

There is a permissions issue produced by Big Sur sec policies. Big Sur sec 策略产生了权限问题。 https://pgsnake.blogspot.com/2020/11/macos-big-sur-upgrade-breaking.html https://pgsnake.blogspot.com/2020/11/macos-big-sur-upgrade-break.html

This will happen if you're installing in the default location, which in this case is Library.如果您在默认位置(在本例中为库)安装,则会发生这种情况。 I was struggling with this for a few days and found that if I define my own installation path not located in the Library folder(say some folder in my Desktop), I was able to install without issue.我为此苦苦挣扎了几天,发现如果我定义自己的安装路径不在库文件夹中(比如我的桌面中的某个文件夹),我可以毫无问题地安装。

Give that a try and see if it works for you.试一试,看看它是否适合你。

Edit: Be sure to delete all previous failed installations if any exist.编辑:如果存在,请务必删除所有以前失败的安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PostgreSQL 安装 Big Sur 失败 - PostgreSQL Installation on Big Sur Failure macOS Big Sur 中的 postgresql.conf - postgresql.conf in macOS Big Sur 升级到 Big Sur 后连接到本地 postgresql 数据库失败 - Connection to local postgresql database fails after upgrade to Big Sur 更新到 macOS Big Sur 后,我无法使用 MAMP 连接到我的 PostgreSQL 数据库 - After updating to macOS Big Sur I can't connect to my PostgreSQL database with MAMP PostgresSQL 9.5 安装失败:“数据库集群初始化失败” MAC os (big sur 11.4) - PostgresSQL 9.5 Installation fails: “database cluster initialisation failed” MAC os (big sur 11.4) 适用于 MacOS 的 PostgreSql 安装问题 - PostgreSql installation issues for MacOS 大插入查询失败 Hibernate\Postgresql - big insert query fails Hibernate\Postgresql 哪个版本的 PostgreSQL 安装程序可以在 Mac Big Sur 版本 11.6.1 中运行? - Which version of PostgreSQL installer would work in Mac Big Sur ver 11.6.1? Macbook M1 - Postgres 安装 - “/tmp/.s.PGSQL.5432” - 执行时失败; `/bin/launchctl 引导程序 - Macbook M1 - Postgres Installation - "/tmp/.s.PGSQL.5432" - Failure while executing; `/bin/launchctl bootstrap 我无法在我的 macbook air m1 上安装 PostgreSQL 的 JDBC 驱动程序 - I can't install JDBC driver for PostgreSQL on my macbook air m1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM