|
[ol]# docker compose up --force-recreate[+] Running 2/2 ✔ Container umami-umami-1 Recreated 0.1s ✔ Container umami-db-1 Recreated 0.1s Attaching to db-1, umami-1db-1 | db-1 | PostgreSQL Database directory appears to contain a database; Skipping initializationdb-1 | db-1 | 2024-12-14 17:35:35.818 UTC [1] LOG: starting PostgreSQL 15.10 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bitdb-1 | 2024-12-14 17:35:35.818 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432db-1 | 2024-12-14 17:35:35.818 UTC [1] LOG: listening on IPv6 address "::", port 5432db-1 | 2024-12-14 17:35:35.823 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"db-1 | 2024-12-14 17:35:35.829 UTC [29] LOG: database system was shut down at 2024-12-14 17:26:40 UTCdb-1 | 2024-12-14 17:35:35.836 UTC [1] LOG: database system is ready to accept connectionsumami-1 | yarn run v1.22.22umami-1 | $ npm-run-all check-db update-tracker start-serverumami-1 | $ node scripts/check-db.jsumami-1 | ✓ DATABASE_URL is defined.umami-1 | ✗ Unable to connect to the database: Prisma Client could not locate the Query Engine for runtime "linux-musl-arm64-openssl-3.0.x".umami-1 | umami-1 | This happened because Prisma Client was generated for "linux-musl-arm64-openssl-1.1.x", but the actual deployment required "linux-musl-arm64-openssl-3.0.x".umami-1 | Add "linux-musl-arm64-openssl-3.0.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:umami-1 | umami-1 | generator client {umami-1 | provider = "prisma-client-js"umami-1 | binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"]umami-1 | }umami-1 | umami-1 | The following locations have been searched:umami-1 | /app/node_modules/.prisma/clientumami-1 | /app/node_modules/@prisma/clientumami-1 | /tmp/prisma-enginesumami-1 | /app/prismaumami-1 | error Command failed with exit code 1.umami-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.umami-1 | ERROR: "check-db" exited with 1.umami-1 | error Command failed with exit code 1.umami-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.umami-1 exited with code 0umami-1 | yarn run v1.22.22umami-1 | $ npm-run-all check-db update-tracker start-serverumami-1 | $ node scripts/check-db.jsumami-1 | ✓ DATABASE_URL is defined.umami-1 | ✗ Unable to connect to the database: Prisma Client could not locate the Query Engine for runtime "linux-musl-arm64-openssl-3.0.x".umami-1 | umami-1 | This happened because Prisma Client was generated for "linux-musl-arm64-openssl-1.1.x", but the actual deployment required "linux-musl-arm64-openssl-3.0.x".umami-1 | Add "linux-musl-arm64-openssl-3.0.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:umami-1 | umami-1 | generator client {umami-1 | provider = "prisma-client-js"umami-1 | binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"]umami-1 | }umami-1 | umami-1 | The following locations have been searched:umami-1 | /app/node_modules/.prisma/clientumami-1 | /app/node_modules/@prisma/clientumami-1 | /tmp/prisma-enginesumami-1 | /app/prismaumami-1 | error Command failed with exit code 1.umami-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.umami-1 | ERROR: "check-db" exited with 1.umami-1 | error Command failed with exit code 1.umami-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.umami-1 exited with code 1umami-1 | yarn run v1.22.22umami-1 | $ npm-run-all check-db update-tracker start-serverGracefully stopping... (press Ctrl+C again to force)[+] Stopping 2/2 ✔ Container umami-umami-1 Stopped 0.2s ✔ Container umami-db-1 Stopped [/ol]复制代码
升级umami经常出错,这次更悲剧。 |
|