<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FATAL: database &amp;quot;alfresco&amp;quot; does not exist in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/fatal-database-quot-alfresco-quot-does-not-exist/m-p/139740#M37364</link>
    <description>&lt;P&gt;I would start from checking the initialisation scripts in this folder:&lt;/P&gt;&lt;PRE&gt;./pg-init-scripts&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;It's not Alfresco, it's your project scripts. Check how it works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do so, you can run only postgres service separately&lt;/P&gt;&lt;PRE&gt;docker-compose up -d acs-postgres&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And check it logs&lt;/P&gt;&lt;PRE&gt;docker-compose logs -f&lt;/PRE&gt;&lt;P&gt;Share the scripts and resoults here.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 09:25:40 GMT</pubDate>
    <dc:creator>fedorow</dc:creator>
    <dc:date>2022-03-22T09:25:40Z</dc:date>
    <item>
      <title>FATAL: database "alfresco" does not exist</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fatal-database-quot-alfresco-quot-does-not-exist/m-p/139738#M37362</link>
      <description>&lt;P&gt;Good afternoon.&lt;/P&gt;&lt;P&gt;I recently joined a company where there is a department that uses Alfresco.&lt;/P&gt;&lt;P&gt;I have a problem doing the "run.bat build_start" of the project that is running, everything goes well until almost the end when it must create the "alfresco" and "activiti" databases in Docker, it just doesn't create them and it gives me the error "FATAL: database "alfresco" does not exist".&lt;/P&gt;&lt;P&gt;I must point out that the Alfresco colleagues who have been working for longer are doing well and have been working on this for months and years, but in my case it doesn't work for me, I don't know if it's because of the ports or configuration.&lt;/P&gt;&lt;P&gt;I attached an image of the error in question, there are times when instead of saying "FATAL: database "alfresco" does not exist" it says "FATAL: database "activiti" does not exist".&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="errorAlfresco.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1470i15F56C2DF85B68D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I emphasize that I am doing the "run.bat build_start" of the main repository of the project in which other people are working and everything works correctly, but neither those people nor the team leader know why this happens to me.&lt;/P&gt;&lt;P&gt;Just in case, the Postgres part of the "docker-compose.yml" file is as follows:&lt;/P&gt;&lt;PRE&gt;acs-postgres:
    image: postgres:9.6
    mem_limit: 2g
    environment:
      POSTGRES_MULTIPLE_DATABASES: alfresco,activiti
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
    command: postgres -c max_connections=300 -c log_min_messages=LOG
    ports:
      - "${postgres.port}:5432"
    volumes:
      - acs-db-volume:/var/lib/postgresql/data
      - ./pg-init-scripts:/docker-entrypoint-initdb.d&lt;/PRE&gt;&lt;P&gt;We have tried a thousand things, port issues, etc. and there is no way. If someone can know what happens I would greatly appreciate it because there are many things to do with the projects. I am available to give more information if necessary to solve my problem.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 15:31:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fatal-database-quot-alfresco-quot-does-not-exist/m-p/139738#M37362</guid>
      <dc:creator>scampoy</dc:creator>
      <dc:date>2022-03-21T15:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: FATAL: database "alfresco" does not exist</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fatal-database-quot-alfresco-quot-does-not-exist/m-p/139739#M37363</link>
      <description>&lt;P&gt;You database creation is not happening properly. Permission might be the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 04:25:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fatal-database-quot-alfresco-quot-does-not-exist/m-p/139739#M37363</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2022-03-22T04:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: FATAL: database "alfresco" does not exist</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fatal-database-quot-alfresco-quot-does-not-exist/m-p/139740#M37364</link>
      <description>&lt;P&gt;I would start from checking the initialisation scripts in this folder:&lt;/P&gt;&lt;PRE&gt;./pg-init-scripts&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;It's not Alfresco, it's your project scripts. Check how it works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do so, you can run only postgres service separately&lt;/P&gt;&lt;PRE&gt;docker-compose up -d acs-postgres&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And check it logs&lt;/P&gt;&lt;PRE&gt;docker-compose logs -f&lt;/PRE&gt;&lt;P&gt;Share the scripts and resoults here.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 09:25:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fatal-database-quot-alfresco-quot-does-not-exist/m-p/139740#M37364</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2022-03-22T09:25:40Z</dc:date>
    </item>
  </channel>
</rss>

