Skip to main content
Betadocs
DocsStatusSupportPricing
  • Introduction
    • Introduction to Webgune
    • How Webgune works
    • Creating an account
    • Creating your first project
    • Exploring the dashboard
  • Deployment

    • Deploying from GitHub
    • Deploying a Docker image
    • How builds work
    • Deployments and rollback
    • Environment variables
    • Custom start command
    • Health check
    • Database migrations

    Web apps

    • Web applications
      • Supported frameworks
      • Next.js
      • React / Vite
      • Node.js
      • Python
      • PHP
      • Go

    Bots & workers

    • Discord bots
    • Workers

    Docker

    • Docker
      • Writing a Dockerfile
      • Public Docker images

    Databases

    • Databases
      • PostgreSQL
      • MySQL
      • MariaDB
      • MongoDB
      • Redis

    Observability

    • Logs and monitoring
    • Web terminal

    Scaling

    • Availability and scaling
    • Persistent volumes
    • Backups and restore
    • Sleep mode

    Platform

    • One microVM per service
    • Network and isolation
    • Platform security
    • Deploying a template
      • Template catalog
    • Free subdomains
    • Custom domains
    • Buying a domain
    • Hosting DNS for a domain bought elsewhere
    • Managing your DNS records
    • SSL certificates
    • Redirects
    • Shared projects
      • Roles and permissions
    • Real-time collaboration
    • Continuous deployment
      • The kx712.yml file
    • VS Code extension
    • Plans and pricing
    • Payments and invoices
    • Account or per-project subscription
    • API reference
    • API keys
    • Webgune CLI
    • MCP server
    • JavaScript / TypeScript SDK
    • Support tickets
    • Status page
    • AI assistant
    • FAQ
    • Limits and resources
    • Account security
    • Best practices
    • Troubleshooting

General

Troubleshooting

Open as Markdown

Problems are sorted by symptom. In every case, two places give the cause: the service's Deployments panel, for the build log and the reason for a failure, and the Logs tab, for what the application writes while running.

Read a deployment failure

A deployment fails at one of these steps. The Deployments panel shows which one.

StepWhat you seeWhere to look
Cloningthe repository or branch is not found, or access is deniedthe GitHub app's access to the repository, or the Git repository's token
Builda build command exits with an errorthe build log, at the last step shown
Startupthe service crashes in a loop, or never opens its portthe service logs
Checkthe new version is not ready after 15 minutesthe declared port and listening on 0.0.0.0

When startup or the check fails, the previous version is put back in service. The site stays online, on the old version.

Build

SymptomProbable causeWhat to do
Failure at install, message about the lock file, npm ci or frozen-lockfilelock file missing or behind package.jsonrun the install locally, commit the file
ENOSPCno disk space left during the buildadd a .dockerignore, remove heavy files from the repository
Network error to the database or a service in the projectthe build has no access to any internal servicedo not call the database or the API during the build
Build stopped after one houra command does not finishcheck that the build command does not start a server
A stale dependency persistsbuild cacheRebuild without cache, or B on the canvas
Variable missing during the buildit is declared as a runtime variabledeclare it as a build variable (Environment variables)
Archive refusedover 100 MBremove node_modules and the files produced by the build

Details in How builds work.

Startup and update

SymptomProbable causeWhat to do
The service restarts in a looperror at startupread the logs, check the variables
not found, code 127start command not foundcheck the start script, or remove next start in standalone mode (Custom start command)
The process exits with code 0the application does not stay listening (script that finishes, server started in the background)start the server in the foreground
JSON variable refused, the service does not startinvalid JSONfix the format
Update rolled back to the previous versionnew version crashed or not ready within 15 minutesread the reason in Deployments, check PORT and listening on 0.0.0.0 (Health check)
Nothing listens on the probed portthe application listens on a different port than the declared onealign the service's port with the application's
"schema is newer than this version"rollback after a migrationredeploy the version that migrated (Database migrations)
The service goes live then goes downport opened before initialization finishedinitialize before listening
Requests cut off at every deploymentSIGTERM not handledfinish in-flight requests before exiting (Best practices)
Illegal instruction (SIGILL)binary incompatible with the server's CPUWebgune first moves the service to compatible servers. If the error persists, open a ticket
Image not foundDocker image missing or private registry without credentialscheck the image name and tag (Deploying a Docker image)

