Upgrade to umami 2.10.0 failed
-
Hello. I have two Umami instance and one did fail after the update.
Feb 29 09:27:02error Command failed with exit code 134. Feb 29 09:27:0211: 0xf147a0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0212: 0xf0bd6c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0213: 0xf0bee5 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0214: 0x11c6f4e v8::internal::MaybeHandle<v8::internal::OrderedHashMap> v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Allocate<v8::internal::Isolate>(v8::internal::Isolate*, int, v8::internal::AllocationType) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0215: 0x11c7003 v8::internal::MaybeHandle<v8::internal::OrderedHashMap> v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Rehash<v8::internal::Isolate>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::OrderedHashMap>, int) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0216: 0x12d134d v8::internal::Runtime_MapGrow(int, unsigned long*, v8::internal::Isolate*) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0217: 0x170a079 [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:02Aborted (core dumped) Feb 29 09:27:03error Command failed with exit code 1. Feb 29 09:27:03info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Feb 29 09:27:03info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Feb 29 09:27:03ERROR: "build-app" exited with 134. Feb 29 09:27:05==> Changing ownership Feb 29 09:27:05=> Running build script that generates the migrations Feb 29 09:27:05CREATE EXTENSION Feb 29 09:27:05NOTICE: extension "pgcrypto" already exists, skipping Feb 29 09:27:06yarn run v1.22.19 Feb 29 09:27:06$ npm-run-all check-env build-db check-db build-tracker build-geo build-app Feb 29 09:27:06warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:06warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:06warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:07$ node scripts/check-env.js Feb 29 09:27:07$ npm-run-all copy-db-files build-db-client Feb 29 09:27:07warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:07warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:07warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:07warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:07warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:07warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:08$ node scripts/copy-db-files.js Feb 29 09:27:08warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:08warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:08warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:08Copied /app/code/db/postgresql to /app/code/prisma Feb 29 09:27:08Database type detected: postgresql Feb 29 09:27:09$ prisma generate Feb 29 09:27:09warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:09warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:09warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:10=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.25:3000 Feb 29 09:27:11Prisma schema loaded from prisma/schema.prisma Feb 29 09:27:12 Feb 29 09:27:12 Feb 29 09:27:12 Feb 29 09:27:12 Feb 29 09:27:12 Feb 29 09:27:12``` Feb 29 09:27:12``` Feb 29 09:27:12``` Feb 29 09:27:12``` Feb 29 09:27:12const prisma = new PrismaClient() Feb 29 09:27:12const prisma = new PrismaClient() Feb 29 09:27:12import { PrismaClient } from '@prisma/client' Feb 29 09:27:12import { PrismaClient } from '@prisma/client/edge' Feb 29 09:27:12┌─────────────────────────────────────────────────────────────┐ Feb 29 09:27:12│ https://pris.ly/cli/accelerate │ Feb 29 09:27:12│ Deploying your app to serverless or edge functions? │ Feb 29 09:27:12│ Try Prisma Accelerate for connection pooling and caching. │ Feb 29 09:27:12See other ways of importing Prisma Client: http://pris.ly/d/importing-client Feb 29 09:27:12Start using Prisma Client in Node.js (See: https://pris.ly/d/client) Feb 29 09:27:12or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate) Feb 29 09:27:12└─────────────────────────────────────────────────────────────┘ Feb 29 09:27:12✔ Generated Prisma Client (v5.9.1) to ./node_modules/@prisma/client in 379ms Feb 29 09:27:13$ node scripts/check-db.js Feb 29 09:27:13warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:13warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:13warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:13✓ DATABASE_URL is defined. Feb 29 09:27:13✓ Database connection successful. Feb 29 09:27:13✓ Database version check successful. Feb 29 09:27:16 Feb 29 09:27:16 Feb 29 09:27:16 Feb 29 09:27:16 Feb 29 09:27:16$ rollup -c rollup.tracker.config.mjs Feb 29 09:27:16warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:16warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:16warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:16✓ Database is up to date. Feb 29 09:27:164 migrations found in prisma/migrations Feb 29 09:27:16Datasource "db": PostgreSQL database "dbe501b1e859ba491baf25a3def0b83dfe", schema "public" at "postgresql" Feb 29 09:27:16No pending migrations to apply. Feb 29 09:27:16Prisma schema loaded from prisma/schema.prisma Feb 29 09:27:17src/tracker/index.js → public/script.js... Feb 29 09:27:17created public/script.js in 583ms Feb 29 09:27:17 Feb 29 09:27:18$ next build Feb 29 09:27:18$ node scripts/build-geo.js Feb 29 09:27:18warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:18warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:18warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:18warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:18warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:18warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:18Vercel environment detected. Skipping geo setup. Feb 29 09:27:20 Feb 29 09:27:20 ▲ Next.js 14.1.0 Feb 29 09:27:20 Creating an optimized production build ... Feb 29 09:27:20=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.25:3000 Feb 29 09:27:31box:taskworker Starting task 4362. Logs are at /home/yellowtent/platformdata/logs/e501b1e8-59ba-491b-af25-a3def0b83dfe/apptask.log Feb 29 09:27:31box:apptask run: startTask installationState: pending_restart runState: running Feb 29 09:27:31box:tasks update 4362: {"percent":10,"message":"Starting app services"} Feb 29 09:27:31box:tasks update 4362: {"percent":20,"message":"Restarting container"} Feb 29 09:27:42==> Changing ownership Feb 29 09:27:42box:tasks update 4362: {"percent":80,"message":"Configuring reverse proxy"} Feb 29 09:27:42box:reverseproxy providerMatchesSync: subject=CN = clicks.eupalinos.eu domain=clicks.eupalinos.eu issuer=C = US, O = Let's Encrypt, CN = R3 wildcard=false/false prod=true/true issuerMismatch=false wildcardMismatch=false match=true Feb 29 09:27:42box:reverseproxy expiryDate: subject=CN = clicks.eupalinos.eu notBefore=Feb 16 09:55:44 2024 GMT notAfter=May 16 09:55:43 2024 GMT daysLeft=77.06111457175926 Feb 29 09:27:42box:reverseproxy needsRenewal: false. force: false Feb 29 09:27:42box:reverseproxy ensureCertificate: clicks.eupalinos.eu acme cert exists and is up to date Feb 29 09:27:42NOTICE: extension "pgcrypto" already exists, skipping Feb 29 09:27:42CREATE EXTENSION Feb 29 09:27:42=> Running build script that generates the migrations Feb 29 09:27:42box:reverseproxy writeAppLocationNginxConfig: writing config for "clicks.eupalinos.eu" to /home/yellowtent/platformdata/nginx/applications/e501b1e8-59ba-491b-af25-a3def0b83dfe/clicks.eupalinos.eu.conf with options {"sourceDir":"/home/yellowtent/box","vhost":"clicks.eupalinos.eu","hasIPv6":true,"ip":"172.18.17.25","port":3000,"endpoint":"app","redirectTo":null,"certFilePath":"/home/yellowtent/platformdata/nginx/cert/clicks.eupalinos.eu.cert","keyFilePath":"/home/yellowtent/platformdata/nginx/cert/clicks.eupalinos.eu.key","robotsTxtQuoted":"\"# Disable search engine indexing\\n\\nUser-agent: *\\nDisallow: /\"","cspQuoted":null,"hideHeaders":[],"proxyAuth":{"enabled":false,"id":"e501b1e8-59ba-491b-af25-a3def0b83dfe","location":"/"},"upstreamUri":"","ocsp":true,"hstsPreload":false} Feb 29 09:27:42box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx Feb 29 09:27:42box:shell reload (stderr): sudo: unable to resolve host 1001507-513: Name or service not known Feb 29 09:27:43yarn run v1.22.19 Feb 29 09:27:43box:tasks update 4362: {"percent":100,"message":"Done"} Feb 29 09:27:43box:taskworker Task took 11.805 seconds Feb 29 09:27:43box:tasks setCompleted - 4362: {"result":null,"error":null} Feb 29 09:27:43box:tasks update 4362: {"percent":100,"result":null,"error":null} Feb 29 09:27:43warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:43warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:43$ npm-run-all check-env build-db check-db build-tracker build-geo build-app Feb 29 09:27:43warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:44warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:44warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:44$ node scripts/check-env.js Feb 29 09:27:44warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:44warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:44warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:44$ npm-run-all copy-db-files build-db-client Feb 29 09:27:44warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:45warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:45warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:45$ node scripts/copy-db-files.js Feb 29 09:27:45warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:45Database type detected: postgresql Feb 29 09:27:45Copied /app/code/db/postgresql to /app/code/prisma Feb 29 09:27:46warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:46warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:46$ prisma generate Feb 29 09:27:46warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:47Prisma schema loaded from prisma/schema.prisma Feb 29 09:27:49 Feb 29 09:27:49✔ Generated Prisma Client (v5.9.1) to ./node_modules/@prisma/client in 482ms Feb 29 09:27:49 Feb 29 09:27:49Start using Prisma Client in Node.js (See: https://pris.ly/d/client) Feb 29 09:27:49``` Feb 29 09:27:49import { PrismaClient } from '@prisma/client' Feb 29 09:27:49const prisma = new PrismaClient() Feb 29 09:27:49``` Feb 29 09:27:49or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate) Feb 29 09:27:49``` Feb 29 09:27:49import { PrismaClient } from '@prisma/client/edge' Feb 29 09:27:49const prisma = new PrismaClient() Feb 29 09:27:49``` Feb 29 09:27:49 Feb 29 09:27:49See other ways of importing Prisma Client: http://pris.ly/d/importing-client Feb 29 09:27:49 Feb 29 09:27:49┌─────────────────────────────────────────────────────────────┐ Feb 29 09:27:49│ Deploying your app to serverless or edge functions? │ Feb 29 09:27:49│ Try Prisma Accelerate for connection pooling and caching. │ Feb 29 09:27:49│ https://pris.ly/cli/accelerate │ Feb 29 09:27:49└─────────────────────────────────────────────────────────────┘ Feb 29 09:27:49 Feb 29 09:27:49warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:49warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:49$ node scripts/check-db.js Feb 29 09:27:49warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:49✓ DATABASE_URL is defined. Feb 29 09:27:50=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.25:3000 Feb 29 09:27:50✓ Database connection successful. Feb 29 09:27:50✓ Database version check successful. Feb 29 09:27:52Prisma schema loaded from prisma/schema.prisma Feb 29 09:27:52Datasource "db": PostgreSQL database "dbe501b1e859ba491baf25a3def0b83dfe", schema "public" at "postgresql" Feb 29 09:27:52 Feb 29 09:27:524 migrations found in prisma/migrations Feb 29 09:27:52 Feb 29 09:27:52 Feb 29 09:27:52No pending migrations to apply. Feb 29 09:27:52 Feb 29 09:27:52✓ Database is up to date. Feb 29 09:27:53warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:53warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:53$ rollup -c rollup.tracker.config.mjs Feb 29 09:27:53warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:53 Feb 29 09:27:53src/tracker/index.js → public/script.js... Feb 29 09:27:54created public/script.js in 559ms Feb 29 09:27:54warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:54warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:54$ node scripts/build-geo.js Feb 29 09:27:54warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:54Vercel environment detected. Skipping geo setup. Feb 29 09:27:55warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:55warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:55$ next build Feb 29 09:27:55warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:56 ▲ Next.js 14.1.0 Feb 29 09:27:56 Feb 29 09:27:56 Creating an optimized production build ... Feb 29 09:28:00=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.25:3000 -
Hello. I have two Umami instance and one did fail after the update.
Feb 29 09:27:02error Command failed with exit code 134. Feb 29 09:27:0211: 0xf147a0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0212: 0xf0bd6c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0213: 0xf0bee5 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0214: 0x11c6f4e v8::internal::MaybeHandle<v8::internal::OrderedHashMap> v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Allocate<v8::internal::Isolate>(v8::internal::Isolate*, int, v8::internal::AllocationType) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0215: 0x11c7003 v8::internal::MaybeHandle<v8::internal::OrderedHashMap> v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Rehash<v8::internal::Isolate>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::OrderedHashMap>, int) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0216: 0x12d134d v8::internal::Runtime_MapGrow(int, unsigned long*, v8::internal::Isolate*) [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:0217: 0x170a079 [/usr/local/node-18.18.0/bin/node] Feb 29 09:27:02Aborted (core dumped) Feb 29 09:27:03error Command failed with exit code 1. Feb 29 09:27:03info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Feb 29 09:27:03info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Feb 29 09:27:03ERROR: "build-app" exited with 134. Feb 29 09:27:05==> Changing ownership Feb 29 09:27:05=> Running build script that generates the migrations Feb 29 09:27:05CREATE EXTENSION Feb 29 09:27:05NOTICE: extension "pgcrypto" already exists, skipping Feb 29 09:27:06yarn run v1.22.19 Feb 29 09:27:06$ npm-run-all check-env build-db check-db build-tracker build-geo build-app Feb 29 09:27:06warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:06warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:06warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:07$ node scripts/check-env.js Feb 29 09:27:07$ npm-run-all copy-db-files build-db-client Feb 29 09:27:07warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:07warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:07warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:07warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:07warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:07warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:08$ node scripts/copy-db-files.js Feb 29 09:27:08warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:08warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:08warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:08Copied /app/code/db/postgresql to /app/code/prisma Feb 29 09:27:08Database type detected: postgresql Feb 29 09:27:09$ prisma generate Feb 29 09:27:09warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:09warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:09warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:10=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.25:3000 Feb 29 09:27:11Prisma schema loaded from prisma/schema.prisma Feb 29 09:27:12 Feb 29 09:27:12 Feb 29 09:27:12 Feb 29 09:27:12 Feb 29 09:27:12 Feb 29 09:27:12``` Feb 29 09:27:12``` Feb 29 09:27:12``` Feb 29 09:27:12``` Feb 29 09:27:12const prisma = new PrismaClient() Feb 29 09:27:12const prisma = new PrismaClient() Feb 29 09:27:12import { PrismaClient } from '@prisma/client' Feb 29 09:27:12import { PrismaClient } from '@prisma/client/edge' Feb 29 09:27:12┌─────────────────────────────────────────────────────────────┐ Feb 29 09:27:12│ https://pris.ly/cli/accelerate │ Feb 29 09:27:12│ Deploying your app to serverless or edge functions? │ Feb 29 09:27:12│ Try Prisma Accelerate for connection pooling and caching. │ Feb 29 09:27:12See other ways of importing Prisma Client: http://pris.ly/d/importing-client Feb 29 09:27:12Start using Prisma Client in Node.js (See: https://pris.ly/d/client) Feb 29 09:27:12or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate) Feb 29 09:27:12└─────────────────────────────────────────────────────────────┘ Feb 29 09:27:12✔ Generated Prisma Client (v5.9.1) to ./node_modules/@prisma/client in 379ms Feb 29 09:27:13$ node scripts/check-db.js Feb 29 09:27:13warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:13warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:13warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:13✓ DATABASE_URL is defined. Feb 29 09:27:13✓ Database connection successful. Feb 29 09:27:13✓ Database version check successful. Feb 29 09:27:16 Feb 29 09:27:16 Feb 29 09:27:16 Feb 29 09:27:16 Feb 29 09:27:16$ rollup -c rollup.tracker.config.mjs Feb 29 09:27:16warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:16warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:16warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:16✓ Database is up to date. Feb 29 09:27:164 migrations found in prisma/migrations Feb 29 09:27:16Datasource "db": PostgreSQL database "dbe501b1e859ba491baf25a3def0b83dfe", schema "public" at "postgresql" Feb 29 09:27:16No pending migrations to apply. Feb 29 09:27:16Prisma schema loaded from prisma/schema.prisma Feb 29 09:27:17src/tracker/index.js → public/script.js... Feb 29 09:27:17created public/script.js in 583ms Feb 29 09:27:17 Feb 29 09:27:18$ next build Feb 29 09:27:18$ node scripts/build-geo.js Feb 29 09:27:18warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:18warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:18warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:18warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:18warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:18warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:18Vercel environment detected. Skipping geo setup. Feb 29 09:27:20 Feb 29 09:27:20 ▲ Next.js 14.1.0 Feb 29 09:27:20 Creating an optimized production build ... Feb 29 09:27:20=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.25:3000 Feb 29 09:27:31box:taskworker Starting task 4362. Logs are at /home/yellowtent/platformdata/logs/e501b1e8-59ba-491b-af25-a3def0b83dfe/apptask.log Feb 29 09:27:31box:apptask run: startTask installationState: pending_restart runState: running Feb 29 09:27:31box:tasks update 4362: {"percent":10,"message":"Starting app services"} Feb 29 09:27:31box:tasks update 4362: {"percent":20,"message":"Restarting container"} Feb 29 09:27:42==> Changing ownership Feb 29 09:27:42box:tasks update 4362: {"percent":80,"message":"Configuring reverse proxy"} Feb 29 09:27:42box:reverseproxy providerMatchesSync: subject=CN = clicks.eupalinos.eu domain=clicks.eupalinos.eu issuer=C = US, O = Let's Encrypt, CN = R3 wildcard=false/false prod=true/true issuerMismatch=false wildcardMismatch=false match=true Feb 29 09:27:42box:reverseproxy expiryDate: subject=CN = clicks.eupalinos.eu notBefore=Feb 16 09:55:44 2024 GMT notAfter=May 16 09:55:43 2024 GMT daysLeft=77.06111457175926 Feb 29 09:27:42box:reverseproxy needsRenewal: false. force: false Feb 29 09:27:42box:reverseproxy ensureCertificate: clicks.eupalinos.eu acme cert exists and is up to date Feb 29 09:27:42NOTICE: extension "pgcrypto" already exists, skipping Feb 29 09:27:42CREATE EXTENSION Feb 29 09:27:42=> Running build script that generates the migrations Feb 29 09:27:42box:reverseproxy writeAppLocationNginxConfig: writing config for "clicks.eupalinos.eu" to /home/yellowtent/platformdata/nginx/applications/e501b1e8-59ba-491b-af25-a3def0b83dfe/clicks.eupalinos.eu.conf with options {"sourceDir":"/home/yellowtent/box","vhost":"clicks.eupalinos.eu","hasIPv6":true,"ip":"172.18.17.25","port":3000,"endpoint":"app","redirectTo":null,"certFilePath":"/home/yellowtent/platformdata/nginx/cert/clicks.eupalinos.eu.cert","keyFilePath":"/home/yellowtent/platformdata/nginx/cert/clicks.eupalinos.eu.key","robotsTxtQuoted":"\"# Disable search engine indexing\\n\\nUser-agent: *\\nDisallow: /\"","cspQuoted":null,"hideHeaders":[],"proxyAuth":{"enabled":false,"id":"e501b1e8-59ba-491b-af25-a3def0b83dfe","location":"/"},"upstreamUri":"","ocsp":true,"hstsPreload":false} Feb 29 09:27:42box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx Feb 29 09:27:42box:shell reload (stderr): sudo: unable to resolve host 1001507-513: Name or service not known Feb 29 09:27:43yarn run v1.22.19 Feb 29 09:27:43box:tasks update 4362: {"percent":100,"message":"Done"} Feb 29 09:27:43box:taskworker Task took 11.805 seconds Feb 29 09:27:43box:tasks setCompleted - 4362: {"result":null,"error":null} Feb 29 09:27:43box:tasks update 4362: {"percent":100,"result":null,"error":null} Feb 29 09:27:43warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:43warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:43$ npm-run-all check-env build-db check-db build-tracker build-geo build-app Feb 29 09:27:43warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:44warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:44warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:44$ node scripts/check-env.js Feb 29 09:27:44warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:44warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:44warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:44$ npm-run-all copy-db-files build-db-client Feb 29 09:27:44warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:45warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:45warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:45$ node scripts/copy-db-files.js Feb 29 09:27:45warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:45Database type detected: postgresql Feb 29 09:27:45Copied /app/code/db/postgresql to /app/code/prisma Feb 29 09:27:46warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:46warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:46$ prisma generate Feb 29 09:27:46warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:47Prisma schema loaded from prisma/schema.prisma Feb 29 09:27:49 Feb 29 09:27:49✔ Generated Prisma Client (v5.9.1) to ./node_modules/@prisma/client in 482ms Feb 29 09:27:49 Feb 29 09:27:49Start using Prisma Client in Node.js (See: https://pris.ly/d/client) Feb 29 09:27:49``` Feb 29 09:27:49import { PrismaClient } from '@prisma/client' Feb 29 09:27:49const prisma = new PrismaClient() Feb 29 09:27:49``` Feb 29 09:27:49or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate) Feb 29 09:27:49``` Feb 29 09:27:49import { PrismaClient } from '@prisma/client/edge' Feb 29 09:27:49const prisma = new PrismaClient() Feb 29 09:27:49``` Feb 29 09:27:49 Feb 29 09:27:49See other ways of importing Prisma Client: http://pris.ly/d/importing-client Feb 29 09:27:49 Feb 29 09:27:49┌─────────────────────────────────────────────────────────────┐ Feb 29 09:27:49│ Deploying your app to serverless or edge functions? │ Feb 29 09:27:49│ Try Prisma Accelerate for connection pooling and caching. │ Feb 29 09:27:49│ https://pris.ly/cli/accelerate │ Feb 29 09:27:49└─────────────────────────────────────────────────────────────┘ Feb 29 09:27:49 Feb 29 09:27:49warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:49warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:49$ node scripts/check-db.js Feb 29 09:27:49warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:49✓ DATABASE_URL is defined. Feb 29 09:27:50=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.25:3000 Feb 29 09:27:50✓ Database connection successful. Feb 29 09:27:50✓ Database version check successful. Feb 29 09:27:52Prisma schema loaded from prisma/schema.prisma Feb 29 09:27:52Datasource "db": PostgreSQL database "dbe501b1e859ba491baf25a3def0b83dfe", schema "public" at "postgresql" Feb 29 09:27:52 Feb 29 09:27:524 migrations found in prisma/migrations Feb 29 09:27:52 Feb 29 09:27:52 Feb 29 09:27:52No pending migrations to apply. Feb 29 09:27:52 Feb 29 09:27:52✓ Database is up to date. Feb 29 09:27:53warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:53warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:53$ rollup -c rollup.tracker.config.mjs Feb 29 09:27:53warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:53 Feb 29 09:27:53src/tracker/index.js → public/script.js... Feb 29 09:27:54created public/script.js in 559ms Feb 29 09:27:54warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:54warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:54$ node scripts/build-geo.js Feb 29 09:27:54warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:54Vercel environment detected. Skipping geo setup. Feb 29 09:27:55warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable. Feb 29 09:27:55warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0". Feb 29 09:27:55$ next build Feb 29 09:27:55warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn" Feb 29 09:27:56 ▲ Next.js 14.1.0 Feb 29 09:27:56 Feb 29 09:27:56 Creating an optimized production build ... Feb 29 09:28:00=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.25:3000@mononym said in Upgrade to umami 2.10.0 failed:
Feb 29 09:27:02error Command failed with exit code 134.
Feb 29 09:27:0211: 0xf147a0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/local/node-18.18.0/bin/node]
Feb 29 09:27:0212: 0xf0bd6c v8::internal::FactoryBasev8::internal::Factory::AllocateRawArray(int, v8::internal::AllocationType) [/usr/local/node-18.18.0/bin/node]
Feb 29 09:27:0213: 0xf0bee5 v8::internal::FactoryBasev8::internal::Factory::NewFixedArrayWithFiller(v8::internal::Handlev8::internal::Map, int, v8::internal::Handlev8::internal::Oddball, v8::internal::AllocationType) [/usr/local/node-18.18.0/bin/node]
Feb 29 09:27:0214: 0x11c6f4e v8::internal::MaybeHandlev8::internal::OrderedHashMap v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Allocatev8::internal::Isolate(v8::internal::Isolate*, int, v8::internal::AllocationType) [/usr/local/node-18.18.0/bin/node]
Feb 29 09:27:0215: 0x11c7003 v8::internal::MaybeHandlev8::internal::OrderedHashMap v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Rehashv8::internal::Isolate(v8::internal::Isolate*, v8::internal::Handlev8::internal::OrderedHashMap, int) [/usr/local/node-18.18.0/bin/node]
Feb 29 09:27:0216: 0x12d134d v8::internal::Runtime_MapGrow(int, unsigned long*, v8::internal::Isolate*) [/usr/local/node-18.18.0/bin/node]
Feb 29 09:27:0217: 0x170a079 [/usr/local/node-18.18.0/bin/node]
Feb 29 09:27:02Aborted (core dumped)These look like memory allocation errors. Can you increase the memory limit of the app?
-
Thanks. That worked. I augmented from initially 2GB to 4GB.
Strange this happens to the instance with a tracker on only one website. My other instance with trackers on four websites had no issues. But by the number of single URL/pages tracked, the first instance has much more single sites to track. -
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login