Project OWNOpen Web Node
GitHub

09Server

Troubleshooting

When something in Project OWN (Open Web Node) doesn't work, start with Doctor. This page covers Doctor, logs, the problems people run into most, updating, where things live on the server, and how to get help.

Start with Doctor

Doctor is a check-up of the server, with the fix for each problem. Open it from the menu, or from the Health tile and Needs attention on the Dashboard. Problems come first, marked Fix or Check; what's fine is marked OK. Click Check again after fixing something.

It checks:

  • that the system version is supported;
  • DNS, and which sites are ready for a free certificate;
  • sites that stopped answering, or answer with a server error (once they've answered since the panel started), and free certificates within 14 days of running out (their renewal is failing);
  • disk, memory and swap;
  • the services, and that the panel can reach its helper;
  • the firewall, and other firewalls (UFW, cloud images' rules);
  • the Cloudflare Tunnel;
  • backups that never ran, failed or stopped, and offsite copies;
  • apps that stopped or keep failing, and load balancer backends;
  • mail DNS (MX and DKIM);
  • what the security check-up and malware scan found;
  • available updates, and restarts needed for security updates;
  • owners and admins without two-factor sign-in.

Alerts

Doctor can tell you when something goes wrong, so you don't have to look. Under Alerts on the Doctor page, add where they go:

Send toWhat to give
EmailAn address. Sent through this server's own email (with Email installed), or an SMTP server you give under How alert emails are sent, which arrives more reliably.
DiscordA channel's webhook: its settings, Integrations, Webhooks, New Webhook, Copy Webhook URL.
SlackAn Incoming Webhook address.
TelegramA bot token from @BotFather, and the chat to send to (add the bot to it first).
ntfyA topic's address, such as https://ntfy.sh/a-long-random-topic, to follow in the ntfy app. Anyone who knows the topic can read it: make it long and random.
WebhookAny HTTPS address: it gets a JSON POST with subject, text, problems and fixed.
  • Doctor looks every five minutes. A problem is sent once it's been seen twice in a row, so a blip wakes no one, and not again while it lasts; Fixed is sent once it's gone twice in a row. All that's new goes in one message, with what to do.
  • Problems only, unless you tick Warnings too (such as memory nearly used up, or a Cloudflare Tunnel that isn't connected).
  • Send a test tries every channel and says how each went; Check now runs the check-up at once.
  • A webhook's address is its password: the page shows only its host, and it's in no log. Webhooks go only to public HTTPS addresses, never inside the server or its network, and don't follow redirects.

Its Email card has Check email sending: can this server send email that arrives? See Email.

An AI assistant connected over MCP can run Doctor and read logs for you, and explain the fix.

Read the logs

  • A site: its Logs: Errors, PHP errors, App output and Visits. See Site logs.
  • An app site: Log on its app card.
  • An app from the catalogue: Log next to it on Apps.
  • Email: Mail log on the domain's card.
  • A deploy: Recent deploys in the site's Deploy from Git card, with the error of the last one that failed.
  • The panel and its helper, on the server:
journalctl -u own-panel
journalctl -u own-helper

When Doctor says a service isn't running, it gives its name. Restart it, and if it stops again, read its log:

sudo systemctl restart SERVICE
journalctl -u SERVICE

Common problems

The setup link or a site won't load

Almost always, a firewall outside the server is closed.

  • On a cloud server, open TCP 8443, 80 and 443 in the provider's own firewall. The installer says where on Oracle Cloud, AWS, Google Cloud and Azure, and so does the Firewall page. See Cloud firewalls.
  • At home, your router doesn't let visitors in by itself. Use Tailscale for yourself, and Cloudflare Tunnel or a share link for visitors.
  • "UFW is also turned on" in Doctor: run sudo ufw disable. Project OWN's firewall already blocks everything you haven't opened.
  • "Another firewall on this server rejects most traffic": open Firewall and click Save and apply. Project OWN then takes over from that rule, keeping a backup.
  • The setup link ran out (it works once, for 24 hours): run sudo own setup-link for a new one.
  • The browser warns about the panel's certificate: that's expected, since the panel's certificate is its own. Continue to the site.

The domain doesn't point here yet

Doctor says "DOMAIN doesn't point at this server yet" until the domain's DNS has an A record with the server's public IP address. Add it at the company that runs the domain's DNS (see Point the domain at the server), wait a while, then click Check again.

If Doctor says the domain "points to another address", that's fine when you use a proxy or a tunnel, or your router forwards to this server. Otherwise, update the A record.

The certificate wasn't issued

The site's page shows Last try: with Let's Encrypt's reason. Let's Encrypt needs two things:

  1. The domain points at this server. Wait for Doctor to say "DOMAIN is ready for a free certificate".
  2. Port 80 is open, also in the cloud provider's firewall: Let's Encrypt checks the domain over it.

Fix what the reason says, then click Get a free certificate again. Until then the site keeps its temporary certificate, and browsers warn. Sites served through a Cloudflare Tunnel don't need one.

An app won't start

Doctor says "App not running" with the site's name, and the app's card says Stopped after errors or Not running.

  1. Open the site and click Log on its app card. A missing package or a wrong start command are the usual causes.
  2. Check the Start command, and that a website listens on 127.0.0.1 and the port in PORT (see Listen on the right port).
  3. Check its Settings: a missing password or token stops many apps.
  4. Fix it, then click Restart.
  • Never deployed? Its code isn't there yet: deploy from Git, or upload it over SFTP and click Restart.
  • Just switched a Python site's version? Its environment was made again: deploy again to put its packages back.
  • A new Ruby version is built the first time a site needs it, which takes 5 to 15 minutes.
  • A deploy whose new version won't start goes back to the release that worked. The deploy card shows Last deploy failed with the error.

The server is low on memory

Doctor says "Memory is nearly used up" when less than a tenth is free.

  • Remove packages you don't use, on Packages, or move to a server with more memory. Each package card shows its measured memory.
  • Apps from the catalogue need the most. Removing one you don't use frees its memory and its disk.
  • "No swap on a small server": the installer adds swap on servers under 2 GB, but on WSL or in containers it may not be possible.
  • The spam filter isn't offered under 1 GB, and the malware scan (ClamAV) under 2 GB. A scan is refused when less than about 1 GB is free.

What things use, measured on test servers:

WhatMemory
MariaDB (it sizes itself to the server)117 to 136 MB
PHP, only while serving visits60 to 96 MB
OpenLiteSpeed55 to 56 MB
The panel and its helper37 MB
Valkey (or Redis)12 to 14 MB
Email (Postfix, Dovecot, OpenDKIM)38 MB idle
Spam filter (Rspamd)99 to 116 MB
Docker, once you add an app145 MB, plus about 15 MB per app

The disk is filling up

Doctor warns when less than a fifth of the disk is free, and again when less than a tenth is: sites and databases fail when the disk fills up. Delete old files, keep fewer backups (each site's Change the schedule), or remove apps you don't use. App installs keep 1 GB free and refuse to go further.

Email doesn't arrive

  • Run Check email sending on Doctor. Many cloud providers block port 25 at first, and the server's address needs a reverse DNS name. See Before you rely on it.
  • Check the domain's DNS records on the Email page with Check DNS. Without the MX record, no mail comes in.
  • Look in the domain's Mail log.

You're banned, or locked out

  • fail2ban banned you after too many wrong passwords: sign in from another network (or your phone's data), or run sudo fail2ban-client unban YOUR-IP on the server.
  • A firewall change cut you off: wait 90 seconds. The old rules come back by themselves.

Updating Project OWN

From the panel:

  1. On the Dashboard, click Check for updates. GitHub is asked only when you click, or once a day if the owner ticks Check once a day.
  2. If there's a new release, it shows what's new and its Release notes.
  3. The owner clicks Update to the new version. Your sites keep running; the panel restarts for a few seconds, and you stay signed in.

Or on the server:

sudo own update

To go to a particular release, name it: sudo own update v0.2.0. Running the installer again also upgrades.

  • The release's signature is checked, then each download against its signed SHA-256 list; the new program must start before it's installed, and the previous one is kept.
  • An update that doesn't work is undone by itself. After the restart, the program the update replaced watches the new one for up to three minutes. If the panel or the helper doesn't come up on it, doesn't answer, or keeps stopping, it puts itself back and starts them again, usually within a minute. The Dashboard then says The update to vX was undone, with why and what the panel and helper last wrote; Doctor lists it, the activity log has it, and an alert goes out if you've set up alerts. Nothing else needs doing: try again when a newer release is out. The program that didn't work is kept as /usr/local/bin/own.failed, and sudo journalctl -t own-update-watch shows what the watcher did.
  • After an update, the panel rewrites every site's web server settings once, so fixes reach existing sites.
  • New versions of catalogue apps arrive with updates; update each app from Apps when you choose.
  • Until version 1.0, only the latest release gets security fixes, so keep up.

The own command

On the server, own does a few things the panel can't do for itself:

sudo own status        # the panel's address and the server's health
sudo own setup-link    # a new one-time setup link, if the first one expired
sudo own desktop-link  # on Project OWN Desktop: a one-time sign-in link
sudo own update        # update to the latest release (or: sudo own update v0.2.0)
sudo own mcp           # the MCP server for an AI assistant, over SSH
own version            # the version

Two services run it: own-panel (the web panel, as the own user) and own-helper (the privileged helper, as root). For debugging, sudo own helper-run ACTION [JSON] runs one helper action directly.

Where things live

PathWhat's there
/usr/local/bin/ownThe program: panel, helper and command line in one
/var/lib/ownThe panel's state (one JSON file), sessions (hashes only) and the activity log
/srv/own/sites/DOMAINEach site's files, owned by its own Linux user
/srv/own/apps/IDEach app's compose file, secrets (root only) and data
/etc/own/ssl/DOMAINCertificates
/var/backups/own/IDEach site's encrypted backups; their keys are in /etc/own/backup-keys (root only)
/var/vmail/DOMAINMail, owned by the vmail user
/var/log/mysql/mariadb-slow.logDatabase queries slower than 2 seconds
/run/ownThe sockets between the panel, the helper and the command line

Everything else is plain OpenLiteSpeed, PHP, MariaDB, Postfix and Dovecot configuration.

Leaving

To remove the panel and keep your sites running:

sudo systemctl disable --now own-panel own-helper
sudo rm /usr/local/bin/own /etc/systemd/system/own-panel.service /etc/systemd/system/own-helper.service /etc/tmpfiles.d/own.conf
sudo rm -r /var/lib/own   # the panel's own state; only once you're sure

Getting help

  • Found a bug? Open an issue on GitHub with what you did, what you expected and what happened. Include your system (for example, Debian 12, amd64) and the output of sudo own status.
  • A security problem? Don't open an issue: report it privately, as Security explains.
  • An idea for a feature? Open an issue first to talk it through.
  • What changed in each release is in the changelog.

Something wrong or unclear on this page? Open an issue on GitHub.