Skip to content
Skip the docs menu

Servers

Bring in a server that already runs websites

Let Fuzops manage a server set up by hand or with another tool, without moving or rebuilding anything. What changes, what never does, the Move-in report.

Last updated 7 min readView as Markdown

On this page

Your server already runs websites, set up by you, a developer or another tool. Fuzops can manage it where it is. It is not rebuilt, and your sites do not move.

Your websites keep running exactly as they are. Nothing on the server changes until you choose to.

What happens, step by step#

Choose Add a server, then Bring a server set up elsewhere, and Continue to bring it in. A separate guide opens with four steps.

Step What happens What changes on the server
1. You give the server a name It is added to your list. Nothing.
2. You connect it You paste one command on the server, as the administrator (root). It adds the Fuzops connection and nothing else: nothing you already have is installed again, upgraded or restarted. The Fuzops connection is added.
3. Fuzops looks at what is there It lists your sites and what runs on the server. It only looks. It never reads passwords, keys or what is inside your sites' settings files. Nothing.
4. You choose what Fuzops manages You see what was found and tick the sites to manage. Each site stays where it is, with the same files and the same address. Nothing, until you choose to.
The first page of bringing in a server: name it, then what happens next in four stepsThe first page of bringing in a server: name it, then what happens next in four steps
Bringing in a server: nothing changes until you choose.

The command is shown once. If you lost it, choose Create a new command; the old one stops working. Supported systems are the same as for any server: Ubuntu 22.04, 24.04 or 26.04, or Debian 12 or 13.

The Move-in report#

If the server stops answering before Fuzops has looked at it, the report says so instead of waiting silently: it shows when the server was last heard from, and Check again refreshes it. The look starts by itself when the server is back; if it stays away, the look is given up and Try again starts it once the server answers.

After step 3 the server has a Move-in report (in the server's Tools tab). It shows:

  • Sites found: tick the sites Fuzops should manage. For each one you can also tick Also bring in the site's settings file (.env). It is read once and stored encrypted, so you can edit it in Fuzops. Left unticked, Fuzops never reads it.
  • What else was found: background processes, scheduled jobs, databases and security rules. They are kept as a list to look at. Fuzops does not start, stop or change them, does not open the databases, and does not add, remove or reorder any rule.

Before you confirm, the report lists what Fuzops will do (add the ticked sites, give each one standard update steps you can change before the first update) and what it will not do: move, copy or delete files, change web server settings, restart anything, publish anything, or end the access of whatever set the server up. Tick I have read what this does and does not do. to confirm.

After the move-in: optional steps, one site at a time#

Each site that is now managed here offers steps you can take when you are ready. Each one saves a copy first and puts it back if a check fails.

  • Say where the code lives before publishing: connect the site's code so you can publish updates. See Sites.
  • Keep it online during updates: until you do this, an update changes the site's files where they are, so the site can be out of step for a moment while it updates. Switching over copies the code into a new folder beside the live one, points the site at it and checks the site again. The original code is never changed or deleted.
  • Manage web server settings here: Fuzops writes the site's web server settings from now on. A copy of the current file is saved first. Lines someone added to that file by hand are not carried over, so read it first if you added any.
  • Bring in settings file: read the site's settings file once, if you did not tick it before.

Jobs running under Supervisor or PM2#

A server set up elsewhere often keeps its background jobs running with Supervisor or PM2. Fuzops does that job itself, so you can move them over when you are ready:

  • What Fuzops finds: the Move-in report lists the Supervisor programs and PM2 apps it saw. The server's Health check then says how many jobs still run under Supervisor or PM2, with Move to Fuzops. On Background processes, Find them on this server reads them again, with their settings, without changing anything.
  • Move to Fuzops or Move all: you see each job as it would become a Fuzops background process, with a note for every setting that does not carry over. On confirm, Fuzops starts its own copy, checks it keeps running, and only then stops and switches off the old one, so the job never stops and never runs twice. If the copy does not start, the old one is left as it was.
  • Stop the old one first: for a job that must never run twice at the same moment, such as a scheduler. It pauses for a few seconds while the copy starts, and the old one is started again if the copy does not.
  • Put it back: the old program runs again from the settings Fuzops kept, and only then is the Fuzops copy removed.
  • Websites run by PM2: until you move them, their updates reload the app in PM2. The server's Health check says which websites still run under PM2. See Run a website's app with Fuzops below.

Nothing moves by itself: every move is a click after a preview. See Background processes.

Run a website's app with Fuzops#

A Node.js website (Express, Next.js, Nuxt, Adonis, Strapi, Directus and the like) that PM2 keeps running can move to Fuzops without a break for visitors. Its site page says This app still runs under PM2, with Run this app with Fuzops:

  1. Look first. Fuzops reads, without changing anything, which PM2 app answers for the site, how it starts (script, arguments, folder, account, cluster instances, memory restart), the names of its settings (never their values), the local number it answers on and the line of the web server settings that sends visitors to it. You see what will happen, and anything that stops the move, in plain words.
  2. Move without a break. On confirm, Fuzops starts its own copy of the app beside the PM2 one, with the same start command, folder, account and settings, on a new number. Once it answers, the web server sends visitors to it, after a test and a graceful reload, and Fuzops checks that the site answers. Only then is the app stopped in PM2 (pm2 stop, pm2 delete, pm2 save). Its PM2 settings are kept on the server.
  3. If anything fails before that, everything is put back as it was and PM2 is not touched. The site page says at which step it stopped.

The settings PM2 gave the app stay on the server: Fuzops writes them into a file only the administrator can read, and the app reads its own settings file as before. In the web server settings, only the line that reaches the app changes, and a copy of the file is kept. Afterwards every update starts the new version beside the running one and switches to it, and How the app runs (start command, copies, memory limit), the app's log and its restart work as for any app Fuzops runs.

Put it back stays on the site page for 14 days, unless you choose Keep it with Fuzops: PM2 starts the app again from the kept settings, visitors switch back to it once it answers, and the Fuzops copies are removed.

The move is not offered, and the preview says why, when the app does not take the local number Fuzops gives it (it always uses the same one, or answers on a socket file), when several PM2 apps answer for the site, when PM2 runs it as the administrator (root), when the web server adds a path to the app's address or another web server file also uses that number, or when the app runs from outside the site's folder.

Finish moving over from another tool#

When you are ready, Finish moving over lists what to do so the other tool stops reaching the server. Nothing here happens by itself:

  1. Stop the other tool managing this server: in that tool, remove the server from your account, choosing the option that keeps the server at your hosting company.
  2. Remove its login keys: keys that seem to belong to the other tool are ticked for you. A copy of the key list is saved first. Confirm that you can still get into the server another way.
  3. Block the other tool's addresses from logging in, if you want to.

Still stuck? Get help

Docs menu