PaperroomHosting guide Start here

Paperroom hosting guide

All pages in this guide

Hosting guide

Put Paperroom on a server

With Paperroom on a server, you and the people you invite can open your notes on any phone, tablet or computer, from anywhere. It takes about fifteen minutes. You never edit a file.

A server is a computer in a data centre that is always on and always online. You rent a small one by the month. Then you run a small program, the helper, on your own computer. You answer three questions, and the helper sets up Paperroom on the server for you. It tells you what it is doing, one line at a time.

The server is yours. You rent it, you control it, and your library lives in one folder on it.

What you need

  • The Paperroom download. It is the zip under Start here: Paperroom in your Gumroad receipt or your Gumroad Library, named for its version, such as Paperroom-1.0.0.zip. The helper is inside it. You do not need the separate apps for this.
  • Your own computer: a Mac, a Windows PC or a Linux computer. You run the helper on it.
  • An account at a server provider, a company that rents out servers. Step 1 shows Hetzner, step by step, and says what to choose at any other provider.
  • A web address, if you like. This is the name people type to open Paperroom, such as notes.yourname.com. Your own domain is best. Without one, Paperroom starts on a free automatic address, and you can change it later.

In this guide, notes.example.com stands for your web address and 203.0.113.10 for your server's IPv4 address, the four numbers that find your server on the internet. Use your own each time.

What it costs

  • The server, paid to the provider each month. The size this guide recommends costs a few euros a month at Hetzner. Prices change, so check the price on the provider's page before you buy.
  • A domain, if you want one, paid once a year to the company that sells it. Cloudflare sells domains at cost.
  • Nothing to us. Running Paperroom on a server is part of your purchase.

The steps

  1. 1. Rent a server
  2. 2. Run the helper
  3. 3. Your address
  4. 4. Three questions
  1. Rent a server and copy its IPv4 address.
  2. Run the helper on your computer. It gives you a key, which you paste at your provider.
  3. Choose your web address and point it at the server, or use the automatic one.
  4. Answer three questions. Then open the link the helper gives you and make your account.

Already running a server?

Paperroom can share a server with what you already run, or sit behind the proxy you have. Already running a server? shows how.

Security, in short

  • The helper sets up the server safely. It turns on the firewall, keeps Ubuntu's security updates on, and runs Paperroom as its own user that nobody can sign in with. How your server is kept safe lists everything it does, and the few things that are yours to do.
  • Open the setup link straight away. The helper's last lines are a link with a setup code in it. Until the first account exists, setup needs that code, so a stranger who finds the address cannot make the account first.
  • Only the people you invite get in. There is no public sign-up page. You invite each person from Settings.
  • Use a strong password. Paperroom asks for at least 10 characters. A short sentence is better.
  • Nothing is sent to us except the update check: your licence key, this version and this server's kind, once a day. Turn it off in Settings. The helper on your computer talks only to your own server.
  • Your library is not encrypted on the server's disk. Anyone who can sign in to the server, or who has a backup, can read it. Keep backups somewhere private.
  1. 1. Rent a server
  2. 2. Run the helper
  3. 3. Your address
  4. 4. Three questions

Hosting guide · Step 1 of 4

Rent a server

This page rents a server at Hetzner, one small action at a time, with a picture of each screen in the Hetzner Console. Any other provider works too, if its server meets the needs below.

You will create the server on one long page at Hetzner. Halfway down, it asks for an SSH key. That key comes from the helper in step 2, so you will pause there, get the key, and come back.

What size of server

Servers are sold by size: how many processors (vCPUs) they have, how much memory (RAM), and how much storage (disk). Paperroom is small, so a small server is enough for a household or a small team of up to 10 people.

Processors (vCPU)Memory (RAM)Storage (disk)
The least that works11 GB10 GB
What we recommend, for up to 10 people22 GB or more40 GB

At Hetzner, choose CX23, in the Cost-Optimized group. It has 2 vCPUs, 4 GB of memory and 40 GB of disk, which is more than the recommendation, and it is the smallest server Hetzner sells. CAX11 is the same size with an Arm processor, and works just as well.

Rent a server at Hetzner

  1. Make a Hetzner account

    Go to hetzner.com, open Cloud and sign up. Hetzner asks for your name, address and a payment method. It may check your details before you can create a server, which can take a little while.

  2. Open a project

    Sign in to the Hetzner Console. A project is a folder for your servers. Open the one Hetzner made for you, or make a new one with any name, such as Paperroom.

    The Hetzner Console's list of projects, with one project, Default, to open.
    Open a project.
  3. Start a new server

    In the project, open Servers on the left and press Add Server. A long page called Create a server opens. You fill it in from top to bottom.

    A Hetzner project's Servers page, with the Add Server button.
    Press Add Server.
  4. Choose the type: Cost-Optimized, CX23

    Hetzner sorts its servers into three groups. The first two are under Shared Resources, the third under Dedicated Resources:

    • Cost-Optimized: the cheapest. Choose this one. Hetzner marks it Limited availability.
    • Regular Performance: faster and dearer. Choose its smallest type only if Cost-Optimized is not offered where you are.
    • General Purpose: for heavy work. Paperroom does not need it.

    Under Cost-Optimized you choose the kind of processor: x86 (Intel/AMD) or Arm64. Both work. Choose CX23 under x86, or CAX11 under Arm64. Each has 2 vCPUs, 4 GB of memory and 40 GB of disk. The helper sees which kind you chose and copies the matching Paperroom: the linux-amd64 one for Intel or AMD, the linux-arm64 one for Arm.

    Hetzner's Type section, with Cost-Optimized and x86 chosen, and CX23 ticked: 2 vCPUs, 4 GB of memory, 40 GB of disk.
    Cost-Optimized, then CX23.
  5. Choose the location nearest you

    The location is the city where your server stands. Choose the one nearest to you and the people you will invite, so Paperroom feels quick. Hetzner has servers in Germany (Falkenstein and Nuremberg), Finland (Helsinki), the United States (Ashburn and Hillsboro) and Singapore.

    Not every type is sold in every location. Cost-Optimized servers are in Germany and Finland only, and not always in all three cities at once. A location with none left is greyed out, and pointing at it says no servers of that kind are available there. Choose another of them, or the other processor kind. If you are far from Europe, choose a location near you and the smallest Regular Performance type instead.

    Hetzner's Location section, with Helsinki chosen and the locations without Cost-Optimized servers greyed out.
    Choose the location nearest you.
  6. Choose the image: Ubuntu 24.04

    The image is the system the server starts with. Choose Ubuntu, version 24.04. The helper needs exactly this one. Hetzner may show a newer version first, so open the version list under Ubuntu and choose 24.04.

    Hetzner's Image section, with Ubuntu 24.04 chosen.
    Ubuntu 24.04.
  7. Keep Public IPv4 ticked

    Under Networking, leave Public IPv4 ticked. An IPv4 address is the server's number on the internet, and your web address needs it. Hetzner charges a little extra for it each month. Leave the other choices here as they are.

    Hetzner's Networking section, with Public IPv4 and Public IPv6 ticked.
    Public IPv4 stays ticked.
  8. Add the helper's SSH key

    An SSH key is how your computer proves who it is when it signs in to the server. It replaces a password. The helper makes the key for you.

    1. Leave this Hetzner page open.
    2. Follow step 2 until the helper shows a line that starts with ssh-ed25519. Copy that whole line.
    3. Come back here. Under SSH keys, press Add SSH key and paste the line. Hetzner fills in the name from the end of the line; you can change it to paperroom. Then press Add SSH key.
    4. Make sure the new key is ticked.
    Hetzner's Add an SSH key box, with an example key line pasted in and the name paperroom.
    Paste the whole line, from ssh-ed25519 to the end.

    With a key added, Hetzner sends no password for the server by email. That is expected.

  9. Leave the rest as it is

    Next come Volumes, Firewalls, Backups, Placement groups, Labels and Cloud config. Paperroom needs none of them. Leave them all empty.

    • Volumes are extra disks. The server's own disk is enough.
    • Firewalls here are Hetzner's own. The helper turns on the firewall inside the server. If you add a Hetzner firewall anyway, it must allow ports 22, 80 and 443.
    • Backups are copies of the whole server, made by Hetzner every day. They cost extra, 20% of the server's price. Paperroom has its own backup in Settings, which is enough for most people: Backups says how. Turn them on if you want both.
    • Placement groups, Labels and Cloud config are for people who run many servers.
    Hetzner's Volumes, Firewalls, Backups, Placement groups, Labels and Cloud config sections, all left empty.
    Leave these empty.
  10. Name the server

    Under Name, type any name you like, such as paperroom. Only you see it.

    Hetzner's Name section, with the server name paperroom typed in.
    Any name works.
  11. Create the server

    Check the price in the summary on the right, then press Create & Buy now. The server is ready in about a minute.

    The summary on the right of Hetzner's page, with the monthly price and the Create & Buy now button.
    Create & Buy now.
  12. Copy the IPv4 address

    Open the new server. Just under its name, at the top, you see two addresses. Copy the IPv4 one, the first: four numbers with dots between them, such as 203.0.113.10. The other is the IPv6 one, long, with letters and colons, such as 2001:db8::/64. You do not need it.

    The new server's page at Hetzner, with the IPv4 address 203.0.113.10 just under the server's name.
    The IPv4 address: four numbers with dots.

