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.
| Step | What you see | Where to look |
|---|
| Cloning | the repository or branch is not found, or access is denied | the GitHub app's access to the repository, or the Git repository's token |
| Build | a build command exits with an error | the build log, at the last step shown |
| Startup | the service crashes in a loop, or never opens its port | the service logs |
| Check | the new version is not ready after 15 minutes | the 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
| Symptom | Probable cause | What to do |
|---|
Failure at install, message about the lock file, npm ci or frozen-lockfile | lock file missing or behind package.json | run the install locally, commit the file |
ENOSPC | no disk space left during the build | add a .dockerignore, remove heavy files from the repository |
| Network error to the database or a service in the project | the build has no access to any internal service | do not call the database or the API during the build |
| Build stopped after one hour | a command does not finish | check that the build command does not start a server |
| A stale dependency persists | build cache | Rebuild without cache, or B on the canvas |
| Variable missing during the build | it is declared as a runtime variable | declare it as a build variable (Environment variables) |
| Archive refused | over 100 MB | remove node_modules and the files produced by the build |
Details in How builds work.
Startup and update
| Symptom | Probable cause | What to do |
|---|
| The service restarts in a loop | error at startup | read the logs, check the variables |
not found, code 127 | start command not found | check the start script, or remove next start in standalone mode (Custom start command) |
| The process exits with code 0 | the 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 start | invalid JSON | fix the format |
| Update rolled back to the previous version | new version crashed or not ready within 15 minutes | read the reason in Deployments, check PORT and listening on 0.0.0.0 (Health check) |
| Nothing listens on the probed port | the application listens on a different port than the declared one | align the service's port with the application's |
| "schema is newer than this version" | rollback after a migration | redeploy the version that migrated (Database migrations) |
| The service goes live then goes down | port opened before initialization finished | initialize before listening |
| Requests cut off at every deployment | SIGTERM not handled | finish in-flight requests before exiting (Best practices) |
Illegal instruction (SIGILL) | binary incompatible with the server's CPU | Webgune first moves the service to compatible servers. If the error persists, open a ticket |
| Image not found | Docker image missing or private registry without credentials | check 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 detected | Attempts, in order |
|---|
| wrong port | realign the port, restart, go back to the last healthy image |
| incompatible CPU | place the service on compatible servers, restart, go back to the last healthy image |
| memory exceeded | increase memory (up to 2 GB), restart, go back to the last healthy image |
| missing or invalid variable | repair the variables, restart, go back to the last healthy image |
| image not found | look for the image in the project's registry, restart, go back to the last healthy image |
| process exited with code 0 | go back to the last healthy image |
| other application error | restart, go back to the last healthy image |
If nothing works, the service is stopped and marked as failing. Fix the cause, then redeploy.
Resources
| Symptom | Probable cause | What to do |
|---|
| Stop with code 137 | memory at maximum | reduce consumption, or a larger plan (Limits and resources) |
| 137 stops getting closer together | memory leak | follow the memory curve in Observability |
Node.js: JavaScript heap out of memory | heap smaller than the available memory, or a leak | set --max-old-space-size below the instance's memory |
| Slow service under load | CPU at maximum | optimize, or switch to ultra high availability |
| Slow first visit after a pause | sleep mode | expected behavior in staging and development |
| "Plan limited to N service(s)" | plan's service quota reached | stop a service, or change plan |
| "Active Web subscription required" | trial ended, no current subscription | choose a plan in Billing |
Files and volumes
| Symptom | Probable cause | What to do |
|---|
| Files gone after a deployment | written to the working disk | add a volume |
EACCES on a volume folder | rights set before November 2026 | redeploy: rights are now assigned automatically |
| "Volume already in use" | volume attached to two services | one volume, one service |
| The service stays at one instance | it mounts a volume | move the files to a database or object storage |
Network and databases
| Symptom | Probable cause | What to do |
|---|
| Cannot connect to another service | services in different projects, with no internal link | create 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 machine | it exists only inside the project | turn on the database's public access and use the public address |
| "too many connections" | pool too large multiplied by the number of instances | reduce the pool size (Databases) |
| Managed MySQL connection refused | client without TLS | turn on TLS in the connection string |
| All requests have the same IP address | address read from the connection | read X-Forwarded-For |
| Sessions lost from one request to the next | in-memory sessions, several instances | store sessions in Redis or the database |
Domains
| Symptom | Probable cause | What to do |
|---|
| Certificate not issued | DNS not yet propagated, or Cloudflare proxy active | SSL certificates |
| Old version displayed | browser cache | Ctrl+Shift+R |
| Staging unreachable | project token missing or regenerated | use the up-to-date sharing link |
Account
| Symptom | Probable cause | What to do |
|---|
| "Confirm your email address to sign in" | address not confirmed | open the link you received. It has just been resent |
| GitHub or Discord button sends you to sign-up | no Webgune account linked to this provider | sign in by email, then link the provider (Creating an account) |
| Organization repositories missing | GitHub app not installed on the organization | Manage repositories in Settings, Linked accounts tab |
| "Too many attempts" at sign-in | 20 failures in a quarter of an hour | wait for the quarter hour to end, or reset the password |
Bots
| Symptom | Probable cause | What to do |
|---|
| The bot answers twice | the same token runs elsewhere (your machine, another host) | stop the other instance |
| The bot is offline for a few seconds at every update | the old instance stops before the new one | intended behavior (Discord bots) |
| "Token invalid or rejected by Discord" | token regenerated or copied wrong | copy 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.