Git Product home page Git Product logo

docktober's Issues

Docker compose failed #2

Thanks for #1 I have tested it and works well, but I'm getting another error with docker compose:

error: /usr/src/php/ext/mcrypt does not exist

usage: /usr/local/bin/docker-php-ext-install [-jN] ext-name [ext-name ...]
   ie: /usr/local/bin/docker-php-ext-install gd mysqli
       /usr/local/bin/docker-php-ext-install pdo pdo_mysql
       /usr/local/bin/docker-php-ext-install -j5 gd mbstring mysqli pdo pdo_mysql shmop

if custom ./configure arguments are necessary, see docker-php-ext-configure

Possible values for ext-name:
bcmath bz2 calendar ctype curl dba dom enchant exif fileinfo filter ftp gd gettext gmp hash iconv imap interbase intl json ldap mbstring mysqli oci8 odbc opcache pcntl pdo pdo_dblib pdo_firebird pdo_mysql pdo_oci pdo_odbc pdo_pgsql pdo_sqlite pgsql phar posix pspell readline recode reflection session shmop simplexml snmp soap sockets sodium spl standard sysvmsg sysvsem sysvshm tidy tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl zend_test zip

Some of the above modules are already compiled into PHP; please check
the output of "php -i" to see which modules are already loaded.
ERROR: Service 'php' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y         libfreetype6-dev         libjpeg62-turbo-dev         libmcrypt-dev         libpng-dev     && docker-php-ext-install -j$(nproc) iconv mcrypt zip pdo pdo_mysql     && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/     && docker-php-ext-install -j$(nproc) gd' returned a non-zero code: 1

Docker compose failed #3

AH00534: httpd: Configuration error: No MPM loaded.
ERROR: Service 'web' failed to build: The command '/bin/sh -c apachectl -k restart' returned a non-zero code: 1

Can not connect to database

Hi,
I have set up everything based on the readme. One of the last step is "Set .env's DB_HOST to db and add some value for DB_PASSWORD"
I have run Mamp with MySQL db, added the correct credentials to .env, but if I open /backend page, gives me an error: database is missing
And that is why I can not perform the last 2 steps:

  1. docker-compose -f .docker/docker-compose.yml up -d --build
  2. docker-compose -f .docker/docker-compose.yml exec php php artisan october:up

Anyway everything works perfectly except this issue, and the app did not open on the machine IP, but on 0.0.0.0:8000

Can you help me out? What did I wrong?
Thanks

Docker compose failed

Docker compose failed with:

E: Package 'libpng12-dev' has no installation candidate
ERROR: Service 'php' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y         libfreetype6-dev         libjpeg62-turbo-dev         libmcrypt-dev         libpng12-dev     && docker-php-ext-install -j$(nproc) iconv mcrypt zip pdo pdo_mysql     && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/     && docker-php-ext-install -j$(nproc) gd' returned a non-zero code: 100

MySQL can't run

env

  • ProductName: Mac OS X

  • ProductVersion: 10.13.1

  • BuildVersion: 17B1003

  • Docker version 18.03.1-ce, build 9ee9f40

  • docker-compose version 1.21.1, build 5a3f1a3

step

docker-compose logs docktober_db

ERROR:
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml

Database setup

Hello,,
Thanks for this git repo.
I am no docker expert, just someone who wants to set up ocktobercms in a simple way.
I would like some more clarification in the README about what is required to setup the mysql database.
I have tried using a .env file in the .docker folder and the parent of the docker folder.

My .env file:
DB_HOST=db
DB_DATABASE=db_octobercms
DB_USERNAME=root
DB_PASSWORD=SomePassword

I get the following errors when I run this:

$ docker-compose -f .docker/docker-compose.yml exec php php artisan october:up

Errors:
Migrating application and plugins...

[Illuminate\Database\QueryException]
SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema =
database and table_name = migrations)

[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[HY000] [2002] No such file or directory

[PDOException]
SQLSTATE[HY000] [2002] No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.