Keep the IPv4 address handy

You need it in steps 3 and 4.

Using another provider

This guide shows Hetzner, but any provider works if its server meets these needs. The steps are the same everywhere; only the buttons have different names. Providers may call a server a VPS, a droplet, an instance or a cloud server.

  • System: Ubuntu 24.04. If there are several, choose the plain one, without apps or a control panel.
  • Size: at least 1 vCPU, 1 GB of memory and 10 GB of disk; 2 vCPUs, 2 GB and 40 GB for up to 10 people, as What size of server says.
  • Processor: x86 (Intel or AMD) or Arm. Both work.
  • A public IPv4 address. Some providers make it an option to tick.
  • Your SSH key pasted into the provider's SSH key box when you create the server. The helper signs in as root, the server's main account, with it.
  • Ports 22, 80 and 443 open, if the provider has its own firewall in its dashboard.
  1. 1. Rent a server
  2. 2. Run the helper
  3. 3. Your address
  4. 4. Three questions

Hosting guide · Step 2 of 4

Run the helper

The helper is a small program that comes in your Paperroom download. You run it on your own computer, and it sets up Paperroom on your server for you.

The helper signs in to your server over SSH, a secure way for one computer to sign in to another. It copies Paperroom there, sets it up and starts it. It never asks for or keeps a password.

Which tab to choose

Unzip the Paperroom download somewhere easy to find, such as your Downloads folder. Inside is one folder for each kind of computer: mac-apple-silicon, mac-intel, windows, linux-amd64 and linux-arm64.

  • The tabs below are for the computer you are sitting at, not for the server. Choose Mac, Windows or Linux.
  • Your server runs Ubuntu, which is a kind of Linux. So the helper copies the Linux version of Paperroom to the server, from the linux-amd64 or linux-arm64 folder of the same download. It finds that folder by itself.
  • So keep the unzipped folder as it is. Do not move the folders out of it, or the helper cannot find the Linux version.

Run the helper; do not double-click Paperroom

Double-clicking Paperroom starts Paperroom on this computer, not on the server, and opens a page in your browser to set it up. For a server, close that page and follow the steps below instead.

A library you set up on this computer is not copied to the server by the helper. If you already made one and want to keep it, set up the server first and do not make an account there; then move your library with Move my notes to the server, as Moving from your computer to a server shows. If you make an account on the server first, the move refuses, unless you delete the server's library first.

Mac

  1. Open Terminal in the right folder

    Terminal is the Mac's window for typing commands. In Finder, open the unzipped Paperroom folder. Hold Control and click the mac-apple-silicon folder (mac-intel on a Mac with an Intel processor). Choose New Terminal at Folder. On some Macs it is under Services.

    Click the folder, not the Paperroom file inside it.

  2. Paste the command

    Paste this one line into Terminal, then press Return

    ./Paperroom put-on-server

    If the helper starts, go on to The key below.

  3. The first time: click Done

    The first time, your Mac may stop Paperroom with a message: Apple could not verify "Paperroom" is free of malware, with two buttons, Move to Trash and Done. Click Done.

    This happens because Paperroom is not yet signed with Apple. Apple can check only programs from makers who register with it and send it each version. Paperroom has not been through that yet, so your Mac cannot check who made it, and warns you.

  4. Allow it in System Settings

    Open the Apple menu, then System Settings, then Privacy & Security. Scroll down to Security. You see a line saying Paperroom was blocked. Click Open Anyway, then enter your Mac password or use Touch ID.

    The Open Anyway button only appears after you click Done in the message before, and only for about an hour. If you do not see it, paste the command in Terminal again, click Done, and look again.

  5. Paste the command again

    Go back to Terminal, paste the same line again and press Return. If your Mac asks once more, click Open. You only do this once.

Windows

  1. Open PowerShell in the right folder

    PowerShell is the Windows window for typing commands. Open the unzipped Paperroom folder, then the windows folder inside it. Click the address bar at the top of the window, type powershell and press Enter.

  2. Paste the command

    Paste this one line into PowerShell, then press Enter

    .\Paperroom.exe put-on-server

    If a blue box says Windows protected your PC, click More info, then Run anyway, and paste the line again. It appears because Paperroom is not yet signed with Microsoft.

Linux

  1. Open a terminal in the right folder

    Open a terminal in the linux-amd64 folder of the unzipped download (linux-arm64 on a computer with an Arm processor).

    A terminal opened in the linux-amd64 folder of the download, where ls lists the paperroom file.
    A terminal in the linux-amd64 folder.
  2. Paste the command

    Paste this one line, then press Enter

    ./paperroom put-on-server

    If it says Permission denied, run chmod +x paperroom once, then the line again.

The key

The helper starts by making a key for your server and showing it on one line. It looks like this, with your own key in place of the example:

The helper says

put-on-server sets up Paperroom on your own server. It runs here, on this computer, and works on the server over SSH, a secure way for one computer to sign in to another. The server must run Ubuntu 24.04.

This is the key that lets this computer sign in to your server:

  ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExampleOnlyNotARealKey0000000000000000 paperroom-put-on-server

