Peppermint-Lab / peppermint

An open source ticket management & help desk solution. A zendesk/freshdesk alternative
https://peppermint.sh
Other
1.95k stars 205 forks source link

Could not find a schema.prisma while running pepperlabs/peppermint:dev #158

Closed Tresillo2017 closed 1 year ago

Tresillo2017 commented 1 year ago

I'm running this on an rpi4 with an arm64 architecture. Since the :dev flags contain support for arm64 i'm using that img but it's not working.

Error log

Starting postgres ... done
Recreating peppermint ... done
Attaching to postgres, peppermint
postgres    | 
postgres    | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres    | 
postgres    | 2023-07-20 21:54:43.505 UTC [1] LOG:  starting PostgreSQL 15.3 (Debian 15.3-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
postgres    | 2023-07-20 21:54:43.505 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres    | 2023-07-20 21:54:43.505 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres    | 2023-07-20 21:54:43.547 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres    | 2023-07-20 21:54:43.612 UTC [31] LOG:  database system was shut down at 2023-07-20 21:54:25 UTC
postgres    | 2023-07-20 21:54:43.642 UTC [1] LOG:  database system is ready to accept connections
peppermint  | yarn run v1.22.19
peppermint  | $ prisma migrate deploy
peppermint  | Environment variables loaded from .env
peppermint  | Error: Could not find a schema.prisma file that is required for this command.
peppermint  | You can either provide it with --schema, set it as `prisma.schema` in your package.json or put it into the default location ./prisma/schema.prisma https://pris.ly/d/prisma-schema-location
peppermint  | error Command failed with exit code 1.
peppermint  | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
peppermint exited with code 0

Tried the amd64 but it's not working

Tresillo2017 commented 1 year ago

Works if I run the file https://github.com/Peppermint-Lab/peppermint/blob/master/docker-compose.dev.yml.