Download Shipown
Daemon onlinev0.1.0-rc.12.7
Docs/Product Modules/Deployments & Releases

Deployments & Releases

Deploy a supported app over SSH, inspect runtime checks, and verify the expected URL and content after each release.

Open in App

Choose the runtime and build location

Use a local folder or GitHub source with PM2, Static or Docker. Review the application name, install/build/start commands, port, environment values and optional domain. Docker needs a Dockerfile or Compose configuration; Static needs the correct publish directory.

Server builds install and compile on the target. PC builds use local tools for static output and a Linux Docker engine for Node and Docker builds. Node PC builds check the target architecture, Node version and libc compatibility. The server still needs the runtime and system dependencies required to run the result.

Check supported environments and prerequisites before deploying.

What deployment completion means

For PM2, installation and building happen before the current release changes. The new release is then selected and started before runtime checks finish. A detected start or crash failure triggers an attempt to restore the previous release and its saved configuration.

The checks can accept a local HTTP response, including a 4xx response, or a listening port. A stable PM2 process with no HTTP response can remain running because workers need not serve a web page. If the PM2 process table cannot be read, the source leaves the release in place and requests a manual check. Neither case proves that a public web app is healthy.

Nginx routing and certificate failures can be reported as warnings after deployment completes. A Dockerfile deployment without a domain normally publishes to server loopback only; a static deploy without a domain may have files in place without an Nginx route.

Open the intended URL from outside the server, check the expected release content and exercise the application behavior that matters. Repeat this after the second deployment. Review runtime and proxy logs even when the deploy screen reports completion.

Recovery depends on the runtime

  • PM2: inspect the app status and logs. For a Shipown-managed app with retained releases, choose a known working release in the release list. Confirm that its expected start configuration and environment are restored, then verify the URL. Older releases may lack a saved configuration snapshot. If restoration reports that the previous process is also down, inspect that process before retrying.
  • Docker or Compose: inspect container/service status and logs. Select a retained managed release when rollback is available, then check every required service and its published ports. Automatic recovery attempts can fail; restarting an older image or Compose release does not undo changes to volumes or database schemas.
  • Static: inspect the selected release, publish directory and Nginx route. Choose a retained static release, check Nginx configuration and serving behavior, then verify the expected page and assets.

If no usable managed release remains, recover through your established server access: identify the active release and runtime, restore known working application files and configuration from your backup, restart or reload the affected service, and verify it externally. Handle database recovery using an application-specific backup and migration procedure. Do not delete releases or application data merely to clear an error.

Interrupted deployments and history

A lost connection or closed desktop can leave the outcome uncertain. Reconnect and inspect the server's active release, processes, logs and URL before retrying or rolling back. Do not assume that losing the desktop connection stopped remote work.

Deployment history is stored on this computer. A history entry describes the recorded operation; it does not replace checking current server state after an interruption. Packaged restart and interruption behavior still need release evidence. See troubleshooting.