When you create the server, paste that whole line into your provider's "SSH key" box. Then your provider sends no password for the server, because this helper signs in with the key instead.

The key is saved on this computer, in /Users/you/Library/Application Support/Paperroom/server. Keep that folder private. Keep a copy of the key in your password manager too; the hosting guide shows how.

If you have not created the server yet, do that now. You can leave this window open and come back to it when the server is ready.
The helper's first lines in Terminal on a Mac: what it does, the key line with an example key, where the key is saved, and the first question.
The key is the line that starts with ssh-ed25519.
  1. Select the whole line, from ssh-ed25519 to paperroom-put-on-server at the end, and copy it.
  2. Go back to the Hetzner page and add the key. Then finish creating the server and copy its IPv4 address.
  3. Leave the helper's window open. It is waiting for the server's address, which you give it in step 4.

Your server key

The key is a pair of matching files. The public half is the line you pasted at your provider; the server keeps it. The private half stays on your computer, in the helper's server folder. When the two halves match, the server lets your computer in. It works like a password that nobody can guess.

  • What it is for. The helper uses it to set up the server, to update it if you run the helper again, and to move a library from your computer. You use it to sign in to the server yourself, for example to restore a backup.
  • Everyday use does not need it. Paperroom keeps running without it. Updates install from Paperroom's Settings › Updates, and the address changes from Settings › Library; neither uses the key.
  • It is the only way to sign in to the server over SSH. When you create a server with a key, the provider sets no password for it, and the helper never sets one. In an emergency, Hetzner and most providers also offer a console in their dashboard, a window onto the server in your browser, with a button to set a new password for it.

The folder is in Paperroom's data folder on this computer:

ComputerThe helper's folder
Mac~/Library/Application Support/Paperroom/server
Windows%AppData%\Paperroom\server
Linux~/.local/share/paperroom/server

It holds the key (id_ed25519 and id_ed25519.pub), your three answers (server.json) and the server's identity (known_hosts). Keep the folder private: anyone with the id_ed25519 file can sign in to your server.

Keep a copy in your password manager

If this computer breaks or is lost, the key goes with it. Keep a copy in a password manager, such as 1Password, Bitwarden or Apple Passwords.

  1. Open the helper's folder. On a Mac, in Finder, choose Go, then Go to Folder, and paste ~/Library/Application Support/Paperroom/server. On Windows, paste %AppData%\Paperroom\server into File Explorer's address bar.
  2. Open id_ed25519 (the one without .pub) in a plain text editor: TextEdit on a Mac, Notepad on Windows.
  3. Copy all of its text, from the first line, which starts with -----BEGIN, to the last line, which starts with -----END.
  4. In your password manager, make a new secure note named Paperroom server key. Paste the text, and add your server's IPv4 address. Save it, and close the text editor without changing the file.

If the key is lost

Paperroom keeps running, and Settings still installs updates. What you lose is the helper's way in, and your own.

  • With your copy: on the new computer, make the helper's folder, save the text from your password manager into it as a file named id_ed25519, with no ending such as .txt, and run the helper. It asks the three questions again and signs in with the old key. On a Mac, this line does it: paste it into Terminal, but do not press Return yet. Then copy the key's text from your password manager, go back to Terminal and press Return.

On a Mac: paste, copy the key's text, then press Return

mkdir -p ~/Library/Application\ Support/Paperroom/server && pbpaste > ~/Library/Application\ Support/Paperroom/server/id_ed25519 && chmod 600 ~/Library/Application\ Support/Paperroom/server/id_ed25519
  • Without a copy: the helper makes a new key, which the server does not know yet. Open your provider's console for the server, set a new password there, sign in with it, and add the new key's line to the file /root/.ssh/authorized_keys. Or, on a server you have just made, create the server again with the new key.
  1. 1. Rent a server
  2. 2. Run the helper
  3. 3. Your address
  4. 4. Three questions

Hosting guide · Step 3 of 4

Your web address

This is the address everyone types to open Paperroom, such as notes.yourname.com. Your own domain is best. Without one, you can start on a free automatic address and switch later.

A domain is a name you rent on the internet, such as yourname.com, usually by the year. You can make many addresses from it, such as notes.yourname.com. To make an address lead to your server, you add a record in the domain's DNS, the internet's address book, that says which IPv4 address the name belongs to. That record is called an A record.

Recommended: a domain at Cloudflare

Cloudflare sells domains at cost and has a simple page for the one record Paperroom needs. If you already have a domain somewhere else, add the same record in its DNS settings.

  1. Buy a domain. Sign in to Cloudflare, or make a free account. Open Domains, then Registrations, press Buy domain, and buy the name you want.
  2. Add one A record. Open the domain, then DNS, then Records, and press Add record. Fill it in as in the table below, with your server's IPv4 address.
  3. Set it to DNS only. Under Proxy status, turn the switch off, so the orange cloud turns grey and says DNS only. Then press Save.
TypeNameIPv4 addressProxy status
Anotes, which makes your address notes.yourname.comYour server's address, such as 203.0.113.10DNS only, the grey cloud
Cloudflare's DNS records page for example.com, with Records chosen under DNS and the Add record button.
In your domain's DNS page, open Records and press Add record.
Cloudflare's Add record box: type A, name notes, IPv4 address 203.0.113.10, and Proxy status switched off to DNS only.
Type A, name notes, your IPv4 address, and the grey cloud.

Why DNS only, the grey cloud

Your server gets its own certificate for your address, and the secure connection must reach your server directly. With the orange cloud, Cloudflare would stand in the middle and could read your notes on the way. The helper checks this and stops if the cloud is orange.

Add only this A record. An AAAA record, which is for IPv6, with another address can stop the certificate from working. The record usually works within a few minutes. The helper checks it before it changes anything, so you can go on to step 4 straight away.

No domain yet?

When the helper asks for your web address, press Enter. It then uses a free automatic address made from your server's IPv4 address, such as paperroom-203-0-113-10.sslip.io. It needs no record at all. sslip.io is a free public service that leads every such name to the address written in it.

  • It is for getting started. It is long, it changes if you ever move to another server, and it depends on a service that neither you nor we run.
  • Its certificates are shared. Let's Encrypt, the free service that gives the certificate, gives only a certain number each week under one domain, and everyone using sslip.io shares that number. If it has run out, your certificate may have to wait. Giving an email in step 4 lets the server ask ZeroSSL, a second free service, instead. Your own domain avoids the question.
  • You can switch any time. Change the address later shows how, from Settings.
  1. 1. Rent a server
  2. 2. Run the helper
  3. 3. Your address
  4. 4. Three questions

Hosting guide · Step 4 of 4

Answer three questions

Go back to the helper's window and answer three questions. Then the helper sets up the server by itself and says what it is doing, one line at a time. It takes a few minutes.

  1. The IPv4 address you copied at the end of step 1, such as 203.0.113.10.
  2. The web address from step 3, such as notes.yourname.com. Or press Enter for the automatic one.
  3. An email address, if you like. Your server needs a certificate: it is what lets browsers open your address safely, with https and the lock sign. The server gets one free from Let's Encrypt and renews it by itself. The email is sent only to the certificate services, and lets the server ask a second service, ZeroSSL, when Let's Encrypt cannot give one. Press Enter to skip it.

