Error when creating Database

Hi Folks!
I can’t put my head through… Somehow my setup is setting up a DB and can connect but can’t get any further. I can’t find any doncumentation on that and tbh I find the installation guide really confusing.
What am I doing wrong?
I’m using Docker and PHP 8.3 aswell as the latest Neos Build on Windows 11

To add some more information:
I’ currently using standard settings from the Setup guide with a local Composer (no container).

FROM php:8.3-cli

RUN apt-get update \
    # install GraphicsMagick
	&& apt-get install -y \
		libgraphicsmagick1-dev graphicsmagick zlib1g-dev libicu-dev gcc g++ --no-install-recommends \
	&& pecl -vvv install gmagick-beta && docker-php-ext-enable gmagick \
    # pdo_mysql
    && docker-php-ext-install pdo_mysql \
    # redis
    && pecl install redis && docker-php-ext-enable redis \
	# intl
	&& docker-php-ext-configure intl && docker-php-ext-install intl \
    # cleanup
    && apt-get clean && rm -rf /var/lib/apt/lists/*


WORKDIR /app
EXPOSE 8081

# copy everything in the project into the container. This is what
# makes this image so fast!
COPY . /app

# start the dev server
CMD [ "./flow", "server:run", "--host", "0.0.0.0" ]
services:
  # Neos CMS
  neos:
    build:
      context: .
      dockerfile: Dockerfile.dev
    environment:
      FLOW_CONTEXT: 'Development/Docker'
    volumes:
      - ./composer.json:/app/composer.json
      - ./composer.lock:/app/composer.lock
      - ./Configuration/:/app/Configuration/
      - ./DistributionPackages/:/app/DistributionPackages/
      # if you work on other packages, you need to add them here.

      # WARNING: you need to add all packages from Distribution packages here ONE BY ONE, see the notice below for explanation.
      - ./Packages/Sites/:/app/Packages/Sites/
    ports:
      - 8081:8081
  # DB
  db:
    image: mariadb:10.7
    environment:
      MYSQL_ROOT_PASSWORD: 'db'
    volumes:
      - db:/var/lib/mysql
    ports:
      - 13306:3306

volumes:
  db:

Thanks in advance, guys :slight_smile:

Good Morning @julisu

that reminds me of the exact same issue i’ve had some time ago, after i’ve updated to 8.3.9 :slight_smile:

I had to create the Docker folder manually:

<your-neos-root>/Configuration/Development/Docker/

and the setup was working. See also the thread in Slack.

Wow! Thank you! That actually solved the problem! Thank you so much!
Have a nice day :slight_smile:

Happy to help, i’m glad it worked :slight_smile:

Greetings!

Thanks for describing the workaround but this is clearly a bug so please dont be too afraid in creating an issue :smiley:

In this case were lucky and someone created a pr: BUGFIX: add recursive directory creation in setup db command by andrehoffmann30 · Pull Request #62 · neos/setup · GitHub