Skip to content

Ossiframe Deploy ​

Deploy installs base software on Ubuntu 24.04 servers and deploys applications, after you approve a plan. Use it only on servers you can rebuild: approved changes run as root through sudo -n.

Deploy Overview before connecting: the saved server, its pinned host key and a Connect button

Screenshots are from the release build, connected to a disposable Ubuntu 24.04 server. Server address and host key are replaced with placeholders.

Add and connect a server ​

See Add a server.

Deploy Add server dialog: name, host, port, user name, and a private key chosen from the keys found in the SSH folder

Provision a server ​

Provisioning installs the base stack from the Ubuntu archive (what is installed). Use the Provisioning tabs in order.

  1. Software. Choose Check the server (a read-only preflight), then tick the components to add.
  2. Preflight. Blockers prevent installing. A common one is a sudo that needs a password.
  3. Plan. Review install plan lists packages, service changes, steps and privileges. An expired plan changes nothing; create a new one.
  4. Approve. Choose Review and approve… and confirm. Only the reviewed plan runs.
  5. Operation. Progress and results.
  6. History. Past operations. Both stay readable while disconnected. Partly verified (s04); recovery paths not run (known limitations).

Unknown outcome ​

If the connection drops mid-operation, Ossiframe cannot know whether the remote command finished. The operation becomes Unknown outcome and is never retried. On the Operation tab:

  • Reconcile reads the server and reports what it can prove.
  • Mark resolved after inspection… closes the operation as failed and retries nothing. For package installs it refuses while an apt or dpkg process runs, a package lock is held, or an Ossiframe step unit is active.

The remote lock ​

Ossiframe locks the server during an operation. The lock is cooperative and stops only Ossiframe. If its holder no longer exists, the Plan tab offers Release stale lock…. Use it only if no other Ossiframe installation uses the server.

Deploy Provisioning, Software tab: Git, NGINX, PHP, PHP-FPM, Composer and MySQL installed with their versions, and Redis not installed

Applications ​

Open Applications in the sidebar. Creating or deploying needs a connection and a provisioned server.

Create an application ​

Choose New application, pick Laravel, generic PHP or static HTML, and fill in:

  • Name and Short name (slug).
  • Domain. For a quick test on a server with a public IPv4 address, a button fills in <slug>.<server-ip>.sslip.io. Anyone who knows the address can open the site.
  • Repository URL, Branch, and for some types an Entry file.
  • Options: Use a MySQL database, Disable the NGINX default site. Review and approve the plan, as for provisioning. A new site is served over HTTP; see HTTPS below. A removed application stays listed as Removed. Delete this record (Settings tab) deletes only the local record.

HTTPS ​

HTTPS on an application's Settings tab gets a free Let's Encrypt certificate, serves the site over HTTPS and redirects HTTP to it. Implemented, not verified on a real server (s18; security).

  1. Point the domain's DNS at the server, and open ports 80 and 443 in your hosting provider's console. Ossiframe cannot see that firewall.
  2. Enter a contact email for expiry notices. Approving accepts the Let's Encrypt subscriber agreement. Strict-Transport-Security is optional and hard to undo.
  3. Choose Review HTTPS plan. It checks that the domain resolves to this server, NGINX is healthy and ufw allows ports 80 and 443. If Certbot is missing, the plan installs it from the Ubuntu archive.
  4. Approve. If NGINX rejects the new site file, the previous file is restored. An issued certificate stays on the server.
  5. The result checks the certificate, the redirect, and Certbot's renewal timer and test. A failing renewal test is a warning: the certificate may not renew. Disable HTTPS serves HTTP again and keeps the certificate. Removing the application deletes it. Shared names such as sslip.io may be rate limited by Let's Encrypt: use a domain you own.

Private repositories and deploy keys ​

Use an SSH URL such as git@github.com:owner/repo.git. Private HTTPS repositories are not supported. The Deploy or Repository tab guides you:

  1. Copy the public key. The key is generated on the server, and the private key stays there.
  2. Add it to the repository as a deploy key at your Git host.
  3. Choose Check access, then deploy. For an unknown Git host, Ossiframe shows its fingerprint for you to confirm first.