The helper asks

Your server's IPv4 address, four numbers with dots such as 203.0.113.10, from the server's page at your provider: 203.0.113.10

Your web address, such as notes.yourname.com. Or press Enter to use paperroom-203-0-113-10.sslip.io, which works without a domain: notes.example.com

Your server gets a free certificate for https from Let's Encrypt and renews it by itself. An email address is optional: it is sent only to the certificate services, and lets the server ask ZeroSSL when Let's Encrypt cannot give a certificate.
An email address for the certificate services (optional, press Enter to skip): 
No email address given.
The helper's window with the three questions answered: the example address 203.0.113.10, notes.example.com and no email, then its first steps.
The three questions, answered.

Then it says, one line at a time

Your answers are saved, so the next run asks nothing.

Checking that notes.example.com points at 203.0.113.10.
Connecting to the server at 203.0.113.10.
Looking at what is on the server.
Paperroom is not on this server yet, so this run installs it.
Your server runs Linux, so the helper copies the Linux version from your download: /Users/you/Downloads/Paperroom-1.0.0/linux-amd64/paperroom
Creating a user account on the server, paperroom, that only runs Paperroom. Nobody can sign in to the server with it.
Making the folder that keeps your library. Only Paperroom can read it.
Copying Paperroom to the server.
Setting Paperroom to start by itself, also after the server restarts.
Adding what lets Paperroom install updates and change its address from Settings.
Turning on the firewall. It blocks every connection except SSH on port 22 and the web on ports 80 and 443.
Adding the official download source for Caddy and checking that it is genuine. Caddy is the program that answers web visits to this server.
Installing Caddy. It gets and renews the certificate for your web address.
Writing Caddy's settings and adding Paperroom's address to them.
Starting Caddy.
Starting Paperroom.
Waiting for https://notes.example.com to answer. The first time, Caddy asks for the certificate, which can take a minute.

Paperroom is running at https://notes.example.com
Open this link in a browser to set up Paperroom and make your account. It stops working once the library is set up.

  https://notes.example.com/setup?code=k7m2p9qa

Later updates install from Paperroom itself: open Settings, then Updates, and save your licence key there once. Running put-on-server again with a new download also works.
The helper's last lines: Caddy and Paperroom started, Paperroom running at https://notes.example.com, and a made-up setup link.
The last lines: your address and the setup link.

What the lines mean, in short: the helper copies Paperroom to the server and sets it to start by itself. It turns on the firewall. It installs Caddy, a well-known free program that answers web visits, gets the certificate for your address and passes each visit to Paperroom. The SSH port is the door the helper itself uses; ports 80 and 443 are the doors for the web.

On a server where something is already set up, a line can differ: the firewall and the automatic security updates follow what the server already has. Already running a server? lists each case.

Then

  1. Open the setup link. If your computer has a screen, the helper opens it for you. The first page asks for a name for your library and makes your own account, the owner's. Do it straight away, before you share the address.
  2. Paste your licence key from your Gumroad receipt into the optional field, or later in Settings › Updates. Updates says what it is for.
  3. Invite people from Settings › People. Each invite link works once.
  4. On your phone, open the address in the browser and add it to the home screen. On Android you can instead install the Paperroom app and type the address once.

If you tried Paperroom on your own computer first and want those notes on the server, do not make an account yet: read Moving from your computer to a server.

If the helper stops, it says why in plain sentences and what to do next. If something stops lists them.

How your server is kept safe

A server on the internet is visited by strangers' programs all day, looking for a way in. Here is what is already done for you, and the few things that are yours to do.

Done for you by the helper

  • A firewall. On a new server, the helper turns on Ubuntu's firewall. It blocks every connection from the internet except three doors: SSH, for signing in with your key, and ports 80 and 443, for the web.
  • Sign-in with a key, not a password. The helper signs in only with your key. It never sets, asks for or keeps a password. When you create the server with a key, your provider sets no password for it either.
  • Security updates for Ubuntu, every day. Ubuntu 24.04 installs its own security updates every day. The helper keeps that switched on, or switches it on if it was off. Caddy is updated the same way.
  • Paperroom runs on its own, with little power. It runs as its own user account, paperroom, which nobody can sign in with. It can write only in its own folder, and it listens only inside the server. Only Caddy faces the internet.
  • A secure connection. Caddy gets the certificate for your address and renews it, so every visit is encrypted with https.
  • Checked updates. Before Paperroom installs an update, it checks that Origa Labs signed it and that the file is whole. It takes a backup copy of your library first, and goes back to the old version if the new one does not start.

Yours to do

  • Keep the key safe. Keep the helper's folder private, and a copy of the key in your password manager, as Keep a copy in your password manager shows.
  • Protect your provider account. Whoever can sign in to your account at the provider can control the server and read what is on it. Use a strong password there and turn on two-step sign-in, where the provider also asks for a code from your phone. At Hetzner, open the person icon at the top right, then 2FA settings.
  • Keep backups. Download a backup from Paperroom's Settings now and then, and keep it somewhere private. Backups shows how.
  • Restart the server now and then. Some Ubuntu updates, to the core of the system, only take effect after a restart. Restart the server from your provider's page about once a month. Paperroom and Caddy start again by themselves.
  • Open nothing else. Only add programs or open ports on the server if you know why you need them.

Hosting guide

Change the address later

Move from the automatic address to your own domain, or from one domain to another, whenever you like. Your notes, people and passwords stay as they are.

There are two ways. On a server the helper set up, Settings does it for you. Anywhere else, run the helper again from your computer.

In Settings

Only the library's owner can do this. You need your password.

  1. Open Settings › Library. Under Where Paperroom lives, press Change the address and type your password.
  2. Type the new address, such as notes.yourname.com, and press Continue.
  3. Add the record it shows where you bought the domain, then press I added it. It is one A record, like the one below. At Cloudflare, make sure the cloud is grey and says DNS only.
  4. Wait for it to point here. Paperroom checks every half minute and says where the address points meanwhile. This usually takes a few minutes, and you can close Settings in the meantime. If the address does not point at the server within a day, nothing is changed.
  5. Paperroom sets it up. Once the address points here, the server gets a certificate for it and restarts Paperroom, which takes a minute or two. If the certificate does not come, the old address stays and nothing is changed.
  6. Done. Press Done and Paperroom opens at the new address, where everyone signs in again.
TypeNameValueProxy status
Anotes.yourname.com203.0.113.10DNS only
Where Paperroom lives in Settings, Library: running on your server at 203.0.113.10, its address with a code to scan, HTTPS, and the Change the address button.
Change the address, under Where Paperroom lives.

Settings shows the whole name in the Name column. Most providers accept it; some want only the part before your domain, such as notes, and say so.

  • The old address keeps working too, until the address changes again, so bookmarks, invite links and the apps do not break at once. Send people the new address.
  • Assistants you connected before the change need connecting again from the new address.
  • Change the address appears on a server the helper set up. Where Paperroom runs in Docker or behind your own proxy, Settings shows a sentence pointing here instead. With your own proxy, change the name in the proxy's settings and in Paperroom's --public-url. In Docker, set the new address in compose.yaml and start it again, as the Docker route shows.

With the helper

Do this from the computer you first ran the helper on, because it holds the helper's key and your answers.

  1. Point the new address at your server, as in step 3, with DNS only.
  2. Run the helper again with --ask at the end, from the same folder as in step 2. Give the same server address and the new web address.
  3. The helper sees Paperroom is already there, takes a backup copy of your library, writes the new address into Paperroom's settings and into Caddy's, starts Paperroom and waits for the new address to answer with its certificate.

On a Mac, from the same folder

./Paperroom put-on-server --ask

On Windows the line is .\Paperroom.exe put-on-server --ask, and on Linux ./paperroom put-on-server --ask. A run with --ask sets the address you type and keeps only that one; the old address stops working.

If you changed the address in Settings, the helper's next run without --ask notices and keeps it, and says so:

The helper says

The address on the server is notes.yourname.com, changed from Settings, so the helper keeps it.

Hosting guide

Updates

Updates to Paperroom 1.x are part of your purchase. With your licence key saved, Paperroom finds new versions by itself. On a server the helper set up, it installs one when you press Install and restart, or by itself if you turn that on. You do not need the helper for this.

Phones, tablets and the apps need nothing: they show the server's own pages, so everyone gets the new version the next time they open Paperroom.

Your licence key

  1. Open Settings › Updates. Only the library's owner sees it.
  2. Paste the licence key from your Gumroad receipt or your Gumroad Library into Licence key and press Save. You can also paste it on the setup page, where it is optional.

Paperroom asks the update service whether the key is right before it keeps it. After that, it shows only the last four characters. The key is never put in a web address, a log or a backup, and it does not leave the server with your notes when you move them. Paperroom works fully without it; you only need it for updates.

The daily check

Check for updates once a day is on once a key is saved. When a new version is out, a dot appears on Settings, for the owner only, and Updates shows what is new. Press Check now to ask at any time.

What the update check sends

Nothing is sent to us except the update check: your licence key, this version and this server's kind, once a day. Saving the key and pressing Check now ask the same way. With the switch off, Paperroom asks only when you press a button. Every update is signed by Origa Labs, and Paperroom checks the signature, the version and the file before it installs anything.

Install updates automatically

Under the daily check is a second switch, Install updates automatically. It is off until you turn it on, and appears only where Paperroom can replace its own program: on a server the helper set up, and on your own computer.

When it is on, Paperroom installs a new version by itself between 4 and 5 in the morning, the server's time, and restarts, with the same backup and the same way back as when you press Install and restart. Anyone writing then reconnects on their own. A version that fails to install this way is not tried again by itself; Updates says what happened, and you can still install it by hand.

What Install does where Paperroom runs

WhereWhat happens
A server the helper set upPress Install and restart. The server checks the update again, stops Paperroom for a moment, takes a backup copy of your library to /var/backups, puts the new version in place, keeping the old one as /usr/local/bin/paperroom.previous, and starts it. If the new version does not answer, the server puts the old version back with your library as it was before. Once the new version answers, the server keeps the newest three of these backups and removes older ones.
Your own computerPress Install and restart. Paperroom keeps a copy of the library, puts the new version beside it and restarts. If the new version does not start, the old one comes back with the library as it was.
DockerUpdates shows what is new, with no Install button: a container does not replace its own program. Rebuild the image with the new download, as In Docker shows.
Installed some other wayUpdates shows what is new, with no Install button, because Paperroom cannot replace its own program there. Run the helper again with the new download, or replace the program by hand, as below.

In Docker

Download the new Paperroom zip from your Gumroad Library. Put its files in the same folder on the server as before, replacing the old ones, so Docker keeps using the same volume for your library. Keep any changes you made to compose.yaml. Then rebuild and start it:

On the server, in that folder

docker compose up -d --build

With the helper

Unzip the new Paperroom download and run put-on-server from your folder in it, on the same computer as before, as in step 2. It asks nothing this time, takes a backup copy of your library, copies the new version, starts it, and puts the old one back if the new one does not answer. Once the new version answers, it keeps the newest three of these backups and removes older ones. On a server it set up before Paperroom could update from Settings, this run also adds what that needs.

It ends with

Paperroom is already on this server, so this run updates it and keeps your library.
...
Your library, settings and sign-in are as they were.

By hand

On your computer, from the new download's linux-amd64 folder

scp paperroom root@203.0.113.10:/usr/local/bin/paperroom.new

Then on the server

systemctl stop paperroom
mkdir -p /var/backups
tar -czf /var/backups/paperroom-before-update.tar.gz -C /var/lib paperroom
cp -p /usr/local/bin/paperroom /usr/local/bin/paperroom.previous
mv /usr/local/bin/paperroom.new /usr/local/bin/paperroom
chmod 755 /usr/local/bin/paperroom
systemctl start paperroom
paperroom version

If an update will not start

paperroom.previous is the way back. A new version may have changed the library, and an older Paperroom refuses a library a newer one opened, so put the backup back too: Backups shows how. Then run systemctl stop paperroom, mv /usr/local/bin/paperroom.previous /usr/local/bin/paperroom and systemctl start paperroom.

Hosting guide

Moving from your computer to a server

If you tried Paperroom on your own computer first, you can move the whole library to a server: every note, drawing, file and person. There is nothing to export or import.

  1. Set up the server from the same computer. Follow steps 1 to 4 on the computer that holds your library. When the helper prints the setup link, stop there: do not make an account on the server, because the move brings yours.
  2. Press Move my notes to the server. In Paperroom on your computer, open Settings › Library. Under Where Paperroom lives, your server now shows as ready. Press Move my notes to the server and type your password.
  3. Wait for it to finish. Paperroom shows each step as it goes.
  4. Sign in on the server. Open the server's address on any device and sign in with the same email and password. Everyone else signs in there with their own.
Where Paperroom lives in Settings, Library on the computer: running on this computer, your server is ready at 203.0.113.10, and the Move my notes to the server button.
Move my notes to the server, under Where Paperroom lives.

What the move says, step by step

Making a copy of your library.
Connecting to your server at 203.0.113.10.
Copying 12 of 40 files.
Stopping Paperroom on the server for a moment.
Putting your notes in place.
Starting Paperroom on the server.
Waiting for https://notes.example.com to answer.
  • The copy on your computer stays as it was. Afterwards its Settings say where your notes moved, and nothing you write there reaches the server. Use the server from now on.
  • Tell people the new address. On the phone, add Paperroom to the home screen again from the server's address, or type it into the app.
  • Assistants connected to the copy on your computer need connecting again to the server.
  • If something fails part way, the server's library is put back as it was and Paperroom is started again there, and your computer's copy is not touched.

If the server already has a library, the move stops with this sentence, and nothing changes:

The move says

The server at 203.0.113.10 already has a library that someone set up. Move your notes to a fresh server, or delete that library first from its Settings.

If you started Paperroom with your own --data folder, give the helper the same one: ./Paperroom put-on-server --data and the folder.

Hosting guide

Backups

Everything Paperroom keeps is in one data folder. A backup is a copy of your notes database and your files from it.

From Paperroom

Open Settings › Backup and export and press Download backup. You get one zip, paperroom-backup- and the date, with your notes database, every file and drawing, and a README.txt that says how to restore it. Only the library's owner can download one, and it holds every note on the server, private ones included, so it can restore everything. Do it before big changes, and now and then.

The backup is not encrypted. Keep it somewhere private. Downloads do not work in the Paperroom phone apps yet: open Paperroom in a browser to download a backup.

Restore a backup

The README.txt in every backup says it in four sentences:

To restore this backup

Stop Paperroom. Replace paperroom.db and the files folder in its data folder with the ones in this zip, and delete paperroom.db-wal and paperroom.db-shm if they are beside it. Start Paperroom again. Everyone signs in with the same accounts and passwords.

The -wal and -shm files hold changes the old database had not finished writing. Left beside the restored database, they would be applied to it, so they must go.

On a server

Copy the zip to the server, such as with scp paperroom-backup-2026-11-11.zip root@203.0.113.10:/root/, sign in, and run these lines. The old database and files are moved aside to /root/before-restore, the -wal and -shm files with them, rather than deleted.

On the server, with the name of your zip

systemctl stop paperroom
mkdir /root/before-restore
mv /var/lib/paperroom/paperroom.db* /var/lib/paperroom/files /root/before-restore/
apt install -y unzip
unzip /root/paperroom-backup-2026-11-11.zip 'paperroom.db' 'files/*' -d /var/lib/paperroom
chown -R paperroom:paperroom /var/lib/paperroom
chmod -R go= /var/lib/paperroom
systemctl start paperroom

The server also keeps a backup of the whole data folder each time it installs an update, in /var/backups, named paperroom- and the date and time. It keeps the newest three: once an update has started and answered, older ones are removed. A failed update removes none, and your own copies, such as the nightly ones below, are never removed. To go back to one of those:

On the server, with the name of the archive you want

systemctl stop paperroom
mv /var/lib/paperroom /var/lib/paperroom.old
tar -xzf /var/backups/paperroom-2026-11-11-031500.tar.gz -C /var/lib
systemctl start paperroom

When everything looks right, you can delete /root/before-restore or /var/lib/paperroom.old.

On your computer

  1. Stop Paperroom: press Ctrl+C in its window.
  2. Open its data folder: ~/Library/Application Support/Paperroom on a Mac, %AppData%\Paperroom on Windows, ~/.local/share/paperroom on Linux.
  3. Move paperroom.db and the files folder somewhere else, with paperroom.db-wal and paperroom.db-shm if they are there.
  4. Unzip the backup and put its paperroom.db and files folder in their place.
  5. Start Paperroom again.

In Docker

Stop it with docker compose stop in its folder. Your library is in the volume that compose.yaml names; docker volume inspect with the volume's name shows where it is on the server, as Mountpoint. Do the same as on a server in that folder, with chown -R 10001:10001 in place of the chown line, then docker compose start.

A nightly backup on the server

A backup on the same server is lost if the server is lost, so download one from Settings now and then, or turn on your provider's own backups if it offers them. If you also want a copy on the server every night, this stops Paperroom for a moment so the copy is clean, saves a dated archive, starts it again and keeps two weeks. Open a new file with nano /etc/cron.d/paperroom-backup, paste these lines, then save with Ctrl+O and Enter and leave with Ctrl+X:

/etc/cron.d/paperroom-backup

# Back up Paperroom every night at 03:15 and keep 14 days.
15 3 * * * root systemctl stop paperroom && (umask 077; tar -czf /var/backups/paperroom-nightly-$(date +\%F).tar.gz -C /var/lib paperroom); systemctl start paperroom; find /var/backups -name 'paperroom-nightly-*.tar.gz' -mtime +14 -delete

Hosting guide

Already running a server?

The helper looks before it touches anything. It puts Paperroom next to what you already run, never takes the web ports from another program, and stops without changing a thing when it should.

What the helper reads first

  • The processor type, to pick the right Linux version.
  • Which port SSH answers on.
  • Every program listening for the internet, and which program holds ports 80 and 443. When Docker publishes them, it reads which container.
  • Whether the firewall, ufw, is installed and on, and its rules.
  • Whether Docker is on the server, and whether automatic security updates are already set up.
  • Whether Paperroom is installed already, and whether the helper set up Caddy there before.

What it will and will not do

IfThe helper
Only SSH listens, and the firewall is offTurns the firewall on with SSH, 80 and 443 allowed. Turning on the firewall. It blocks every connection except SSH on port 22 and the web on ports 80 and 443.
The firewall is onAdds rules for 80 and 443 and leaves your rules alone. Allowing the web, ports 80 and 443, in the firewall that is already on.
The firewall is off and other programs listenLeaves it off, so nothing of yours is cut off. The firewall is off and other programs listen on ports 5232 and 8080, so the helper left it as it is. Your provider's firewall or your own rules stay as they are; the guide shows how to turn ufw on by hand with your ports. To do it yourself, allow every port you need first, then turn it on, as below.
Docker is on the serverLeaves Docker and your containers alone. Docker is on this server and publishes its own ports around the firewall, so the helper leaves Docker alone.
SSH uses another portConnects on that port and allows that one. Type the address as 203.0.113.10:2222.
Automatic security updates are set upLeaves them exactly as they are. When they are not, it switches them on.
Another program holds port 80 or 443Changes nothing, and shows how to run Paperroom behind it, with the lines for that program. This is proxy mode, below.

Turning ufw on by hand, with your own ports first

ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw allow 5232/tcp
ufw enable

Use your own SSH port in the first line, and one line for each port your other programs need. Ports that Docker publishes are not covered by ufw either way.

See the plan first, with --check

Add --check and the helper only reads. It prints what it found and what it would do, and changes nothing.

On a Mac

./Paperroom put-on-server --check

On a fresh server it ends with the plan, one sentence per step, and then:

The last line

Nothing was changed. Run put-on-server without --check to do this.

On a server where Traefik runs in Docker, which is common with control panels, it prints something like this:

A sample, on a server with Traefik in Docker

Connecting to the server at 203.0.113.10.
Looking at what is on the server.

The server's processor type is x86_64.
SSH answers on port 22.
Listening for the internet: Traefik on port 80, Traefik on port 443, Traefik on UDP port 443.
The firewall, ufw, is on, with these rules:
  22/tcp ALLOW IN Anywhere
Docker is on this server.
Automatic updates are already set up on this server.
Paperroom is not installed.
There is no Caddy set up by Origa Labs yet.
Traefik holds port 80.
Traefik holds port 443.
This server already runs Traefik on port 80, so the helper did not change anything. Paperroom can run behind it: install Paperroom with --behind-proxy as the guide's page Already running a server? shows, and add this to Traefik:

  (the lines for Traefik, as in the Traefik tab below)

A Traefik running in Docker cannot reach this machine's 127.0.0.1, so Paperroom should then listen on the Docker bridge address with --host, or run as a container on Traefik's network as the guide's Docker route shows.

Nothing was changed.

Proxy mode

Paperroom listens only on this server, at 127.0.0.1:6683, and your proxy sends your address to it and holds the certificate. Install Paperroom as in systemd by hand, steps 1 to 4 and 6, which is already set up for a proxy, and skip Caddy in step 5. Then add the lines for your proxy and reload it. 6683 spells NOTE on a phone keypad.

Caddy

In your Caddyfile

