Skip to content

Can't fire up the container #21

Closed
Closed

Description

@fosteman

I'm running macOS with docker-toolbox installed from cask

Here's error log. Any ideas ?

mk8:appwrite fosteman$ docker-compose up -d
Building appwrite
Step 1/38 : FROM ubuntu:18.04
 ---> a2a15febcdf3
Step 2/38 : LABEL maintainer="[email protected]"
 ---> Using cache
 ---> 2f7e986b8f2a
Step 3/38 : ENV TZ=Asia/Tel_Aviv
 ---> Using cache
 ---> ff4296ad2c08
Step 4/38 : ENV _APP_ENV production
 ---> Using cache
 ---> 3bc182a05268
Step 5/38 : ENV _APP_HOME https://appwrite.io
 ---> Using cache
 ---> 2c96d913595a
Step 6/38 : ENV _APP_EDITION community
 ---> Using cache
 ---> ee86d11a9c61
Step 7/38 : ENV _APP_OPENSSL_KEY_V1 your-secret-key
 ---> Using cache
 ---> 8e79c4df045b
Step 8/38 : ENV _APP_REDIS_HOST redis
 ---> Using cache
 ---> 77e7ed8e5c4c
Step 9/38 : ENV _APP_REDIS_PORT 6379
 ---> Using cache
 ---> 330df3f29ce0
Step 10/38 : ENV _APP_DB_HOST mariadb
 ---> Using cache
 ---> d4d260b0907a
Step 11/38 : ENV _APP_DB_PORT 3306
 ---> Using cache
 ---> 45def8bc1c4d
Step 12/38 : ENV _APP_DB_USER root
 ---> Using cache
 ---> 51488cbfdb0c
Step 13/38 : ENV _APP_DB_PASS password
 ---> Using cache
 ---> 8940b8e58122
Step 14/38 : ENV _APP_DB_SCHEMA appwrite
 ---> Using cache
 ---> 3ad5e394540b
Step 15/38 : ENV _APP_INFLUXDB_HOST influxdb
 ---> Using cache
 ---> 9929c5e3d5f7
Step 16/38 : ENV _APP_INFLUXDB_PORT 8086
 ---> Using cache
 ---> 4d33b6ce60dc
Step 17/38 : ENV _APP_STATSD_HOST telegraf
 ---> Using cache
 ---> 8eab1ae4de35
Step 18/38 : ENV _APP_STATSD_PORT 8125
 ---> Using cache
 ---> 88be20f531a4
Step 19/38 : ENV _APP_SMTP_HOST smtp
 ---> Using cache
 ---> 2976cc4d531f
Step 20/38 : ENV _APP_SMTP_PORT 25
 ---> Using cache
 ---> ca5f792fd2a4
Step 21/38 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
 ---> Using cache
 ---> 1b6e306eb1e0
Step 22/38 : RUN   apt-get update --fix-missing &&   apt-get install -y software-properties-common &&   LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php &&   apt-get update --fix-missing &&   apt-get install -y htop supervisor openssl wget php7.3 php7.3-fpm php7.3-mysqlnd php7.3-curl php7.3-imagick php7.3-mbstring php7.3-dom php7.3-dev webp &&   echo "deb http://nginx.org/packages/mainline/ubuntu/ wily nginx" >> /etc/apt/sources.list.d/nginx.list &&   echo "deb-src http://nginx.org/packages/mainline/ubuntu/ wily nginx" >> /etc/apt/sources.list.d/nginx.list &&   wget -q http://nginx.org/keys/nginx_signing.key &&   apt-key add nginx_signing.key &&   apt-get update --fix-missing &&   apt-get install -y nginx &&   wget -q https://github.com/phpredis/phpredis/archive/3.1.2.tar.gz &&   tar -xf 3.1.2.tar.gz &&   cd phpredis-3.1.2 &&   phpize7.3 &&   ./configure &&   make && make install &&   echo extension=redis.so >> /etc/php/7.3/fpm/conf.d/redis.ini &&   echo extension=redis.so >> /etc/php/7.3/cli/conf.d/redis.ini &&   cd ../ &&   rm -rf phpredis-3.1.2 &&   rm -rf 3.1.2.tar.gz &&   apt-get purge -y --auto-remove php7.3-dev &&   apt-get purge -y --auto-remove software-properties-common &&   apt-get clean &&   rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 7e0f5b20f2fc
Step 23/38 : RUN echo "upload_max_filesize = 4M" > /etc/php/7.3/fpm/conf.d/appwrite.ini
 ---> Using cache
 ---> f26e2d6eb7e4
Step 24/38 : ADD ./docker/nginx.conf /etc/nginx/nginx.conf
 ---> Using cache
 ---> 95a205f4ce14
Step 25/38 : ADD ./docker/ssl/nginx.crt /etc/nginx/ssl/nginx.crt
 ---> Using cache
 ---> 0f7fba10ecb6
Step 26/38 : ADD ./docker/ssl/nginx.key /etc/nginx/ssl/nginx.key
 ---> Using cache
 ---> 21bd810fb2cd
