When it breaks
The problems people actually run into, in the order they usually happen. Each one: what you see, why, and what to do.
The first thing to try, always
If the install stopped, run the same line again. It remembers what already worked and carries on from where it stopped. It never asks the same question twice.
During the install
"The name … does not lead anywhere yet"
Why: your address (for example app.example.com) is not connected to your machine yet.
Sign in to the company you bought the address from.
Open its DNS page (sometimes called Zone or DNS records).
Add a record with exactly what the message printed:
Type Name Value Athe word the message shows ( @for the bare address)the numbers the message shows Save.
Wait five minutes.
Run the same line again.
The "Name" box is the usual mistake
For example.com, type @ (some sites want the box left empty). For app.example.com, type only app, not the full address.
"The name … does not lead to this machine"
Why: the address points somewhere else: an old machine, or a parking page from the company that sold it.
- Open the same DNS page.
- Delete every other
Arecord with that name. - Keep only the one with the value the message printed.
- Wait five minutes, then run the same line again.
If you changed it only a few minutes ago, answer yes when the installer offers to wait. It checks every 20 seconds for up to 10 minutes.
"The address https://… is not answering yet"
Why: almost always one of two things.
- You pointed the address at the machine only minutes ago. Wait ten minutes, then run the same line again.
- Your provider has its own firewall in front of the machine, and it is closed.
To open the provider's firewall:
- Open your provider's control panel.
- Find the machine's Firewall or Security settings.
- Allow incoming TCP 80 and TCP 443.
- Run the same line again.
"Something on this machine is already answering on port 80 / 443"
Why: your provider installed a web server on the machine for you. It takes the place OpenTraderWorld needs.
Paste this, then run the same line again:
systemctl disable --now apache2 nginx caddy 2>/dev/null; true"This machine has … MB of memory" or "Only … MB of disk space is free"
Why: the machine is too small. OpenTraderWorld needs about 2 GB of memory and 8 GB of free disk.
- At your provider, resize the machine to a bigger plan.
- Run the same line again.
"This installer only knows Ubuntu and Debian"
Why: the machine was created with another system.
- At your provider, reinstall (or rebuild) the machine with Ubuntu 24.04 or Debian 13.
- Run the same line again.
"This needs the machine's administrator rights"
Why: you are signed in with an account that is not allowed to install software.
Run the line again with sudo in the middle, exactly as the message shows:
curl -fsSL https://get.opentraderworld.com/configure_install.sh | sudo bash -s -- --domain app.example.comAfter the install
The page does not open any more
Sign in to your machine.
Type:
bashotw statusIf it says Nothing is running or is not answering, type:
bashotw restartWait one minute, then reload the page.
I can no longer sign in to the machine itself
Why: the installer tightened how the machine lets people in.
- If you chose the key: sign in from the same computer you used on install day. Passwords are refused on purpose.
- If you chose a password: sign in with the account name shown on your card, not
root. Directrootsign-in is refused on purpose.
Lost that computer or that password? Use the console (sometimes called VNC, rescue or web terminal) in your provider's control panel. It works even when the normal way in is closed.
I forgot the OpenTraderWorld password
Sign in to your machine.
Type (replace
adminwith your login name if you changed it):bashdocker exec -it opentraderworld-core-1 /app/otw-core reset-password adminSign in to the app with the password it prints. The app asks you to choose a new one.
To see your address and login name again, type otw card.
The browser shows "Not secure" or refuses the page
- Type the address with
https://in front. - If it started a few minutes after install, wait ten minutes: the padlock is still being issued.
- On a home install (not a rented server), see Troubleshooting.
The machine is full
Why: nightly backups and downloaded price history take space over time.
- Type
otw statusto see how much space is left. - At your provider, give the machine a bigger disk.
- Type
otw restart.
The otw command
Everything you do on the machine after install day goes through otw.
| Type | What it does |
|---|---|
otw status | Says what is running, whether your address answers, when the last backup was taken and how much disk is left. |
otw restart | Starts everything again. |
otw backup | Takes a backup now and checks it. One is also taken every night between 03:20 and 03:50. See Backup & restore. |
otw restore | Shows the backups on the machine and puts back the one you pick. It saves what is there now first. |
otw update | Updates to the newest version. It takes a backup first, and goes back to the previous version if the new one does not answer. See Updating. |
otw logs | Shows the last 200 lines of what the application did. otw logs 1000 shows more. |
otw card | Shows your address, your login name and the password from install day, which no longer works once you changed it at first sign-in. |
otw report | Writes one file to attach to an issue. It holds no password. |
Installer options
You can give the installer its answers on the line, after --domain. Anything you leave out, it asks. When you run it again, it keeps your earlier answers, and an option you give again wins.
| Option | What it sets |
|---|---|
--domain <name> | The address that already points at the machine. |
--login key or --login password | How you sign in to the machine from now on: with the key you already use, or with a password. |
--user <name> | The everyday account on the machine. Default: the one you signed in with, or otw if you signed in as root. |
--admin-user <name> | Your OpenTraderWorld login name. Default: admin. |
--ssh-key <key> | A public key allowed to sign in. Repeat it for more than one. Default: the keys already trusted. |
--ssh-port <n> | The port the machine is reached on. Default: the one it already uses, else 22. |
--dir <path> | Where it installs. Default: /home/<user>/otw. |
--timezone <zone> | The machine's time zone, for example Europe/Paris. Default: left as it is. |
--swap <size> | Swap file size, for example 2G, or none. Default: 2G on a machine with less than 4 GB of memory. |
--ref <ref> | The version to install: a release tag or a branch. Default: master. |
--repo <owner/name> | The GitHub repository to install from. Default: G-OTW/OpenTraderWorld. |
--yes | Asks nothing, takes every default. |
Still stuck?
Sign in to your machine.
Type:
bashotw reportIt writes one file and prints where it is. The file holds no password.
Open an issue on GitHub, say what you were doing, and attach that file.