notes.example.com {
	reverse_proxy 127.0.0.1:6683
}

Caddy passes on the visitor's address and the secure scheme, and the live connections Paperroom uses for editing together, by itself.

nginx

A server block, beside your other sites

server {
  server_name notes.example.com;
  # your listen 443 ssl and certificate lines, as for your other sites
  client_max_body_size 66m;
  location / {
    proxy_pass http://127.0.0.1:6683;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
  }
  location /collab {
    proxy_pass http://127.0.0.1:6683;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_read_timeout 1h;
  }
}

client_max_body_size lets uploads of up to 50 MB through. The /collab block carries the live connections Paperroom uses for editing together.

Traefik

Traefik's dynamic configuration, file provider

http:
  routers:
    paperroom:
      rule: Host(`notes.example.com`)
      entryPoints:
        - websecure
      service: paperroom
      tls:
        certResolver: letsencrypt
  services:
    paperroom:
      loadBalancer:
        servers:
          - url: http://127.0.0.1:6683

Use the entry point and certificate resolver names from your own Traefik setup. This works when Traefik runs on the server itself.

When Traefik runs in Docker

Inside its container, Traefik's 127.0.0.1 is the container itself, not the server, so the lines above cannot reach Paperroom. The helper says so in its sentence above. Run Paperroom as a container on Traefik's network instead, with labels Traefik reads. In the Paperroom folder on the server, change compose.yaml to this, then start it as the Docker route shows:

compose.yaml, for Paperroom behind Traefik in Docker

services:
  paperroom:
    build: .
    image: paperroom:1.0.0
    restart: unless-stopped
    environment:
      TZ: "UTC"
      PAPERROOM_BEHIND_PROXY: "1"
      PAPERROOM_PUBLIC_URL: https://notes.example.com
    volumes:
      - paperroom-data:/data
    networks:
      - traefik
    labels:
      - traefik.enable=true
      - traefik.http.routers.paperroom.rule=Host(`notes.example.com`)
      - traefik.http.routers.paperroom.entrypoints=websecure
      - traefik.http.routers.paperroom.tls.certresolver=letsencrypt
      - traefik.http.services.paperroom.loadbalancer.server.port=6683

volumes:
  paperroom-data:

networks:
  traefik:
    external: true
    name: the-network-traefik-watches

Change the-network-traefik-watches to your Traefik's network: docker network ls lists them, and docker inspect with Traefik's container name shows which one it is on. Keep the image name the download's compose.yaml has. There is no ports section: only Traefik reaches Paperroom.

The other way, for people who know their Docker networks: run Paperroom on the server as in systemd by hand, but with --host set to the address of the Docker network Traefik is on, as seen from the server, and that address in place of 127.0.0.1 in the lines above. If ufw is on, allow port 6683 from that network only.

Never open port 6683 to the internet: only your proxy should reach it. Behind a proxy, Paperroom is started with --public-url set to your address, so the links it prints are right.

Hosting guide

If something stops

When something is not right, the helper stops and says why in plain sentences, and what to do next. These are the ones you are most likely to see. When it refuses, its last line is always the same:

The helper says

Nothing was changed.

Run the helper again once you have done what the sentence says. It remembers your answers, and picks up where it can.

Reaching the server

  • The helper could not reach the server at 203.0.113.10. Check the address, that the server is switched on, and that this computer is online, then run put-on-server again. Compare the address with the one on your provider's page. A new server can take a minute or two to start.
  • The server at 203.0.113.10 did not accept this computer's key. The key was not added, or not ticked, when the server was made. The simplest fix is to make the server again with the whole key line pasted in, from step 2.
  • The helper reached 203.0.113.10 but could not sign in over SSH (connection reset). A brand new server is often still starting. Wait a minute and run the helper again.
  • The server at 203.0.113.10 answered with a different identity than the one this computer recorded, so the helper stopped to keep your library safe. If you rebuilt or replaced the server, the helper's sentence names the line to remove from its list of known servers. If you did not, do not carry on, and ask your provider what changed.

Your web address

  • notes.example.com does not point anywhere yet. The A record is missing or has a typo. Add it as in step 3, wait a few minutes and run the helper again.
  • notes.example.com points at 104.21.48.1, which belongs to Cloudflare, so the record is proxied (the orange cloud). At Cloudflare, click the cloud on that record so it turns grey and says DNS only, wait a few minutes and run the helper again.
  • notes.example.com points at 198.51.100.7, not at your server's address 203.0.113.10. The record has the wrong address, is proxied, or a change has not spread yet. Correct it, wait a few minutes and run the helper again.
  • Paperroom was installed, but https://notes.example.com did not answer within 3 minutes. Check that ports 80 and 443 are allowed in your provider's firewall, wait a minute and open the address in your browser. If the address uses sslip.io, the certificate may be waiting on the shared allowance in No domain yet?; a domain of your own avoids it.

The server itself

  • The server answered in a way the helper did not expect. Make sure it is an Ubuntu 24.04 server and run put-on-server again. Make the server again with the Ubuntu 24.04 image.
  • This server is a "riscv64" machine, and Paperroom is built for x86 and Arm servers only. Choose an x86 or Arm server at your provider.
  • This server already runs nginx on port 443, so the helper did not change anything. Something else serves the web there. Run Paperroom behind it, as Proxy mode shows, or use a fresh server.
  • The Linux version was not found next to this program. It is the paperroom file inside the linux-amd64 folder of the unzipped download. Run the helper from its folder in the unzipped Paperroom download, or drag the paperroom file from the linux-amd64 folder into the window when it asks.

During an update

  • The new version did not start, so the previous version was put back and started. A copy of your library is in /var/backups/paperroom-2026-11-11-031500.tar.gz. Your library is as it was. The sentence goes on with the line that shows what Paperroom said.
  • The new version did not start properly, so the previous version was put back and https://notes.example.com answers again. The same, found while waiting for the address.
  • The helper was stopped before it changed anything on the server. Run put-on-server again when you are ready. You pressed Ctrl+C early; nothing happened.

See what Paperroom said

On the server

journalctl -u paperroom -n 50

For Caddy, use journalctl -u caddy -n 50.

Sign in to your server

Sign in from the computer you ran the helper on, with the helper's key:

Mac

Terminal

ssh -i ~/Library/Application\ Support/Paperroom/server/id_ed25519 root@203.0.113.10

Windows

PowerShell

ssh -i "$env:APPDATA\Paperroom\server\id_ed25519" root@203.0.113.10

Linux

Terminal

ssh -i ~/.local/share/paperroom/server/id_ed25519 root@203.0.113.10

Type exit to leave.

You forgot your password

Anyone else in the library asks you, the owner, for a reset link: you make one in Settings › People. For your own password, make the link on the server: sign in, then run

On the server

sudo -u paperroom /usr/local/bin/paperroom reset-password --data /var/lib/paperroom --public-url https://notes.example.com

It prints a link that works once. Open it and choose a new password. With Docker, run docker compose exec paperroom paperroom reset-password in the folder that holds compose.yaml.

Forget the server on this computer

./Paperroom put-on-server --forget removes the helper's key and answers from this computer. It does not touch the server:

It ends with

The server itself was not changed.

Still stuck?

Write to hello@origalabs.com and tell us what the helper said. Leave out your licence key and anything from your notes.

