Changes between Initial Version and Version 1 of Ticket #68119
- Timestamp:
- Sep 3, 2023, 12:34:57 AM (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #68119
- Property Keywords PostgreSQL 15 removed
- Property Cc jyrkiwahlstedt dgilman added; jwa@… removed
-
Ticket #68119 – Description
initial v1 1 MacBook Pro (Retina, 15-inch, Mid 2015) Intel 2 macOS Monterey 12.6.8 3 Clean install prior to installing Macports 4 MacPorts; 2.8.1 5 Xcode: 14.2 (14C18) 1 MacBook Pro (Retina, 15-inch, Mid 2015) Intel \\ 2 macOS Monterey 12.6.8 \\ 3 Clean install prior to installing Macports \\ 4 MacPorts; 2.8.1 \\ 5 Xcode: 14.2 (14C18) \\ 6 6 Xcode command line tools: 14.2.0.0.1.1668646533 7 7 … … 9 9 10 10 Error message: 11 {{{ Error: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied 11 {{{ 12 Error: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied 12 13 chdir: error retrieving current directory: getcwd: cannot access parent directories: Permission denied 13 14 initdb: option requires an argument -- D 14 15 initdb: hint: Try "initdb --help" for more information. 15 sh: line 1: /opt/local/var/db/postgresql15/defaultdb: is a directory}}} 16 sh: line 1: /opt/local/var/db/postgresql15/defaultdb: is a directory 17 }}} 16 18 17 I used these commands. \\19 I used these commands. 18 20 19 sudo port select postgresql postgresql15\\ 20 sudo port load postgresql15-server\\ 21 sudo mkdir -p /opt/local/var/db/postgresql15/defaultdb\\ 22 sudo chown postgres:postgres /opt/local/var/db/postgresql15/defaultdb\\ 21 {{{ 22 sudo port select postgresql postgresql15 23 sudo port load postgresql15-server 24 sudo mkdir -p /opt/local/var/db/postgresql15/defaultdb 25 sudo chown postgres:postgres /opt/local/var/db/postgresql15/defaultdb 23 26 sudo su postgres -c 'cd /opt/local/var/db/postgresql15 && /opt/local/lib/postgresql15/bin/initdb -D /opt/local/var/db/postgresql15/defaultdb' 27 }}} 24 28 25 29 How should PostgreSQL be installed using MacPorts?