Step 27/38 : RUN mkdir -p /var/run/php
 ---> Using cache
 ---> 6ce0f56a8432
Step 28/38 : ADD ./docker/www.conf /etc/php/7.3/fpm/pool.d/www.conf
 ---> Using cache
 ---> b3e284e2f94e
Step 29/38 : ADD ./docker/supervisord.conf /etc/supervisord.conf
 ---> Using cache
 ---> fb0406435e6c
Step 30/38 : ADD ./docker/entrypoint.sh /entrypoint.sh
 ---> Using cache
 ---> 5252ab2b6c67
Step 31/38 : RUN chmod 775 /entrypoint.sh
 ---> Using cache
 ---> 2c0a155817c6
Step 32/38 : ADD ./app /usr/share/nginx/html/app
 ---> Using cache
 ---> b15fe51f8931
Step 33/38 : ADD ./public /usr/share/nginx/html/public
 ---> Using cache
 ---> 79d18ddba3a2
Step 34/38 : ADD ./src /usr/share/nginx/html/src
 ---> Using cache
 ---> fddbbe01ed1e
Step 35/38 : ADD ./vendor /usr/share/nginx/html/vendor
ERROR: Service 'appwrite' failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder117379281/vendor: no such file or directory
mk8:appwrite fosteman$ stat
499798432 797 crw--w---- 1 fosteman tty 268435457 0 "Sep 15 13:00:00 2019" "Sep 15 13:00:00 2019" "Sep 15 13:00:00 2019" "Dec 31 19:00:00 1969" 131072 0 0 (stdin)
mk8:appwrite fosteman$ 

Activity

  1. eldadfux commented on Sep 15, 2019

    @eldadfux
    Member

    Please post the docker-compose.yml you are using. Have you cloned the repo and tried to run docker-compose directly? or are you using the one-command installation as recommended in the README.md file?

  2. fosteman commented on Sep 15, 2019

    @fosteman
    Author

    I'm following instructions as outlined in CONTRIBUTE.md
    Here's docker-compose.yml

    version: '3'
    
    services:
      appwrite:
        build: .
        restart: unless-stopped
        volumes:
        - .:/usr/share/nginx/html
        - ./docker/nginx.conf:/etc/nginx/nginx.conf:rw
        - ./storage:/storage:rw
        ports:
        - "80:80"
        - "443:443"
        depends_on:
          - mariadb
          - redis
          - smtp
          - clamav
          - influxdb
          - telegraf
        environment:
        - _APP_ENV=development
        - _APP_OPENSSL_KEY_V1=your-secret-key
        - _APP_REDIS_HOST=redis
        - _APP_REDIS_PORT=6379
        - _APP_DB_HOST=mariadb
        - _APP_DB_PORT=3306
        - _APP_DB_SCHEMA=appwrite
        - _APP_DB_USER=root
        - _APP_DB_PASS=password
        - _APP_INFLUXDB_HOST=influxdb
        - _APP_INFLUXDB_PORT=8086
        - _APP_STATSD_HOST=telegraf
        - _APP_STATSD_PORT=8125
        #- [email protected],[email protected]
        #- _APP_CONSOLE_WHITELIST_IPS=192.1.1.100,192.1.1.101
        #- _APP_CONSOLE_WHITELIST_DOMAINS=appwrite.io,example.com
    
      mariadb:
        image: appwrite/mariadb:1.0.0 # fix issues when upgrading using: mysql_upgrade -u root -p
        restart: unless-stopped
        environment:
        - MYSQL_ROOT_PASSWORD=password
        volumes:
        - ./storage/db:/var/lib/mysql:rw
        ports:
        - 3306:3306/tcp
    
      smtp:
        image: appwrite/smtp:1.0.0
        environment:
        - MAILNAME=appwrite
        - RELAY_NETWORKS=:192.168.0.0/24:10.0.0.0/16
        ports:
        - "25:25"
    
      clamav:
        image: appwrite/clamav:1.0.4
        restart: unless-stopped
        volumes:
        - ./storage:/storage:rw
          
      redis:
        image: redis:5.0
        restart: unless-stopped
    
      influxdb:
        image: influxdb:1.6
        volumes:
        - ./storage/influxdb:/var/lib/influxdb
        ports:
        - "8086:8086"
    
      telegraf:
        image: appwrite/telegraf:1.0.0
        ports:
        - "8125:8125/udp"```
    
  3. eldadfux commented on Sep 15, 2019

    @eldadfux
    Member

    This is your issue. You have to run PHP composer before running docker-compose up -d. Follow setup instruction closely.

    If you just want to check the project and not contribute and easier way to install is this:
    https://github.com/appwrite/appwrite#installation

  4. added a commit that references this issue on Sep 16, 2026
  5. added a commit that references this issue on Sep 21, 2026
  6. added 3 commits that reference this issue on Sep 21, 2026
  7. added a commit that references this issue on Sep 24, 2026
  8. added 7 commits that reference this issue on Sep 24, 2026
  9. added a commit that references this issue on Sep 29, 2026
  10. added 2 commits that reference this issue on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions