Knowledge Base
Next.js Standalone Build Artifact
The Umami app is built and deployed in "standalone" mode, see: output: 'standalone'.
That means the development and maintenance scripts (e.g. update-tracker) are not available in the runtime container by default.
To enable this functionality, follow these steps:
- SSH into the runtime container or open service web shell in GUI
- Add some RAM for
pnpm install:
shell
zsc scale ram +2GB 10m
# Wait for the scaling to apply.
sleep 10s
- Install script dependencies:
shell
pnpm add npm-run-all dotenv chalk semver prisma@6.18.0 @prisma/adapter-pg@6.18.0
After that, you should be able to run the maintenance tasks, e.g.:
shell
pnpm run update-tracker
pnpm run update-db

