Jerry

joined 1 year ago
[–] [email protected] 1 points 1 year ago (3 children)

Has anyone tried creating a KBIN server using the Docker instructions since Saturday? I got a development server running on Saturday and I decided to bring up a production ready version on Sunday, but now I'm running into two errors while creating it.

First:

In these instructions:

$ sudo chown 82:82 public/media
$ sudo chown 82:82 var
$ cp .env.example .env

There is no directory "var" so the chown fails

Second:

When running docker compose build --pull --no-cache

It now fails with this:

=> [php app_php 20/21] RUN rm -Rf docker/ 0.2s
=> ERROR [php app_php 21/21] RUN set -eux; mkdir -p var/cache var/log; if [ -f composer.json ]; then composer dump-autoload --classmap-authoritative --no-dev; compose ...

This also seems to relate to the var directory, and so must be part of a recent change in the build that relates to the var directory.

Can anyone help?

Thanks