Closed gmpreussner closed 2 months ago
Setup information docker-compose
Describe the bug Unable to install Invoice Ninja 5 via Docker Compose instructions provided in README
To reproduce
docker run --rm -it invoiceninja/invoiceninja php artisan key:generate --show
Expected behavior An app key is generated
Screenshots/logs The following output is produced instead:
app-1 | rm: can't remove '/var/www/app/docker-backup-storage/logs': Invalid argument app-1 | rm: can't remove '/var/www/app/docker-backup-storage/framework/testing': Invalid argument app-1 | rm: can't remove '/var/www/app/docker-backup-storage/framework/cache': Invalid argument app-1 | rm: can't remove '/var/www/app/docker-backup-storage/framework/sessions': Invalid argument app-1 | rm: can't remove '/var/www/app/docker-backup-storage/framework/views': Invalid argument app-1 | rm: can't remove '/var/www/app/docker-backup-storage/app/public': Invalid argument
Docker/Kubernetes/Helm:
docker version
Docker Compose version v2.29.2
Additional context
docker compose up -d
app
db
server
I also tried running the following commands prior to generating an app key:
chmod 755 docker/app/public sudo chown -R 1500:1500 docker/app
I verified that the folder permissions were applied as indicated above.
I did not modify the docker-compose.yml in any way.
docker-compose.yml
Most likely the user you are running the container as is no in that group.
Setup information docker-compose
Describe the bug Unable to install Invoice Ninja 5 via Docker Compose instructions provided in README
To reproduce
docker run --rm -it invoiceninja/invoiceninja php artisan key:generate --show
Expected behavior An app key is generated
Screenshots/logs The following output is produced instead:
Docker/Kubernetes/Helm:
docker version
:Additional context
docker compose up -d
.app
container never starts successfully and is stuck in a restart loop.db
andserver
containers start successfullyI also tried running the following commands prior to generating an app key:
I verified that the folder permissions were applied as indicated above.
I did not modify the
docker-compose.yml
in any way.