Thank you Perry for you help. When I run the commands you have giving me. I get the below errors. Do you know why?
eserver:~ erod$ cd /System/Library/ServerSetup/CommonExtras/PostgreSQLExtras
eserver:PostgreSQLExtras erod$ sudo ./CoreCollaborationPostgreSQLExtras.sh
createuser: creation of new role failed: ERROR: role "collab" already exists
createdb: database creation failed: ERROR: database "collab" already exists
SET
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:25: ERROR: type "query_int" already exists
CREATE FUNCTION
CREATE FUNCTION
COMMENT
CREATE FUNCTION
COMMENT
psql:/usr/share/postgresql/contrib/_int.sql:55: ERROR: operator @@ already exists
psql:/usr/share/postgresql/contrib/_int.sql:64: ERROR: operator ~~ already exists
CREATE FUNCTION
COMMENT
CREATE FUNCTION
COMMENT
CREATE FUNCTION
COMMENT
CREATE FUNCTION
COMMENT
CREATE FUNCTION
COMMENT
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:131: ERROR: operator && already exists
psql:/usr/share/postgresql/contrib/_int.sql:162: ERROR: operator @> already exists
psql:/usr/share/postgresql/contrib/_int.sql:171: ERROR: operator <@ already exists
psql:/usr/share/postgresql/contrib/_int.sql:181: ERROR: operator @ already exists
psql:/usr/share/postgresql/contrib/_int.sql:190: ERROR: operator ~ already exists
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:206: ERROR: operator # already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:242: ERROR: operator # already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:263: ERROR: operator + already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:275: ERROR: operator + already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:286: ERROR: operator - already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:297: ERROR: operator | already exists
psql:/usr/share/postgresql/contrib/_int.sql:304: ERROR: operator | already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:315: ERROR: operator - already exists
psql:/usr/share/postgresql/contrib/_int.sql:322: ERROR: operator & already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:379: ERROR: operator class "gist__int_ops" for access method "gist" already exists
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:401: ERROR: type "intbig_gkey" already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:457: ERROR: operator class "gist__intbig_ops" for access method "gist" already exists
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/_int.sql:485: ERROR: operator class "gin__int_ops" for access method "gin" already exists
SET
psql:/usr/share/postgresql/contrib/hstore.sql:6: ERROR: type "hstore" already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:35: ERROR: type "hstore" already exists
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:51: ERROR: operator -> already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:62: ERROR: operator -> already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:85: ERROR: operator ? already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:98: ERROR: operator ?| already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:111: ERROR: operator ?& already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:142: ERROR: operator - already exists
psql:/usr/share/postgresql/contrib/hstore.sql:148: ERROR: operator - already exists
psql:/usr/share/postgresql/contrib/hstore.sql:154: ERROR: operator - already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:165: ERROR: operator || already exists
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:184: ERROR: operator @> already exists
psql:/usr/share/postgresql/contrib/hstore.sql:193: ERROR: operator <@ already exists
psql:/usr/share/postgresql/contrib/hstore.sql:203: ERROR: operator @ already exists
psql:/usr/share/postgresql/contrib/hstore.sql:212: ERROR: operator ~ already exists
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:228: WARNING: => is deprecated as an operator name
DETAIL: This name may be disallowed altogether in future versions of PostgreSQL.
psql:/usr/share/postgresql/contrib/hstore.sql:228: ERROR: operator => already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:238: ERROR: function "hstore" already exists with same argument types
psql:/usr/share/postgresql/contrib/hstore.sql:241: ERROR: cast from type text[] to type hstore already exists
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:256: ERROR: operator %% already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:266: ERROR: operator %# already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:304: ERROR: operator #= already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:353: ERROR: operator = already exists
psql:/usr/share/postgresql/contrib/hstore.sql:362: ERROR: operator <> already exists
psql:/usr/share/postgresql/contrib/hstore.sql:376: ERROR: operator #<# already exists
psql:/usr/share/postgresql/contrib/hstore.sql:385: ERROR: operator #<=# already exists
psql:/usr/share/postgresql/contrib/hstore.sql:394: ERROR: operator #># already exists
psql:/usr/share/postgresql/contrib/hstore.sql:403: ERROR: operator #>=# already exists
psql:/usr/share/postgresql/contrib/hstore.sql:413: ERROR: operator class "btree_hstore_ops" for access method "btree" already exists
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:426: ERROR: operator class "hash_hstore_ops" for access method "hash" already exists
psql:/usr/share/postgresql/contrib/hstore.sql:430: ERROR: type "ghstore" already exists
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:446: ERROR: type "ghstore" already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:500: ERROR: operator class "gist_hstore_ops" for access method "gist" already exists
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/postgresql/contrib/hstore.sql:530: ERROR: operator class "gin_hstore_ops" for access method "gin" already exists
psql:/usr/share/collabd/server/sql/schema.sql:54: ERROR: relation "entity_type" already exists
psql:/usr/share/collabd/server/sql/schema.sql:90: ERROR: relation "entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:92: ERROR: relation "idx_entity_tinyid" already exists
psql:/usr/share/collabd/server/sql/schema.sql:93: ERROR: relation "idx_entity_owner" already exists
psql:/usr/share/collabd/server/sql/schema.sql:94: ERROR: relation "idx_entity_parents" already exists
CREATE FUNCTION
CREATE FUNCTION
psql:/usr/share/collabd/server/sql/schema.sql:137: ERROR: trigger "update_entity_parents" for relation "entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:150: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.Entity) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:155: ERROR: relation "entity_attrs" already exists
psql:/usr/share/collabd/server/sql/schema.sql:160: ERROR: relation "entity_private_attrs" already exists
psql:/usr/share/collabd/server/sql/schema.sql:179: ERROR: relation "entity_changesets" already exists
psql:/usr/share/collabd/server/sql/schema.sql:180: ERROR: relation "idx_entity_changesets_entity_revision" already exists
psql:/usr/share/collabd/server/sql/schema.sql:181: ERROR: relation "idx_entity_changesets_entity_changetime" already exists
psql:/usr/share/collabd/server/sql/schema.sql:182: ERROR: relation "idx_entity_changesets_entity_revision_concat" already exists
CREATE FUNCTION
psql:/usr/share/collabd/server/sql/schema.sql:206: ERROR: trigger "update_changeset_moddates" for relation "entity_changesets" already exists
psql:/usr/share/collabd/server/sql/schema.sql:215: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.Document) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:220: ERROR: relation "document_entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:230: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.Page) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:237: ERROR: relation "page_entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:247: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.User) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:260: ERROR: relation "user_entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:262: ERROR: relation "entity_user_shortname" already exists
CREATE FUNCTION
psql:/usr/share/collabd/server/sql/schema.sql:278: ERROR: duplicate key value violates unique constraint "entity_pkey"
DETAIL: Key (uid)=(742d3a53-c7b0-4911-9465-90a98fd3cf7c) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:280: ERROR: duplicate key value violates unique constraint "user_entity_pkey"
DETAIL: Key (entity_uid_fk)=(742d3a53-c7b0-4911-9465-90a98fd3cf7c) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:281: ERROR: duplicate key value violates unique constraint "entity_attrs_pkey"
DETAIL: Key (entity_uid_fk)=(742d3a53-c7b0-4911-9465-90a98fd3cf7c) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:282: ERROR: duplicate key value violates unique constraint "entity_private_attrs_pkey"
DETAIL: Key (entity_uid_fk)=(742d3a53-c7b0-4911-9465-90a98fd3cf7c) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:286: ERROR: duplicate key value violates unique constraint "entity_pkey"
DETAIL: Key (uid)=(6e5c400d-cbe1-475f-81fc-9e010259c99b) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:288: ERROR: duplicate key value violates unique constraint "user_entity_pkey"
DETAIL: Key (entity_uid_fk)=(6e5c400d-cbe1-475f-81fc-9e010259c99b) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:289: ERROR: duplicate key value violates unique constraint "entity_attrs_pkey"
DETAIL: Key (entity_uid_fk)=(6e5c400d-cbe1-475f-81fc-9e010259c99b) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:290: ERROR: duplicate key value violates unique constraint "entity_private_attrs_pkey"
DETAIL: Key (entity_uid_fk)=(6e5c400d-cbe1-475f-81fc-9e010259c99b) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:294: ERROR: duplicate key value violates unique constraint "entity_pkey"
DETAIL: Key (uid)=(19a307c1-82bc-45c7-845a-21839fb222c7) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:295: ERROR: duplicate key value violates unique constraint "document_entity_pkey"
DETAIL: Key (entity_uid_fk)=(19a307c1-82bc-45c7-845a-21839fb222c7) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:297: ERROR: duplicate key value violates unique constraint "page_entity_pkey"
DETAIL: Key (entity_uid_fk)=(19a307c1-82bc-45c7-845a-21839fb222c7) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:298: ERROR: duplicate key value violates unique constraint "entity_attrs_pkey"
DETAIL: Key (entity_uid_fk)=(19a307c1-82bc-45c7-845a-21839fb222c7) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:299: ERROR: duplicate key value violates unique constraint "entity_private_attrs_pkey"
DETAIL: Key (entity_uid_fk)=(19a307c1-82bc-45c7-845a-21839fb222c7) already exists.
UPDATE 1
ALTER TABLE
psql:/usr/share/collabd/server/sql/schema.sql:308: ERROR: trigger "handle_user_entity_creation" for relation "user_entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:322: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.FileData) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:343: ERROR: relation "filedata_entity" already exists
CREATE FUNCTION
psql:/usr/share/collabd/server/sql/schema.sql:374: ERROR: trigger "update_filedata_owner" for relation "filedata_entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:389: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.File) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:407: ERROR: relation "file_entity" already exists
CREATE FUNCTION
psql:/usr/share/collabd/server/sql/schema.sql:430: ERROR: trigger "handle_file_filedata_change" for relation "file_entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:432: ERROR: constraint "entity_avatar_uid_fk_fkey" for relation "entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:442: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.Project) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:448: ERROR: relation "project_entity" already exists
CREATE FUNCTION
psql:/usr/share/collabd/server/sql/schema.sql:463: ERROR: trigger "handle_project_entity_creation" for relation "entity" already exists
CREATE FUNCTION
psql:/usr/share/collabd/server/sql/schema.sql:480: ERROR: trigger "handle_project_entity_deletion" for relation "entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:489: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.Blog) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:493: ERROR: relation "blog_entity" already exists
CREATE FUNCTION
psql:/usr/share/collabd/server/sql/schema.sql:505: ERROR: trigger "update_blog_entity_avatars" for relation "entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:515: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.SavedQuery) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:521: ERROR: relation "savedquery_entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:531: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.Migration) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:535: ERROR: relation "migration_entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:545: ERROR: duplicate key value violates unique constraint "entity_type_pkey"
DETAIL: Key (name)=(com.apple.entity.MigrationPlaceholder) already exists.
psql:/usr/share/collabd/server/sql/schema.sql:549: ERROR: relation "migrationplaceholder_entity" already exists
psql:/usr/share/collabd/server/sql/schema.sql:562: ERROR: relation "global_settings" already exists
psql:/usr/share/collabd/server/sql/schema.sql:574: ERROR: relation "entity_lock" already exists
psql:/usr/share/collabd/server/sql/schema.sql:592: ERROR: relation "relationship" already exists
psql:/usr/share/collabd/server/sql/schema.sql:600: ERROR: type "acl_action" already exists
psql:/usr/share/collabd/server/sql/schema.sql:611: ERROR: relation "entity_acls" already exists
psql:/usr/share/collabd/server/sql/schema.sql:613: ERROR: relation "idx_entity_acls" already exists
psql:/usr/share/collabd/server/sql/schema.sql:614: ERROR: relation "idx_entity_acls_login" already exists
psql:/usr/share/collabd/server/sql/schema.sql:615: ERROR: relation "idx_entity_acls_externalid" already exists
psql:/usr/share/collabd/server/sql/schema.sql:621: ERROR: relation "groups" already exists
psql:/usr/share/collabd/server/sql/schema.sql:630: ERROR: relation "entity_acls_defaults" already exists
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
psql:/usr/share/collabd/server/sql/schema.sql:654: ERROR: relation "session" already exists
psql:/usr/share/collabd/server/sql/schema.sql:655: ERROR: relation "idx_session_login" already exists
psql:/usr/share/collabd/server/sql/schema.sql:675: ERROR: relation "search_index" already exists
psql:/usr/share/collabd/server/sql/schema.sql:676: ERROR: relation "idx_search_index_entity_uid_fk" already exists
psql:/usr/share/collabd/server/sql/schema.sql:677: ERROR: relation "idx_search_index" already exists
psql:/usr/share/collabd/server/sql/schema.sql:678: ERROR: relation "idx_search_index_literal" already exists
psql:/usr/share/collabd/server/sql/schema.sql:691: ERROR: relation "search_results" already exists
psql:/usr/share/collabd/server/sql/schema.sql:692: ERROR: relation "idx_search_results_uid" already exists
psql:/usr/share/collabd/server/sql/schema.sql:693: ERROR: relation "idx_search_results_create_time" already exists
psql:/usr/share/collabd/server/sql/schema.sql:706: ERROR: relation "user_entity_read_status" already exists
psql:/usr/share/collabd/server/sql/schema.sql:719: ERROR: relation "user_entity_favorites" already exists
psql:/usr/share/collabd/server/sql/schema.sql:732: ERROR: relation "user_entity_updates" already exists
psql:/usr/share/collabd/server/sql/schema.sql:744: ERROR: relation "user_entity_watched" already exists
psql:/usr/share/collabd/server/sql/schema.sql:768: ERROR: relation "entity_comment" already exists
psql:/usr/share/collabd/server/sql/schema.sql:769: ERROR: relation "idx_entity_comment_entity" already exists
CREATE FUNCTION
psql:/usr/share/collabd/server/sql/schema.sql:788: ERROR: trigger "update_comment_moddates" for relation "entity_comment" already exists
psql:/usr/share/collabd/server/sql/schema.sql:802: ERROR: relation "subscription" already exists
psql:/usr/share/collabd/server/sql/schema.sql:820: ERROR: relation "notification" already exists
psql:/usr/share/collabd/server/sql/schema.sql:843: ERROR: relation "migration_status" already exists
DELETE 1
INSERT 0 1
eserver:PostgreSQLExtras erod$