Hosting guide

Technical routes

For people who would rather set things up by hand. The helper does all of this for you; these are the same files it writes.

systemd by hand

On an Ubuntu 24.04 server, with Paperroom behind Caddy, exactly as the helper leaves it. Create the server and point your address at it first, as in step 1 and step 3.

1. Upload Paperroom

On your computer, open a terminal in the linux-amd64 folder of the Paperroom download (linux-arm64 for an Arm server):

On your computer

scp paperroom root@203.0.113.10:/usr/local/bin/paperroom

Then sign in and check it runs

ssh root@203.0.113.10
chmod 755 /usr/local/bin/paperroom
paperroom version

The rest runs on the server, signed in as root.

2. A paperroom user and a data folder

On the server

useradd --system --user-group --no-create-home --home-dir /var/lib/paperroom --shell /usr/sbin/nologin paperroom
install -d -o paperroom -g paperroom -m 0700 /var/lib/paperroom

3. The service

Open a new file with nano /etc/systemd/system/paperroom.service, paste this, and change notes.example.com to your address. Save with Ctrl+O and Enter, then leave with Ctrl+X.

/etc/systemd/system/paperroom.service

[Unit]
Description=Paperroom
After=network-online.target
Wants=network-online.target

[Service]
User=paperroom
Group=paperroom
Environment=PAPERROOM_SETUP=helper
Environment=PAPERROOM_UPDATE=service
ExecStart=/usr/local/bin/paperroom --host 127.0.0.1 --port 6683 --behind-proxy --public-url https://notes.example.com --data /var/lib/paperroom --no-open
Restart=on-failure
NoNewPrivileges=true
ProtectSystem=strict
ReadWritePaths=/var/lib/paperroom
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectControlGroups=true
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
SystemCallFilter=@system-service
UMask=0077

[Install]
WantedBy=multi-user.target

Paperroom runs as the paperroom user, which cannot replace its own program and should not be able to. It listens on this server only and leaves the certificate to Caddy.

4. Updates and the address from Settings

These four small files let Install and restart and Change the address work from Settings. When you press one, Paperroom leaves a request in its data folder; the path unit notices and starts the service beside it, which runs as root, checks the request again and does that one job. Without them, Settings shows what is new and you update by hand.

/etc/systemd/system/paperroom-update.path

[Unit]
Description=Install a Paperroom update the owner pressed Install for

[Path]
PathExists=/var/lib/paperroom/updates/ready
Unit=paperroom-update.service

[Install]
WantedBy=paths.target

/etc/systemd/system/paperroom-update.service

[Unit]
Description=Paperroom update, applied as root

[Service]
Type=oneshot
ExecStart=/usr/local/bin/paperroom apply-update --data /var/lib/paperroom --health http://127.0.0.1:6683/api/health

/etc/systemd/system/paperroom-address.path

[Unit]
Description=Change the Paperroom address the owner asked for in Settings

[Path]
PathExists=/var/lib/paperroom/address/ready
Unit=paperroom-address.service

[Install]
WantedBy=paths.target

/etc/systemd/system/paperroom-address.service

[Unit]
Description=Paperroom address change, applied as root

[Service]
Type=oneshot
ExecStart=/usr/local/bin/paperroom apply-address --data /var/lib/paperroom

5. Caddy

Install Caddy from Caddy's own package source, as Caddy's install page shows for Ubuntu. Then make the folder for Caddy's site files, point Caddy at it, and write Paperroom's file:

On the server

install -d -m 0755 /etc/origalabs /etc/origalabs/caddy
cp -p /etc/caddy/Caddyfile /etc/caddy/Caddyfile.before-origalabs
echo 'import /etc/origalabs/caddy/*.caddy' > /etc/caddy/Caddyfile
nano /etc/origalabs/caddy/paperroom.caddy

/etc/origalabs/caddy/paperroom.caddy

notes.example.com {
	reverse_proxy 127.0.0.1:6683
}

To get notices about your certificate, and let Caddy ask ZeroSSL when Let's Encrypt cannot give one, add a line tls you@example.com above reverse_proxy.

6. The firewall, then start everything

On a fresh server, open SSH and the web and turn the firewall on. On a server with other things on it, read What it will and will not do first.

On the server

ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
systemctl daemon-reload
systemctl enable --now paperroom
systemctl enable --now paperroom-update.path paperroom-address.path
systemctl enable --now caddy
systemctl reload caddy
systemctl status paperroom

You should see active (running). Press q to leave. Then read the setup link and open it:

On the server

sudo -u paperroom /usr/local/bin/paperroom setup-link --data /var/lib/paperroom --public-url https://notes.example.com

Docker

The Paperroom download has a Dockerfile and a compose.yaml at the top. The image is built on your server from the Linux programs in the download, so nothing is fetched from us. Install Docker first, as Docker's guide for Ubuntu shows.

  1. Copy the unzipped Paperroom folder to the server: scp -r Paperroom-1.0.0 root@203.0.113.10:/opt/paperroom
  2. Sign in with ssh root@203.0.113.10 and go to the folder with cd /opt/paperroom.
  3. Open compose.yaml with nano compose.yaml and choose how HTTPS works, as its comments say: behind your own proxy, set PAPERROOM_BEHIND_PROXY and PAPERROOM_PUBLIC_URL; or, to let Paperroom get its own certificate, follow the lines for PAPERROOM_DOMAIN.
  4. Start it with docker compose up -d, and read what it says with docker compose logs.
  5. Print the setup link with docker compose exec paperroom paperroom setup-link, open it, and make your account straight away.

Docker and the firewall

Docker publishes ports around ufw. The download's compose.yaml publishes port 6683 to the internet, as plain HTTP. Behind a proxy on the same server, change that line to "127.0.0.1:6683:6683", or remove ports when the proxy is a container on the same network, as When Traefik runs in Docker shows.

To change the address later, point the new name at the server, or change it in your proxy's settings if Paperroom is behind one. Then set it in compose.yaml, as PAPERROOM_PUBLIC_URL behind a proxy or PAPERROOM_DOMAIN when Paperroom gets its own certificate, and run docker compose up -d again.

Your library lives in the paperroom-data volume. In Docker, Settings shows new versions but does not install them: In Docker shows how to update.

Behind a proxy

If you already run Caddy, nginx or Traefik, let it handle the certificate. Paperroom then serves plain HTTP on 127.0.0.1:6683 to your proxy, trusts the forwarded scheme and visitor address, and marks its cookies secure when the visit came in over HTTPS.

  • systemd: the service in systemd by hand already runs this way. Skip step 5 and point your proxy at 127.0.0.1:6683.
  • Docker: set PAPERROOM_BEHIND_PROXY: "1" and PAPERROOM_PUBLIC_URL to your address in compose.yaml.
  • Your proxy's lines are in Proxy mode. Whatever the proxy, forward your address to Paperroom, pass X-Forwarded-Proto, X-Forwarded-Host and X-Forwarded-For, and allow WebSocket upgrades on /collab.

Behind a proxy, Paperroom cannot know your address by itself, which is what --public-url (PAPERROOM_PUBLIC_URL in Docker) tells it, for the setup and reset links it prints. Never open port 6683 to the internet.