You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running npm run dev locally,
the startup page is displayed and the background report
[email protected] dev
next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Loaded env from E:\Project\civitai_main\civitai.env
(node:22748) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
(Use node --trace-warnings ... to show where the warning was created)
(node:22748) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
warn - Invalid next.config.js options detected:
The value at .i18n has an unexpected property, localePath, which is not in the list of allowed properties (defaultLocale, domains, localeDetection, locales).
See more info here: https://nextjs.org/docs/messages/invalid-next-config
warn - You have enabled experimental feature (largePageDataBytes) in next.config.mjs.
warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
event - compiled client and server successfully in 70.1s (10766 modules)
wait - compiling / (client and server)...
event - compiled client and server successfully in 11.9s (11302 modules)
wait - compiling /api/auth/[...nextauth] (client and server)...
event - compiled successfully in 4.3s (1165 modules)
prisma:query
SELECT EXISTS(
SELECT 1 FROM "HomeBlock" hb WHERE hb."userId"=$1
)
prisma:query SELECT "public"."HomeBlock"."id", "public"."HomeBlock"."metadata", "public"."HomeBlock"."type"::text, "public"."HomeBlock"."userId", "public"."HomeBlock"."index" FROM "public"."HomeBlock" WHERE "public"."HomeBlock"."userId" = $1 ORDER BY "public"."HomeBlock"."index"ASC NULLS LAST OFFSET $2
wait - compiling /...
event - compiled client and server successfully in 1555 ms (11573 modules)
wait - compiling /src/middleware (client and server)...
event - compiled successfully in 930 ms (153 modules)
wait - compiling /api/trpc/[trpc] (client and server)...
event - compiled successfully in 4.2s (1911 modules)
prisma:query SELECT 1
prisma:query
SELECT settings
FROM "User"
WHERE id = $1
prisma:query
select memb."chatId" as "chatId",
count(msg.id)::integer as "cnt"
from "ChatMember" memb
left join "ChatMessage" msg
on msg."chatId" = memb."chatId" and
(msg.id > memb."lastViewedMessageId" or
memb."lastViewedMessageId" is null
)
where memb."userId" = $1
and memb.status = 'Joined'
and memb."isMuted" is false
and msg."userId" != $2
group by memb."chatId"
prisma:query
select memb."chatId" as "chatId",
1 as "cnt"
from "ChatMember" memb
where memb."userId" = $1
and memb.status = 'Invited'
and memb."isMuted" is false
group by memb."chatId"
prisma:query SELECT "public"."Collection"."id", "public"."Collection"."createdAt", "public"."Collection"."updatedAt", "public"."Collection"."name", "public"."Collection"."description", "public"."Collection"."nsfw", "public"."Collection"."userId", "public"."Collection"."imageId", "public"."Collection"."write"::text, "public"."Collection"."read"::text, "public"."Collection"."type"::text, "public"."Collection"."mode"::text, "public"."Collection"."metadata", "public"."Collection"."availability"::text, "public"."Collection"."nsfwLevel" FROM "public"."Collection" WHERE ("public"."Collection"."userId" = $1 AND "public"."Collection"."mode" = CAST($2::text AS "public"."CollectionMode")) OFFSET $3
prisma:query SELECT "public"."Tag"."id", "public"."Tag"."name" FROM "public"."Tag" WHERE "public"."Tag"."name" IN ($1,$2) OFFSET $3
prisma:query SELECT "public"."ImageEngagement"."userId", "public"."ImageEngagement"."imageId" FROM "public"."ImageEngagement" WHERE ("public"."ImageEngagement"."userId" = $1 AND "public"."ImageEngagement"."type" = CAST($2::text AS "public"."ImageEngagementType")) OFFSET $3
prisma:query
SELECT
ue."targetUserId" "id",
(SELECT u.username FROM "User" u WHERE u.id = ue."targetUserId") "username"
FROM "UserEngagement" ue
WHERE "userId" = $1 AND type = $2::"UserEngagementType"
prisma:query
SELECT
ue."userId" "id",
(SELECT u.username FROM "User" u WHERE u.id = ue."userId") "username"
FROM "UserEngagement" ue
WHERE "targetUserId" = $1 AND type = $2::"UserEngagementType"
prisma:query SELECT "public"."Tag"."id", "public"."Tag"."name", "public"."Tag"."nsfwLevel" FROM "public"."Tag" WHERE "public"."Tag"."nsfwLevel" <> $1 OFFSET $2
❌ tRPC failed on signals.getToken
TypeError: fetch failed
at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11)
at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5)
at async getAccessToken (webpack-internal:///(api)/./src/server/services/signals.service.ts:23:22)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:451:32) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed
at Object.fetch (…e_modules/@trpc/server/dist/index.mjs:451:32)', message: 'fetch failed', cause: TypeError: fetch failed
at Object.fetch (n…rnal/deps/undici/undici:11372:11)
at proc…}
prisma:query SELECT "public"."TagsOnTags"."fromTagId", "public"."TagsOnTags"."toTagId" FROM "public"."TagsOnTags" WHERE ("public"."TagsOnTags"."fromTagId" IN ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21) AND "public"."TagsOnTags"."type" = CAST($22::text AS "public"."TagsOnTagsType")) OFFSET $23
prisma:query
SELECT settings
FROM "User"
WHERE id = $1
❌ tRPC failed on user.checkNotifications
TRPCError: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string
at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:79:11)
at checkUserNotificationsHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:225:94)
at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:451:32) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError: SASL: SCRAM-SERVER-FIRST-MESSAGE: …e_modules/@trpc/server/dist/index.mjs:451:32)', message: 'SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string', cause: Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: clien…rd must be a string
at E:\Project\civitai…}
prisma:query SELECT "public"."User"."id", "public"."User"."image", "public"."User"."username", "public"."User"."muted", "public"."User"."bannedAt", "public"."User"."deletedAt", "public"."User"."createdAt", "public"."User"."publicSettings", "public"."User"."excludeFromLeaderboards", "public"."User"."profilePictureId" FROM "public"."User" WHERE ("public"."User"."id" = $1 AND "public"."User"."deletedAt" IS NULL AND "public"."User"."id" <> $2 AND "public"."User"."username" <> $3) LIMIT $4 OFFSET $5
prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text, "public"."UserLink"."userId" FROM "public"."UserLink" WHERE "public"."UserLink"."userId" IN ($1) OFFSET $2
prisma:query SELECT "public"."UserStat"."userId", "public"."UserStat"."ratingAllTime", "public"."UserStat"."ratingCountAllTime", "public"."UserStat"."downloadCountAllTime", "public"."UserStat"."favoriteCountAllTime", "public"."UserStat"."thumbsUpCountAllTime", "public"."UserStat"."followerCountAllTime", "public"."UserStat"."reactionCountAllTime", "public"."UserStat"."uploadCountAllTime", "public"."UserStat"."generationCountAllTime" FROM "public"."UserStat" WHERE "public"."UserStat"."userId" IN ($1) OFFSET $2
prisma:error
Invalid prisma.user.findFirst() invocation:
The column UserStat.generationCountAllTime does not exist in the current database.
❌ tRPC failed on user.getCreator
TRPCError:
Invalid prisma.user.findFirst() invocation:
The column UserStat.generationCountAllTime does not exist in the current database.
at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:68:121)
at getUserCreatorHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:157:89)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async resolve (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:481:24) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError:
Invalid prisma.user.findFirst()…e_modules/@trpc/server/dist/index.mjs:481:24)', message: '
Invalid prisma.user.findFirst() invocatio…imedoes not exist in the current database.', cause: PrismaClientKnownRequestError: Invalidprism…indFirst()` invocation:
The column UserSta…} prisma:query SELECT "public"."ModelEngagement"."userId", "public"."ModelEngagement"."modelId" FROM "public"."ModelEngagement" WHERE ("public"."ModelEngagement"."userId" = $1 AND "public"."ModelEngagement"."type" = CAST($2::text AS "public"."ModelEngagementType")) OFFSET $3 ❌ tRPC failed on signals.getToken TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async getAccessToken (webpack-internal:///(api)/./src/server/services/signals.service.ts:23:22) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) at async callRecursive (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:451:32) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…e_modules/@trpc/server/dist/index.mjs:451:32)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} prisma:query SELECT "public"."TagEngagement"."userId", "public"."TagEngagement"."tagId" FROM "public"."TagEngagement" WHERE ("public"."TagEngagement"."userId" = $1 AND "public"."TagEngagement"."type" = CAST($2::text AS "public"."TagEngagementType")) OFFSET $3 prisma:query SELECT ue."targetUserId" "id", (SELECT u.username FROM "User" u WHERE u.id = ue."targetUserId") "username" FROM "UserEngagement" ue WHERE "userId" = $1 AND type = $2::"UserEngagementType" prisma:query SELECT "public"."TagsOnImageVote"."tagId", "public"."TagsOnImageVote"."imageId", "public"."TagsOnImageVote"."userId" FROM "public"."TagsOnImageVote" WHERE ("public"."TagsOnImageVote"."userId" = $1 AND "public"."TagsOnImageVote"."tagId" IN ($2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22) AND "public"."TagsOnImageVote"."vote" > $23 AND "public"."TagsOnImageVote"."applied" = $24) OFFSET $25 prisma:query SELECT "public"."User"."id", "public"."User"."image", "public"."User"."username", "public"."User"."muted", "public"."User"."bannedAt", "public"."User"."deletedAt", "public"."User"."createdAt", "public"."User"."publicSettings", "public"."User"."excludeFromLeaderboards", "public"."User"."profilePictureId" FROM "public"."User" WHERE ("public"."User"."id" = $1 AND "public"."User"."deletedAt" IS NULL AND "public"."User"."id" <> $2 AND "public"."User"."username" <> $3) LIMIT $4 OFFSET $5 prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text, "public"."UserLink"."userId" FROM "public"."UserLink" WHERE "public"."UserLink"."userId" IN ($1) OFFSET $2 prisma:query SELECT "public"."UserStat"."userId", "public"."UserStat"."ratingAllTime", "public"."UserStat"."ratingCountAllTime", "public"."UserStat"."downloadCountAllTime", "public"."UserStat"."favoriteCountAllTime", "public"."UserStat"."thumbsUpCountAllTime", "public"."UserStat"."followerCountAllTime", "public"."UserStat"."reactionCountAllTime", "public"."UserStat"."uploadCountAllTime", "public"."UserStat"."generationCountAllTime" FROM "public"."UserStat" WHERE "public"."UserStat"."userId" IN ($1) OFFSET $2 prisma:error Invalid prisma.user.findFirst()` invocation:
The column UserStat.generationCountAllTime does not exist in the current database.
❌ tRPC failed on user.getCreator
TRPCError:
Invalid prisma.user.findFirst() invocation:
The column UserStat.generationCountAllTime does not exist in the current database.
at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:68:121)
at getUserCreatorHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:157:89)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async resolve (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:481:24) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError:
Invalid prisma.user.findFirst()…e_modules/@trpc/server/dist/index.mjs:481:24)', message: '
Invalid prisma.user.findFirst() invocatio…imedoes not exist in the current database.', cause: PrismaClientKnownRequestError: Invalidprism…indFirst()` invocation:
The column UserSta…} prisma:query SELECT "public"."ImageReaction"."id", "public"."ImageReaction"."imageId", "public"."ImageReaction"."reaction"::text FROM "public"."ImageReaction" WHERE (1=0 AND "public"."ImageReaction"."userId" = $1) OFFSET $2 ❌ tRPC failed on user.checkNotifications TRPCError: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:79:11) at checkUserNotificationsHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:225:94) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:451:32) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError: SASL: SCRAM-SERVER-FIRST-MESSAGE: …e_modules/@trpc/server/dist/index.mjs:451:32)', message: 'SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string', cause: Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: clien…rd must be a string at E:\Project\civitai…} ❌ tRPC failed on buzz.getBuzzAccount TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async eval (webpack-internal:///(api)/./src/server/services/buzz.service.ts:71:26) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…internal:///(api)/./src/server/trpc.ts:79:20)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} ❌ tRPC failed on buzz.getBuzzAccount TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async eval (webpack-internal:///(api)/./src/server/services/buzz.service.ts:71:26) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…internal:///(api)/./src/server/trpc.ts:79:20)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} wait - compiling /user/account (client and server)... ❌ tRPC failed on buzz.getBuzzAccount TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async eval (webpack-internal:///(api)/./src/server/services/buzz.service.ts:71:26) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…internal:///(api)/./src/server/trpc.ts:79:20)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} ❌ tRPC failed on buzz.getBuzzAccount TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async eval (webpack-internal:///(api)/./src/server/services/buzz.service.ts:71:26) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…internal:///(api)/./src/server/trpc.ts:79:20)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} event - compiled client and server successfully in 4.5s (11936 modules) wait - compiling /api/auth/[...nextauth] (client and server)... prisma:query SELECT 1 prisma:query SELECT "public"."User"."id", "public"."User"."image", "public"."User"."username", "public"."User"."muted", "public"."User"."bannedAt", "public"."User"."deletedAt", "public"."User"."createdAt", "public"."User"."publicSettings", "public"."User"."excludeFromLeaderboards", "public"."User"."profilePictureId" FROM "public"."User" WHERE ("public"."User"."id" = $1 AND "public"."User"."deletedAt" IS NULL AND "public"."User"."id" <> $2 AND "public"."User"."username" <> $3) LIMIT $4 OFFSET $5 prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text, "public"."UserLink"."userId" FROM "public"."UserLink" WHERE "public"."UserLink"."userId" IN ($1) OFFSET $2 prisma:query SELECT "public"."UserStat"."userId", "public"."UserStat"."ratingAllTime", "public"."UserStat"."ratingCountAllTime", "public"."UserStat"."downloadCountAllTime", "public"."UserStat"."favoriteCountAllTime", "public"."UserStat"."thumbsUpCountAllTime", "public"."UserStat"."followerCountAllTime", "public"."UserStat"."reactionCountAllTime", "public"."UserStat"."uploadCountAllTime", "public"."UserStat"."generationCountAllTime" FROM "public"."UserStat" WHERE "public"."UserStat"."userId" IN ($1) OFFSET $2 prisma:error Invalid prisma.user.findFirst()` invocation:
The column UserStat.generationCountAllTime does not exist in the current database.
❌ tRPC failed on user.getCreator
TRPCError:
Invalid prisma.user.findFirst() invocation:
The column UserStat.generationCountAllTime does not exist in the current database.
at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:68:121)
at getUserCreatorHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:157:89)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async resolve (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:481:24) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError:
Invalid prisma.user.findFirst()…e_modules/@trpc/server/dist/index.mjs:481:24)', message: '
Invalid prisma.user.findFirst() invocatio…imedoes not exist in the current database.', cause: PrismaClientKnownRequestError: Invalidprism…indFirst()` invocation:
The column `UserSta…}
event - compiled successfully in 300 ms (1937 modules)
wait - compiling /api/page-view (client and server)...
event - compiled successfully in 418 ms (1938 modules)
prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text FROM "public"."UserLink" WHERE "public"."UserLink"."userId" = $1 OFFSET $2
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT "public"."User"."id", "public"."User"."settings" FROM "public"."User" WHERE "public"."User"."email" = $1 LIMIT $2 OFFSET $3
prisma:query SELECT "public"."UserNotificationSettings"."id", "public"."UserNotificationSettings"."type", "public"."UserNotificationSettings"."disabledAt" FROM "public"."UserNotificationSettings" WHERE "public"."UserNotificationSettings"."userId" = $1 OFFSET $2
prisma:query SELECT "public"."Account"."id", "public"."Account"."provider" FROM "public"."Account" WHERE "public"."Account"."userId" = $1 ORDER BY "public"."Account"."id" ASC OFFSET $2
prisma:query SELECT "public"."ApiKey"."id", "public"."ApiKey"."scope"::text[], "public"."ApiKey"."name", "public"."ApiKey"."createdAt" FROM "public"."ApiKey" WHERE ("public"."ApiKey"."userId" = $1 AND "public"."ApiKey"."type" = CAST($2::text AS "public"."ApiKeyType")) OFFSET $3
prisma:query SELECT "public"."Tag"."id", "public"."Tag"."name" FROM "public"."Tag" WHERE "public"."Tag"."type" = CAST($1::text AS "public"."TagType") OFFSET $2
prisma:query
SELECT t."id",
t."name"
FROM "Tag" t
LEFT JOIN "TagRank" r ON r."tagId" = t."id"
WHERE t."unlisted" = $1 AND t.id NOT IN (SELECT "toTagId" FROM "TagsOnTags" WHERE type = 'Replace') AND t."adminOnly" = false
ORDER BY r."hiddenCountAllTimeRank"
LIMIT $2 OFFSET $3
prisma:query
SELECT COUNT(*)::int count
FROM "Tag" t
WHERE t."unlisted" = $1 AND t.id NOT IN (SELECT "toTagId" FROM "TagsOnTags" WHERE type = 'Replace') AND t."adminOnly" = false
prisma:query SELECT 1
prisma:query SELECT "public"."User"."id", "public"."User"."image", "public"."User"."username", "public"."User"."muted", "public"."User"."bannedAt", "public"."User"."deletedAt", "public"."User"."createdAt", "public"."User"."publicSettings", "public"."User"."excludeFromLeaderboards", "public"."User"."profilePictureId" FROM "public"."User" WHERE ("public"."User"."id" = $1 AND "public"."User"."deletedAt" IS NULL AND "public"."User"."id" <> $2 AND "public"."User"."username" <> $3) LIMIT $4 OFFSET $5
prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text, "public"."UserLink"."userId" FROM "public"."UserLink" WHERE "public"."UserLink"."userId" IN ($1) OFFSET $2
prisma:query SELECT "public"."UserStat"."userId", "public"."UserStat"."ratingAllTime", "public"."UserStat"."ratingCountAllTime", "public"."UserStat"."downloadCountAllTime", "public"."UserStat"."favoriteCountAllTime", "public"."UserStat"."thumbsUpCountAllTime", "public"."UserStat"."followerCountAllTime", "public"."UserStat"."reactionCountAllTime", "public"."UserStat"."uploadCountAllTime", "public"."UserStat"."generationCountAllTime" FROM "public"."UserStat" WHERE "public"."UserStat"."userId" IN ($1) OFFSET $2
prisma:error
Invalid prisma.user.findFirst() invocation:
The column UserStat.generationCountAllTime does not exist in the current database.
❌ tRPC failed on user.getCreator
TRPCError:
Invalid prisma.user.findFirst() invocation:
The column UserStat.generationCountAllTime does not exist in the current database.
at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:68:121)
at getUserCreatorHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:157:89)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async resolve (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:481:24) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError:
Invalid prisma.user.findFirst()…e_modules/@trpc/server/dist/index.mjs:481:24)', message: '
Invalid prisma.user.findFirst() invocatio…imedoes not exist in the current database.', cause: PrismaClientKnownRequestError: Invalidprism…indFirst()` invocation:
The column `UserSta…}
prisma:query
SELECT EXISTS(
SELECT 1 FROM "HomeBlock" hb WHERE hb."userId"=$1
)
prisma:query SELECT "public"."HomeBlock"."id", "public"."HomeBlock"."metadata", "public"."HomeBlock"."type"::text, "public"."HomeBlock"."userId", "public"."HomeBlock"."index" FROM "public"."HomeBlock" WHERE "public"."HomeBlock"."userId" = $1 ORDER BY "public"."HomeBlock"."index"ASC NULLS LAST OFFSET $2
prisma:query SELECT "public"."ImageReaction"."id", "public"."ImageReaction"."imageId", "public"."ImageReaction"."reaction"::text FROM "public"."ImageReaction" WHERE (1=0 AND "public"."ImageReaction"."userId" = $1) OFFSET $2
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After running npm run dev locally,
the startup page is displayed and the background report
See more info here: https://nextjs.org/docs/messages/invalid-next-config
warn - You have enabled experimental feature (largePageDataBytes) in next.config.mjs.
warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
event - compiled client and server successfully in 70.1s (10766 modules)
wait - compiling / (client and server)...
event - compiled client and server successfully in 11.9s (11302 modules)
wait - compiling /api/auth/[...nextauth] (client and server)...
event - compiled successfully in 4.3s (1165 modules)
prisma:query
SELECT EXISTS(
SELECT 1 FROM "HomeBlock" hb WHERE hb."userId"=$1
)
prisma:query SELECT "public"."HomeBlock"."id", "public"."HomeBlock"."metadata", "public"."HomeBlock"."type"::text, "public"."HomeBlock"."userId", "public"."HomeBlock"."index" FROM "public"."HomeBlock" WHERE "public"."HomeBlock"."userId" = $1 ORDER BY "public"."HomeBlock"."index"ASC NULLS LAST OFFSET $2
wait - compiling /...
event - compiled client and server successfully in 1555 ms (11573 modules)
wait - compiling /src/middleware (client and server)...
event - compiled successfully in 930 ms (153 modules)
wait - compiling /api/trpc/[trpc] (client and server)...
event - compiled successfully in 4.2s (1911 modules)
prisma:query SELECT 1
prisma:query
SELECT settings
FROM "User"
WHERE id = $1
prisma:query
select memb."chatId" as "chatId",
count(msg.id)::integer as "cnt"
from "ChatMember" memb
left join "ChatMessage" msg
on msg."chatId" = memb."chatId" and
(msg.id > memb."lastViewedMessageId" or
memb."lastViewedMessageId" is null
)
where memb."userId" = $1
and memb.status = 'Joined'
and memb."isMuted" is false
and msg."userId" != $2
group by memb."chatId"
prisma:query
select memb."chatId" as "chatId",
1 as "cnt"
from "ChatMember" memb
where memb."userId" = $1
and memb.status = 'Invited'
and memb."isMuted" is false
group by memb."chatId"
prisma:query SELECT "public"."Collection"."id", "public"."Collection"."createdAt", "public"."Collection"."updatedAt", "public"."Collection"."name", "public"."Collection"."description", "public"."Collection"."nsfw", "public"."Collection"."userId", "public"."Collection"."imageId", "public"."Collection"."write"::text, "public"."Collection"."read"::text, "public"."Collection"."type"::text, "public"."Collection"."mode"::text, "public"."Collection"."metadata", "public"."Collection"."availability"::text, "public"."Collection"."nsfwLevel" FROM "public"."Collection" WHERE ("public"."Collection"."userId" = $1 AND "public"."Collection"."mode" = CAST($2::text AS "public"."CollectionMode")) OFFSET $3
prisma:query SELECT "public"."Tag"."id", "public"."Tag"."name" FROM "public"."Tag" WHERE "public"."Tag"."name" IN ($1,$2) OFFSET $3
prisma:query SELECT "public"."ImageEngagement"."userId", "public"."ImageEngagement"."imageId" FROM "public"."ImageEngagement" WHERE ("public"."ImageEngagement"."userId" = $1 AND "public"."ImageEngagement"."type" = CAST($2::text AS "public"."ImageEngagementType")) OFFSET $3
prisma:query
SELECT
ue."targetUserId" "id",
(SELECT u.username FROM "User" u WHERE u.id = ue."targetUserId") "username"
FROM "UserEngagement" ue
WHERE "userId" = $1 AND type = $2::"UserEngagementType"
prisma:query
SELECT
ue."userId" "id",
(SELECT u.username FROM "User" u WHERE u.id = ue."userId") "username"
FROM "UserEngagement" ue
WHERE "targetUserId" = $1 AND type = $2::"UserEngagementType"
prisma:query SELECT "public"."Tag"."id", "public"."Tag"."name", "public"."Tag"."nsfwLevel" FROM "public"."Tag" WHERE "public"."Tag"."nsfwLevel" <> $1 OFFSET $2
❌ tRPC failed on signals.getToken
TypeError: fetch failed
at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11)
at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5)
at async getAccessToken (webpack-internal:///(api)/./src/server/services/signals.service.ts:23:22)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:451:32) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed
at Object.fetch (…e_modules/@trpc/server/dist/index.mjs:451:32)', message: 'fetch failed', cause: TypeError: fetch failed
at Object.fetch (n…rnal/deps/undici/undici:11372:11)
at proc…}
prisma:query SELECT "public"."TagsOnTags"."fromTagId", "public"."TagsOnTags"."toTagId" FROM "public"."TagsOnTags" WHERE ("public"."TagsOnTags"."fromTagId" IN ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21) AND "public"."TagsOnTags"."type" = CAST($22::text AS "public"."TagsOnTagsType")) OFFSET $23
prisma:query
SELECT settings
FROM "User"
WHERE id = $1
❌ tRPC failed on user.checkNotifications
TRPCError: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string
at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:79:11)
at checkUserNotificationsHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:225:94)
at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:451:32) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError: SASL: SCRAM-SERVER-FIRST-MESSAGE: …e_modules/@trpc/server/dist/index.mjs:451:32)', message: 'SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string', cause: Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: clien…rd must be a string
at E:\Project\civitai…}
prisma:query SELECT "public"."User"."id", "public"."User"."image", "public"."User"."username", "public"."User"."muted", "public"."User"."bannedAt", "public"."User"."deletedAt", "public"."User"."createdAt", "public"."User"."publicSettings", "public"."User"."excludeFromLeaderboards", "public"."User"."profilePictureId" FROM "public"."User" WHERE ("public"."User"."id" = $1 AND "public"."User"."deletedAt" IS NULL AND "public"."User"."id" <> $2 AND "public"."User"."username" <> $3) LIMIT $4 OFFSET $5
prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text, "public"."UserLink"."userId" FROM "public"."UserLink" WHERE "public"."UserLink"."userId" IN ($1) OFFSET $2
prisma:query SELECT "public"."UserStat"."userId", "public"."UserStat"."ratingAllTime", "public"."UserStat"."ratingCountAllTime", "public"."UserStat"."downloadCountAllTime", "public"."UserStat"."favoriteCountAllTime", "public"."UserStat"."thumbsUpCountAllTime", "public"."UserStat"."followerCountAllTime", "public"."UserStat"."reactionCountAllTime", "public"."UserStat"."uploadCountAllTime", "public"."UserStat"."generationCountAllTime" FROM "public"."UserStat" WHERE "public"."UserStat"."userId" IN ($1) OFFSET $2
prisma:error
Invalid
prisma.user.findFirst()
invocation:The column
UserStat.generationCountAllTime
does not exist in the current database.❌ tRPC failed on user.getCreator
TRPCError:
Invalid
prisma.user.findFirst()
invocation:The column
UserStat.generationCountAllTime
does not exist in the current database.at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:68:121)
at getUserCreatorHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:157:89)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async resolve (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:481:24) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError:
Invalid
prisma.user.findFirst()
…e_modules/@trpc/server/dist/index.mjs:481:24)', message: 'Invalid
prisma.user.findFirst()
invocatio…imedoes not exist in the current database.', cause: PrismaClientKnownRequestError: Invalid
prism…indFirst()` invocation:The column
UserSta…} prisma:query SELECT "public"."ModelEngagement"."userId", "public"."ModelEngagement"."modelId" FROM "public"."ModelEngagement" WHERE ("public"."ModelEngagement"."userId" = $1 AND "public"."ModelEngagement"."type" = CAST($2::text AS "public"."ModelEngagementType")) OFFSET $3 ❌ tRPC failed on signals.getToken TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async getAccessToken (webpack-internal:///(api)/./src/server/services/signals.service.ts:23:22) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) at async callRecursive (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:451:32) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…e_modules/@trpc/server/dist/index.mjs:451:32)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} prisma:query SELECT "public"."TagEngagement"."userId", "public"."TagEngagement"."tagId" FROM "public"."TagEngagement" WHERE ("public"."TagEngagement"."userId" = $1 AND "public"."TagEngagement"."type" = CAST($2::text AS "public"."TagEngagementType")) OFFSET $3 prisma:query SELECT ue."targetUserId" "id", (SELECT u.username FROM "User" u WHERE u.id = ue."targetUserId") "username" FROM "UserEngagement" ue WHERE "userId" = $1 AND type = $2::"UserEngagementType" prisma:query SELECT "public"."TagsOnImageVote"."tagId", "public"."TagsOnImageVote"."imageId", "public"."TagsOnImageVote"."userId" FROM "public"."TagsOnImageVote" WHERE ("public"."TagsOnImageVote"."userId" = $1 AND "public"."TagsOnImageVote"."tagId" IN ($2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22) AND "public"."TagsOnImageVote"."vote" > $23 AND "public"."TagsOnImageVote"."applied" = $24) OFFSET $25 prisma:query SELECT "public"."User"."id", "public"."User"."image", "public"."User"."username", "public"."User"."muted", "public"."User"."bannedAt", "public"."User"."deletedAt", "public"."User"."createdAt", "public"."User"."publicSettings", "public"."User"."excludeFromLeaderboards", "public"."User"."profilePictureId" FROM "public"."User" WHERE ("public"."User"."id" = $1 AND "public"."User"."deletedAt" IS NULL AND "public"."User"."id" <> $2 AND "public"."User"."username" <> $3) LIMIT $4 OFFSET $5 prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text, "public"."UserLink"."userId" FROM "public"."UserLink" WHERE "public"."UserLink"."userId" IN ($1) OFFSET $2 prisma:query SELECT "public"."UserStat"."userId", "public"."UserStat"."ratingAllTime", "public"."UserStat"."ratingCountAllTime", "public"."UserStat"."downloadCountAllTime", "public"."UserStat"."favoriteCountAllTime", "public"."UserStat"."thumbsUpCountAllTime", "public"."UserStat"."followerCountAllTime", "public"."UserStat"."reactionCountAllTime", "public"."UserStat"."uploadCountAllTime", "public"."UserStat"."generationCountAllTime" FROM "public"."UserStat" WHERE "public"."UserStat"."userId" IN ($1) OFFSET $2 prisma:error Invalid
prisma.user.findFirst()` invocation:The column
UserStat.generationCountAllTime
does not exist in the current database.❌ tRPC failed on user.getCreator
TRPCError:
Invalid
prisma.user.findFirst()
invocation:The column
UserStat.generationCountAllTime
does not exist in the current database.at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:68:121)
at getUserCreatorHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:157:89)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async resolve (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:481:24) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError:
Invalid
prisma.user.findFirst()
…e_modules/@trpc/server/dist/index.mjs:481:24)', message: 'Invalid
prisma.user.findFirst()
invocatio…imedoes not exist in the current database.', cause: PrismaClientKnownRequestError: Invalid
prism…indFirst()` invocation:The column
UserSta…} prisma:query SELECT "public"."ImageReaction"."id", "public"."ImageReaction"."imageId", "public"."ImageReaction"."reaction"::text FROM "public"."ImageReaction" WHERE (1=0 AND "public"."ImageReaction"."userId" = $1) OFFSET $2 ❌ tRPC failed on user.checkNotifications TRPCError: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:79:11) at checkUserNotificationsHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:225:94) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:451:32) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError: SASL: SCRAM-SERVER-FIRST-MESSAGE: …e_modules/@trpc/server/dist/index.mjs:451:32)', message: 'SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string', cause: Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: clien…rd must be a string at E:\Project\civitai…} ❌ tRPC failed on buzz.getBuzzAccount TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async eval (webpack-internal:///(api)/./src/server/services/buzz.service.ts:71:26) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…internal:///(api)/./src/server/trpc.ts:79:20)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} ❌ tRPC failed on buzz.getBuzzAccount TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async eval (webpack-internal:///(api)/./src/server/services/buzz.service.ts:71:26) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…internal:///(api)/./src/server/trpc.ts:79:20)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} wait - compiling /user/account (client and server)... ❌ tRPC failed on buzz.getBuzzAccount TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async eval (webpack-internal:///(api)/./src/server/services/buzz.service.ts:71:26) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…internal:///(api)/./src/server/trpc.ts:79:20)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} ❌ tRPC failed on buzz.getBuzzAccount TypeError: fetch failed at Object.fetch (e:\Project\civitai_main\civitai\lib\internal\deps\undici\undici.js:11372:11) at process.processTicksAndRejections (e:\Project\civitai_main\civitai\lib\internal\process\task_queues.js:95:5) at async eval (webpack-internal:///(api)/./src/server/services/buzz.service.ts:71:26) at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:421:30) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async callRecursive (e:\Project\civitai_main\civitai\node_modules\@trpc\server\dist\index.mjs:451:32) at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TypeError: fetch failed at Object.fetch (…internal:///(api)/./src/server/trpc.ts:79:20)', message: 'fetch failed', cause: TypeError: fetch failed at Object.fetch (n…rnal/deps/undici/undici:11372:11) at proc…} event - compiled client and server successfully in 4.5s (11936 modules) wait - compiling /api/auth/[...nextauth] (client and server)... prisma:query SELECT 1 prisma:query SELECT "public"."User"."id", "public"."User"."image", "public"."User"."username", "public"."User"."muted", "public"."User"."bannedAt", "public"."User"."deletedAt", "public"."User"."createdAt", "public"."User"."publicSettings", "public"."User"."excludeFromLeaderboards", "public"."User"."profilePictureId" FROM "public"."User" WHERE ("public"."User"."id" = $1 AND "public"."User"."deletedAt" IS NULL AND "public"."User"."id" <> $2 AND "public"."User"."username" <> $3) LIMIT $4 OFFSET $5 prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text, "public"."UserLink"."userId" FROM "public"."UserLink" WHERE "public"."UserLink"."userId" IN ($1) OFFSET $2 prisma:query SELECT "public"."UserStat"."userId", "public"."UserStat"."ratingAllTime", "public"."UserStat"."ratingCountAllTime", "public"."UserStat"."downloadCountAllTime", "public"."UserStat"."favoriteCountAllTime", "public"."UserStat"."thumbsUpCountAllTime", "public"."UserStat"."followerCountAllTime", "public"."UserStat"."reactionCountAllTime", "public"."UserStat"."uploadCountAllTime", "public"."UserStat"."generationCountAllTime" FROM "public"."UserStat" WHERE "public"."UserStat"."userId" IN ($1) OFFSET $2 prisma:error Invalid
prisma.user.findFirst()` invocation:The column
UserStat.generationCountAllTime
does not exist in the current database.❌ tRPC failed on user.getCreator
TRPCError:
Invalid
prisma.user.findFirst()
invocation:The column
UserStat.generationCountAllTime
does not exist in the current database.at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:68:121)
at getUserCreatorHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:157:89)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async resolve (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:481:24) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError:
Invalid
prisma.user.findFirst()
…e_modules/@trpc/server/dist/index.mjs:481:24)', message: 'Invalid
prisma.user.findFirst()
invocatio…imedoes not exist in the current database.', cause: PrismaClientKnownRequestError: Invalid
prism…indFirst()` invocation:The column `UserSta…}
event - compiled successfully in 300 ms (1937 modules)
wait - compiling /api/page-view (client and server)...
event - compiled successfully in 418 ms (1938 modules)
prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text FROM "public"."UserLink" WHERE "public"."UserLink"."userId" = $1 OFFSET $2
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT "public"."User"."id", "public"."User"."settings" FROM "public"."User" WHERE "public"."User"."email" = $1 LIMIT $2 OFFSET $3
prisma:query SELECT "public"."UserNotificationSettings"."id", "public"."UserNotificationSettings"."type", "public"."UserNotificationSettings"."disabledAt" FROM "public"."UserNotificationSettings" WHERE "public"."UserNotificationSettings"."userId" = $1 OFFSET $2
prisma:query SELECT "public"."Account"."id", "public"."Account"."provider" FROM "public"."Account" WHERE "public"."Account"."userId" = $1 ORDER BY "public"."Account"."id" ASC OFFSET $2
prisma:query SELECT "public"."ApiKey"."id", "public"."ApiKey"."scope"::text[], "public"."ApiKey"."name", "public"."ApiKey"."createdAt" FROM "public"."ApiKey" WHERE ("public"."ApiKey"."userId" = $1 AND "public"."ApiKey"."type" = CAST($2::text AS "public"."ApiKeyType")) OFFSET $3
prisma:query SELECT "public"."Tag"."id", "public"."Tag"."name" FROM "public"."Tag" WHERE "public"."Tag"."type" = CAST($1::text AS "public"."TagType") OFFSET $2
prisma:query
SELECT t."id",
t."name"
prisma:query
SELECT COUNT(*)::int count
FROM "Tag" t
WHERE t."unlisted" = $1 AND t.id NOT IN (SELECT "toTagId" FROM "TagsOnTags" WHERE type = 'Replace') AND t."adminOnly" = false
prisma:query SELECT 1
prisma:query SELECT "public"."User"."id", "public"."User"."image", "public"."User"."username", "public"."User"."muted", "public"."User"."bannedAt", "public"."User"."deletedAt", "public"."User"."createdAt", "public"."User"."publicSettings", "public"."User"."excludeFromLeaderboards", "public"."User"."profilePictureId" FROM "public"."User" WHERE ("public"."User"."id" = $1 AND "public"."User"."deletedAt" IS NULL AND "public"."User"."id" <> $2 AND "public"."User"."username" <> $3) LIMIT $4 OFFSET $5
prisma:query SELECT "public"."UserLink"."id", "public"."UserLink"."url", "public"."UserLink"."type"::text, "public"."UserLink"."userId" FROM "public"."UserLink" WHERE "public"."UserLink"."userId" IN ($1) OFFSET $2
prisma:query SELECT "public"."UserStat"."userId", "public"."UserStat"."ratingAllTime", "public"."UserStat"."ratingCountAllTime", "public"."UserStat"."downloadCountAllTime", "public"."UserStat"."favoriteCountAllTime", "public"."UserStat"."thumbsUpCountAllTime", "public"."UserStat"."followerCountAllTime", "public"."UserStat"."reactionCountAllTime", "public"."UserStat"."uploadCountAllTime", "public"."UserStat"."generationCountAllTime" FROM "public"."UserStat" WHERE "public"."UserStat"."userId" IN ($1) OFFSET $2
prisma:error
Invalid
prisma.user.findFirst()
invocation:The column
UserStat.generationCountAllTime
does not exist in the current database.❌ tRPC failed on user.getCreator
TRPCError:
Invalid
prisma.user.findFirst()
invocation:The column
UserStat.generationCountAllTime
does not exist in the current database.at throwDbError (webpack-internal:///(api)/./src/server/utils/errorHandling.ts:68:121)
at getUserCreatorHandler (webpack-internal:///(api)/./src/server/controllers/user.controller.ts:157:89)
at async resolveMiddleware (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:421:30)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async eval (webpack-internal:///(api)/./src/server/trpc.ts:79:20)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async callRecursive (e:\Project\civitai_main\civitai\node_modules@trpc\server\dist\index.mjs:451:32)
at async resolve (file:///E:/Project/civitai_main/civitai/node_modules/@trpc/server/dist/index.mjs:481:24) {code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', stack: 'TRPCError:
Invalid
prisma.user.findFirst()
…e_modules/@trpc/server/dist/index.mjs:481:24)', message: 'Invalid
prisma.user.findFirst()
invocatio…imedoes not exist in the current database.', cause: PrismaClientKnownRequestError: Invalid
prism…indFirst()` invocation:The column `UserSta…}
prisma:query
SELECT EXISTS(
SELECT 1 FROM "HomeBlock" hb WHERE hb."userId"=$1
)
prisma:query SELECT "public"."HomeBlock"."id", "public"."HomeBlock"."metadata", "public"."HomeBlock"."type"::text, "public"."HomeBlock"."userId", "public"."HomeBlock"."index" FROM "public"."HomeBlock" WHERE "public"."HomeBlock"."userId" = $1 ORDER BY "public"."HomeBlock"."index"ASC NULLS LAST OFFSET $2
prisma:query SELECT "public"."ImageReaction"."id", "public"."ImageReaction"."imageId", "public"."ImageReaction"."reaction"::text FROM "public"."ImageReaction" WHERE (1=0 AND "public"."ImageReaction"."userId" = $1) OFFSET $2
Beta Was this translation helpful? Give feedback.
All reactions