全球主机交流论坛备用站

 找回密码
 立即注册

QQ登录

只需一步,快速开始

全球云38元起免备案V2EX搬瓦工VPS
SEO查询超级PING网站测速
Virmach特价鸡乌云漏洞吾爱破解
查看: 186|回复: 3

升级umami出错了,大佬看看怎么解决?

[复制链接]

136

主题

814

回帖

2630

积分

金牌会员

Rank: 6Rank: 6

积分
2630
发表于 2024-12-15 01:37:33 | 显示全部楼层 |阅读模式
20230417
  1. # docker compose up --force-recreate
  2. [+] Running 2/2
  3. ✔ Container umami-umami-1Recreated 0.1s
  4. ✔ Container umami-db-1 Recreated 0.1s
  5. Attaching to db-1, umami-1
  6. db-1 |
  7. db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
  8. db-1 |
  9. 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-bit
  10. db-1 | 2024-12-14 17:35:35.818 UTC [1] LOG:listening on IPv4 address "0.0.0.0", port 5432
  11. db-1 | 2024-12-14 17:35:35.818 UTC [1] LOG:listening on IPv6 address "::", port 5432
  12. db-1 | 2024-12-14 17:35:35.823 UTC [1] LOG:listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  13. db-1 | 2024-12-14 17:35:35.829 UTC [29] LOG:database system was shut down at 2024-12-14 17:26:40 UTC
  14. db-1 | 2024-12-14 17:35:35.836 UTC [1] LOG:database system is ready to accept connections
  15. umami-1| yarn run v1.22.22
  16. umami-1| $ npm-run-all check-db update-tracker start-server
  17. umami-1| $ node scripts/check-db.js
  18. umami-1| ✓ DATABASE_URL is defined.
  19. 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".
  20. umami-1|
  21. 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".
  22. umami-1| Add "linux-musl-arm64-openssl-3.0.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:
  23. umami-1|
  24. umami-1| generator client {
  25. umami-1| provider = "prisma-client-js"
  26. umami-1| binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"]
  27. umami-1| }
  28. umami-1|
  29. umami-1| The following locations have been searched:
  30. umami-1| /app/node_modules/.prisma/client
  31. umami-1| /app/node_modules/@prisma/client
  32. umami-1| /tmp/prisma-engines
  33. umami-1| /app/prisma
  34. umami-1| error Command failed with exit code 1.
  35. umami-1| info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  36. umami-1| ERROR: "check-db" exited with 1.
  37. umami-1| error Command failed with exit code 1.
  38. umami-1| info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  39. umami-1 exited with code 0
  40. umami-1| yarn run v1.22.22
  41. umami-1| $ npm-run-all check-db update-tracker start-server
  42. umami-1| $ node scripts/check-db.js
  43. umami-1| ✓ DATABASE_URL is defined.
  44. 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".
  45. umami-1|
  46. 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".
  47. umami-1| Add "linux-musl-arm64-openssl-3.0.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:
  48. umami-1|
  49. umami-1| generator client {
  50. umami-1| provider = "prisma-client-js"
  51. umami-1| binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"]
  52. umami-1| }
  53. umami-1|
  54. umami-1| The following locations have been searched:
  55. umami-1| /app/node_modules/.prisma/client
  56. umami-1| /app/node_modules/@prisma/client
  57. umami-1| /tmp/prisma-engines
  58. umami-1| /app/prisma
  59. umami-1| error Command failed with exit code 1.
  60. umami-1| info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  61. umami-1| ERROR: "check-db" exited with 1.
  62. umami-1| error Command failed with exit code 1.
  63. umami-1| info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  64. umami-1 exited with code 1
  65. umami-1| yarn run v1.22.22
  66. umami-1| $ npm-run-all check-db update-tracker start-server
  67. Gracefully stopping... (press Ctrl+C again to force)
  68. [+] Stopping 2/2
  69. ✔ Container umami-umami-1Stopped 0.2s
  70. ✔ Container umami-db-1 Stopped
复制代码



升级umami经常出错,这次更悲剧。
MJJ,你的签名掉了~~~
回复

使用道具 举报

247

主题

1697

回帖

5191

积分

论坛元老

Rank: 8Rank: 8

积分
5191
发表于 2024-12-15 02:30:25 | 显示全部楼层
我的自动更新挂了,回滚 2.14 版本,再也不升级了。
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

26

主题

1266

回帖

3118

积分

论坛元老

Rank: 8Rank: 8

积分
3118
发表于 2024-12-15 10:07:21 | 显示全部楼层
吓得我不敢升级了
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

14

主题

2713

回帖

6624

积分

论坛元老

Rank: 8Rank: 8

积分
6624
发表于 2024-12-15 10:33:47 | 显示全部楼层
你这是arm版吧?建议慢一个节拍升级,我amd的都不敢立即升,等一段时间再说
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

展开

QQ|Archiver|手机版|小黑屋|全球主机交流论坛备用站

GMT+8, 2025-4-22 20:17 , Processed in 0.045285 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表