What Webgune tries on its own

When a service crashes in a loop, Webgune tries a repair suited to the cause, at least one minute between attempts:

Cause detectedAttempts, in order
wrong portrealign the port, restart, go back to the last healthy image
incompatible CPUplace the service on compatible servers, restart, go back to the last healthy image
memory exceededincrease memory (up to 2 GB), restart, go back to the last healthy image
missing or invalid variablerepair the variables, restart, go back to the last healthy image
image not foundlook for the image in the project's registry, restart, go back to the last healthy image
process exited with code 0go back to the last healthy image
other application errorrestart, go back to the last healthy image

If nothing works, the service is stopped and marked as failing. Fix the cause, then redeploy.

Resources

SymptomProbable causeWhat to do
Stop with code 137memory at maximumreduce consumption, or a larger plan (Limits and resources)
137 stops getting closer togethermemory leakfollow the memory curve in Observability
Node.js: JavaScript heap out of memoryheap smaller than the available memory, or a leakset --max-old-space-size below the instance's memory
Slow service under loadCPU at maximumoptimize, or switch to ultra high availability
Slow first visit after a pausesleep modeexpected behavior in staging and development
"Plan limited to N service(s)"plan's service quota reachedstop a service, or change plan
"Active Web subscription required"trial ended, no current subscriptionchoose a plan in Billing

Files and volumes

SymptomProbable causeWhat to do
Files gone after a deploymentwritten to the working diskadd a volume
EACCES on a volume folderrights set before November 2026redeploy: rights are now assigned automatically
"Volume already in use"volume attached to two servicesone volume, one service
The service stays at one instanceit mounts a volumemove the files to a database or object storage

Network and databases

SymptomProbable causeWhat to do
Cannot connect to another serviceservices in different projects, with no internal linkcreate an internal link (Network tab, Internal service section) or group the services in one project (Network and isolation)
The database's internal address does not answer from your machineit exists only inside the projectturn on the database's public access and use the public address
"too many connections"pool too large multiplied by the number of instancesreduce the pool size (Databases)
Managed MySQL connection refusedclient without TLSturn on TLS in the connection string
All requests have the same IP addressaddress read from the connectionread X-Forwarded-For
Sessions lost from one request to the nextin-memory sessions, several instancesstore sessions in Redis or the database

Domains

SymptomProbable causeWhat to do
Certificate not issuedDNS not yet propagated, or Cloudflare proxy activeSSL certificates
Old version displayedbrowser cacheCtrl+Shift+R
Staging unreachableproject token missing or regenerateduse the up-to-date sharing link

Account

SymptomProbable causeWhat to do
"Confirm your email address to sign in"address not confirmedopen the link you received. It has just been resent
GitHub or Discord button sends you to sign-upno Webgune account linked to this providersign in by email, then link the provider (Creating an account)
Organization repositories missingGitHub app not installed on the organizationManage repositories in Settings, Linked accounts tab
"Too many attempts" at sign-in20 failures in a quarter of an hourwait for the quarter hour to end, or reset the password

Bots

SymptomProbable causeWhat to do
The bot answers twicethe same token runs elsewhere (your machine, another host)stop the other instance
The bot is offline for a few seconds at every updatethe old instance stops before the new oneintended behavior (Discord bots)
"Token invalid or rejected by Discord"token regenerated or copied wrongcopy the token again from the Developer Portal

Ask for help

The Diagnose with AI button reads the service's or the build's logs and proposes a lead (AI assistant). For a ticket, give the project and service name, the time of the problem and the relevant log lines. If you want the team to act on the service, turn on Support access to my projects in Settings, Security tab.

Updated on November 20, 2026

Best practicesPrevious

On this page

Read a deployment failureBuildStartup and updateWhat Webgune tries on its ownResourcesFiles and volumesNetwork and databasesDomainsAccountBotsAsk for help
© 2026 WebguneBack to the site