invoiceninja / dockerfiles

Docker files for Invoice Ninja
https://hub.docker.com/r/invoiceninja/invoiceninja
GNU General Public License v2.0
418 stars 268 forks source link

Could not open input file: artisan #528

Open jenishngl opened 1 year ago

jenishngl commented 1 year ago

Setup information

docker-compose

Describe the bug Getting the below error when trying to docker compose up with the below config on my Raspberry Pi 4

version: '3.7'
services:
  app:
    image: invoiceninja/invoiceninja
    env_file: env
    restart: always
    volumes:
      - /data/invoiceninja/config/hosts:/etc/hosts
      - /data/invoiceninja/docker/app:/var/www/app
      - /data/invoiceninja/config/php:/usr/local/etc/php
    depends_on:
      - db
    ports:
      - "61000:9000"
    networks:
      - invoiceninja
    extra_hosts:
      - "in5.localhost:192.168.0.124 " #host and ip

  db:
    image: mariadb:10.4
    env_file: env
    ports:
      - "3306:3306"
    restart: always
    volumes:
      - /data/invoiceninja/docker/mysql/data:/var/lib/mysql
    networks:
      - invoiceninja
    extra_hosts:
      - "in5.localhost:192.168.0.124 " #host and ip
networks:
  invoiceninja:

To reproduce Steps to reproduce the behavior:

  1. Update the docker-compose.yml file as mentioned above
  2. Then try to docker compose up
  3. See error

Expected behavior invoicenija to be up and running

Screenshots/logs

image

Logs:

2023-08-09T16:02:30.613977562Z 2023-08-09T16:02:30Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:02:31.151889725Z Could not open input file: artisan

2023-08-09T16:02:32.762806263Z 2023-08-09T16:02:32Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:02:32.807984197Z Could not open input file: artisan

2023-08-09T16:02:33.953101190Z 2023-08-09T16:02:33Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:02:33.993220611Z Could not open input file: artisan

2023-08-09T16:02:35.174986218Z 2023-08-09T16:02:35Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:02:35.214336629Z Could not open input file: artisan

2023-08-09T16:02:36.756971707Z 2023-08-09T16:02:36Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:02:36.798523406Z Could not open input file: artisan

2023-08-09T16:02:39.141784988Z 2023-08-09T16:02:39Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:02:39.173448047Z Could not open input file: artisan

2023-08-09T16:02:43.138264880Z 2023-08-09T16:02:43Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:02:43.175811847Z Could not open input file: artisan

2023-08-09T16:02:43.138264880Z 2023-08-09T16:02:43Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:02:50.365071298Z 2023-08-09T16:02:50Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:02:50.404098874Z Could not open input file: artisan

2023-08-09T16:02:50.365071298Z 2023-08-09T16:02:50Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:03:03.890150250Z 2023-08-09T16:03:03Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:03:03.935706054Z Could not open input file: artisan

2023-08-09T16:03:03.890150250Z 2023-08-09T16:03:03Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:03:30.267993346Z 2023-08-09T16:03:30Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:03:30.322897501Z Could not open input file: artisan

2023-08-09T16:03:30.267993346Z 2023-08-09T16:03:30Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:04:22.362918429Z 2023-08-09T16:04:22Z [INFO] [Entrypoint]: Initialising Invoice Ninja...

2023-08-09T16:04:22.423370764Z Could not open input file: artisan

Docker:

jenishngl commented 1 year ago

The directory /data/invoiceninja is nothing but git clone of https://github.com/invoiceninja/dockerfiles.git and then rename dockerfiles to invoiceninja. So this directory contains all the files of this repo