Environment values ​

The Environment tab reads the app's .env from the server each time and hides values. Each change needs review and approval. After an app restart, create the plan again.

Releases, redeploy and rollback ​

  • Deploy creates a release from the branch (or another branch, for this deploy only). Each deployment is manual and needs approval.
  • Run database migrations is off by default. A rollback switches the code only and cannot undo migrations.
  • Releases lists the last few. Choose a previous one to roll back.
  • If a check fails after the switch, the new release stays live. Roll back from the Overview.

Settings and removal ​

The Repository tab changes the branch, or the URL within the same host and access type. Remove application on the Settings tab has optional, permanent choices to drop the database and its user and to delete the application files and Linux user. Type the slug to confirm. Partly verified: one static site (s05). See known limitations.

Deploy Applications: a list with one active static site, its domain, current release and last deploy

Deploy New application form: the choice of Laravel, PHP or static, then the site name, short name, domain and repository URL

Deploy application detail: the static site's current release, commit, branch and last operation

Opt-in tools ​

These tools are in Deploy. Doctor has only Monitoring and Logs. Each is partly verified (compatibility); the safety design is in security.

Monitoring ​

Live CPU, load, memory, disk, network and process figures, polled every 2, 5, 10 or 30 seconds. Polling pauses when the page is hidden.

Logs ​

Choose a source (Journal, NGINX access, NGINX error, PHP-FPM, MySQL error), set filters, and choose Load. Live tail follows new lines. The buffer keeps the newest 5,000. "Log not available" means your SSH user lacks permission (see the prerequisites). Logs can contain sensitive data.

Terminal ​

Open terminal gives you a shell over the existing SSH connection. It runs whatever you type as your SSH user, without plans or approval, and Ossiframe does not track changes. Pasting several lines asks for confirmation.

Files ​

Browse the server over SFTP. The mode selector starts at Read-only on every connect. Read and write allows creating folders, upload, rename, move and delete.

  • Changes apply directly as your SSH user and are not tracked or undone.
  • Delete removes only files, symbolic links and empty folders, after you type the name.
  • Changes to ~/.ssh and folders containing it are refused, best effort.
  • Replacing a file asks for confirmation and discards the old content.
  • Previews are plain text, up to 256 KiB.

Tunnels ​

A tunnel forwards a local port to a destination reached through the server, such as MySQL. Choose New tunnel, set the local port, remote host and remote port, then Start.

  • The local port listens on 127.0.0.1 only. Any program on your computer can use it while it runs.
  • Tunnels are not read-only. A client used through a tunnel can change the remote service, and Ossiframe does not see or track that traffic.
  • Tunnels stop on disconnect or app exit and do not reconnect.

Deploy Monitoring in the dark theme: a health summary and live CPU, load, memory, swap, disk and network tiles

Deploy Files in the dark theme: the folders and links in /var with size, modified time, permissions and owner, in read-only mode

Deploy Tunnels in the dark theme: a warning about forwarding, and one tunnel listening on a local port for a database port on the server

Deploy Assistant in the dark theme, before setup: choose a provider and add an API key

Troubleshooting ​

SymptomWhat to do
Host key changed dialogSee Trust a host key. Replace the pinned key only if you know why.
Preflight says sudo needs a password, or the user may not run sudoDeploy needs passwordless sudo. Use a user that has it, or configure NOPASSWD for the SSH user (root-equivalent).
Keychain error, or a prompt that does not appearThe login keychain may be locked. Unlock it in Keychain Access and retry.
"Log not available", a refused tunnel, or Files that will not openThe server lacks a prerequisite. Fix it on the server and reconnect.
Unknown outcomeSee Unknown outcome. For packages, inspect the server first (dpkg --audit, running apt processes).
A failed application create keeps its nameThe slug stays reserved. Remove the application and use a different slug.

More: known-limitations.md.

Released under the MIT License.