New site
The new site wizard: a project's repos and its dump, a fresh WordPress or an empty site, where the dump comes from, how an install runs, and drafts.
- Where
/sites/new, and/sites/new/<draft>/<step>for a draft- Starts from
- A project's repos, a fresh WordPress or an empty site
- A dump from
- An upload up to 20 GB, Downloads, a cloud drive, a URL, a server over SSH or this machine
- Drafts kept
- 24 hours after the last change, never with a password
On this page
The new site wizard makes a local site in a few steps, with a plan of the site on every step. It has the width of the other pages of the panel.
Pick how to start
The Start step has three cards. The one you pick sets the steps that follow.
| Start | What you get | Steps after Start |
|---|---|---|
| From a project | The project's repos, each in its own folder, and usually its database dump | Code, Claude reads the project (optional), Database, Domains, WordPress, Review |
| Fresh WordPress | A clean install, on a shared core or with its own copy | Domains, WordPress, Review |
| Empty site | A folder, a certificate, a vhost and a hosts line, for anything that is not WordPress | Domains, Review |
From a project is the one most sites start from. Every step after Code shows a short plan of the site at the top: each repo with its folder, and the dump once it is in.
Install from a project, step by step
- Start: pick From a project. The draft is saved from here on (see Install drafts).
- Code: tick the project's repos, or paste a git URL, and say where each goes. Install a project has this step, and GitHub access how to clone without an SSH key.
- Claude reads the project: only when you let Claude Code read the repo and its links. See Claude Code, optional.
- Database: bring the dump, or go on without one. See Database.
- Domains: the site's addresses, a network's type and the web server.
- WordPress: plugins, missing plugins and themes, uploads, builds, the core and the admin. Both steps are in Domains and WordPress.
- Review: every answer, each repo with what it is, and a switch to not remember this install. Then install.
Database
The Database step brings the dump. Every way ends the same: a file in the panel's uploads, readable only by you, that must start like SQL, a gzip or a zip.
The panel reads the file for its facts: tables, prefix, addresses, network and
admins. A zip has only its first .sql unpacked, flat, after its unpacked
size is checked against the free space.
Where a dump can come from
| Source | What it takes |
|---|---|
| Found by Claude | A dump the project's links led to. rclone downloads it, or Open in Google Drive downloads it in the browser |
| Upload | A .sql, .sql.gz or .zip, up to 20 GB |
| Downloads folder | A dump you downloaded in the browser in the last three days. Your file stays where it is |
| Cloud drive | Any rclone remote, browsed by folder, or a link to a Google Drive file |
| Public URL | Any https:// address that serves the file, signed links included |
| A server over SSH | A fresh export with WP-CLI, or a dump file already there |
| This machine | Another site's database exported now, a site's snapshot, or a deleted site's dump |
| No database | Nothing: a fresh WordPress on the repo's code, with the admin from the WordPress step |
Once the dump is in, the Found in the dump card shows what it holds, and Pick another dump takes a different one.
A cloud drive is any remote you set up with rclone config: Google Drive,
Dropbox, OneDrive, Box, S3 and S3-like storage, Backblaze B2, SFTP, WebDAV and
Nextcloud, FTP and more. Only folders and dumps are listed. rclone keeps its
own sign-ins, and the panel never reads them.
Find a dump in Google Drive
On a Google Drive remote, pick what to browse: My Drive or Shared with me. Search finds dumps by name with Drive's own search, anywhere you can reach or only in what is shared with you, newest first.
A file found either way downloads by its Drive id, as a pasted link does.
Without rclone or a remote, the source points to Aura's Machine checks, which install rclone and connect Google Drive, read only.
From this machine, another site's export makes a second copy, to test another branch, with tables to leave the rows of as over SSH. A deleted site whose dump you take stays restorable as it was.
A public URL
Only https, and never an address on this computer or a private network. That is checked on the address actually connected to, and again on each redirect, at most five.
- The free space and the 20 GB limit are checked before and while it downloads.
- The part after
?is never kept in run history or shown. - A link that needs a sign-in does not work: download the file in the browser and take it from the Downloads folder.
A server over SSH
The panel signs in with your own SSH key, through your agent and your
~/.ssh/config. Type an alias, or user@host with the port after it when it
is not 22: alex@www.spellbook.example:2222.
There are two ways to take the dump:
- Export now with WP-CLI runs
wp db exportin the WordPress folder you give on the server, which only reads, and streams it into a gzip here. - A dump file there copies a
.sql,.sql.gzor.zipwith sftp.
The export needs WP-CLI on the server, as wp or under the name you give in
WP-CLI has another name on the server?: a program name or a path like
wp-cli or ~/bin/wp. That name is saved with the site's import from
production.
Note Nothing is written on the server and no key is added to it. A host that is not in your
known_hostsis refused, never trusted on the fly.
When a host is not in known_hosts yet, the panel says what to do in a
terminal: connect once, answer yes to its key, then close it at the password
prompt with Ctrl+C. The key is kept by then.
How the export runs:
- It is compressed on the way and writes no file on the server. The database
password stays there: WP-CLI reads
wp-config.phpand runs mysqldump on the server. - On a host whose PHP turns
execand similar functions off, WP-CLI stops without a word. The panel then runs it once more asphp -d disable_functions= <wp>, for that one run only, and the job says so. - A dump without mysqldump's last line was cut off on the way. It is thrown away, never imported.
- Paths take letters, digits and
. _ - /only, as ssh hands the command to the server's shell.
How the server signs you in
Once you stop typing the host, or press Check connection, the panel asks the server how it signs you in. That is one connection that runs nothing. The answer is kept for an hour, and a site's saved server is not checked just because you open a view.
- With your key, it says so and asks for nothing.
- A server that would ask for a password gets a Password on the server field under the host.
- A server that takes keys only and refuses yours, or one the panel cannot reach, is named there too.
A server's password
Under the password field, one row holds what you can do with it:
- Test password signs in once, with the typed password or the saved one, and runs nothing there. It tells you whether the server took it before a run needs it.
- Save for and the host's name keeps the password for that host in the
panel's
secrets.json, readable by you only. With one saved, a new password typed in the field and Replace saved take its place. - Forget saved password removes it.
With a password saved, leave the field empty to use it. A run that starts without a typed password uses the saved one, and so does a Retry.
Note A password is never logged or shown, and a saved one is never shown back. One you do not save is used for that run's connections only (reading the tables, the export or the copy), so you give it again next time. The field stays out of the browser's and password managers' saved passwords, and a wrong password is tried once.
Choose tables
Choose tables lists the server's tables, biggest first, with their size, to leave the rows of some on the server. A table left out still comes, empty, so nothing misses it.
- Known logs are ticked for you: Action Scheduler, Wordfence, Redirection, WP Activity Log, Simple History, Stream and WP Mail Logging.
- With a cleaned copy, personal data is ticked too: WooCommerce orders and customers, Gravity Forms and WPForms entries.
- The choice is remembered per server and folder.
It works on whole tables only. Personal data in users, comments or options still comes, and a cleaned copy (below) takes care of it.
The copy
The same choice a site's Import a database has:
- As it is: an exact copy, the default.
- Cleaned: lists what goes from this dump, then runs the clean-up on the new database after the import, with SQL and no WordPress code.
A cleaned copy keeps one user and removes every other one, with WooCommerce orders and customer data, product reviews, form entries, logs, and payment, mail and API keys. The user kept is the WordPress step's admin, the author of every post: the dump's own administrator as it is, or a new one with your password.
Mail and production-only plugins go off as on every install from a dump.
Domains and WordPress
Domains and the network
- Domains: one certificate, vhost and hosts line cover every domain of the site. The addresses the dump uses (production, staging, another local copy, with a port or not) are replaced, in URLs only.
- A network: its sites are listed by name, with a choice of its type
here, subdirectory or subdomain in WordPress's words. It starts as the dump
has it and sets
SUBDOMAIN_INSTALLto match. The choice is remembered per repo, and the install moves the sites whose address changes after the replace. - A network is never installed under a path, and one served through a domain mapping plugin keeps its domains.
- Web server: once nginx runs next to Apache, pick Apache, nginx in front of Apache, or nginx with the PHP-FPM version it would run on (see Server and PHP). A site under a path runs on its parent's server.
Plugins
Production-only plugins are deactivated, and a search finds one in a long
list. The local helpers any repo has, as a plugin folder or in
composer.json, are turned on.
Missing plugins and themes
Missing plugins are the ones the dump has that no repo brings, as with a project whose repo is only its theme.
- Active ones on WordPress.org install from there after the import, at production's version when the dump's update check has it.
- Others you can turn off or leave: WordPress turns a missing active plugin off on its own.
- Ones production had installed but not active are listed apart, to install if you want them.
- A folder name WordPress.org could not have (capitals, a dot, a space) counts as not on WordPress.org. When WordPress.org gives no answer, the step says so, with Ask again.
Paid and custom plugins can be copied from the server when the dump was exported over SSH. The step asks that server for its list of plugins, and Copy from the server is picked for an active one it has. The copy runs after the import and only reads on the server (see Missing plugins and themes). A server that asks for a password gets the one you gave for the dump, during the same visit only. One that fails is noted and the rest install.
Missing themes are the themes the dump's sites use that no repo brings: each site of a network, and the parent a child theme takes its templates from. One on WordPress.org installs from there, at production's version when the dump has it. A paid or custom one can be copied from the server, the same way as a plugin. Nothing is activated: the database already says which theme is on.
Uploads
Missing images load from the production domain you give.
When the dump was exported from a server over SSH, Also copy the uploads brings the files themselves from that server after the import. It is off unless you tick it, for the last 3 or 12 months or all of them.
- It only reads on the server:
dufor the size andrsyncfor the files, needed on both sides. - It only adds here, and stops when the files would not fit on this disk.
- PHP files,
.htaccess, SQL dumps, links and the cache, log and backup folders of plugins stay on the server.
Later copies are on the site's Files tab.
Build
A checklist per repo lists every composer.json and package.json, with
their build, prod or production script. Only the ones whose output the repo
does not hold are ticked: vendor/ or a build folder git ignores, and never a
wordpress.org plugin. Watchers are never offered.
A script that runs a gulp task its gulpfile does not define, like
gulp build with no build task, is never picked. The row says so and you
pick another, and a build that still fails that way names the missing task.
Node for a build
Builds run in their repo's folder with a Node from nvm, picked in this order:
- The one you choose on the build's row.
- The repo's
.nvmrcor.node-version. - What its
package.jsonsays: volta,engines, or a package that stops on newer Nodes (node-sass 7 runs on Node 16 at most). - nvm's default, or the Node the panel runs on.
The row shows the Node and why. The Node you choose is remembered with the repo's other answers.
A build that fails because of its Node, when nothing named that Node, runs
once more on the one nvm has that fits: an older one for a package that could
not compile, a newer one for a package that asks for it. The output says so.
A Node nvm lacks is yours to add: the output gives the nvm install command.
Core and admins
- Core: the newest core you have is picked unless you choose another, or the repo's own when it holds core.
- Admins: a dump's admins are listed (a network's super admins; the scan reads up to 16 GB of SQL for them), and one-click login signs you in as the first.
- An admin for this copy (admin / admin, superadmin on a network) is made only when you switch it on, or when the dump has none.
While it installs
- Each step shows its output and progress: each clone, the import, the replace.
- The header lists running installs, so you can leave and come back. At most two run at once, and free disk space is checked first.
- A failed install can be retried from its step or undone.
- Go back a step and the steps you reached stay open until you change an answer; put it back and they open again.
- The site's Git card lists every repo the install cloned, in any folder.
A failed step the site works without can be skipped: the build, the local
helpers, BE Media, .htaccess, flushing caches or the admin account. The
install goes on, and the site's page keeps what is left to do, each with a
Done button once you did it yourself.
Install drafts
The wizard saves its answers as you go, never a password, from the moment you continue from Start.
- Each draft has its own address,
/sites/new/<draft>/<step>, so the browser's Back and Forward move between its steps and a link opens it again. - Unfinished installs are listed on the Sites page, to continue or discard, for 24 hours after the last change.
- While an install runs its draft stays. Once the site is in place, the draft and its dump go.
- A draft from before 1.28 opens in the new steps, with its repo's old layout read as a folder.
Warning Reinstalling over a site that is there archives the current one first, after you confirm. It stays under Removed on the Sites page for 14 days; see Undo and backups.
With Claude
With the optional AI assistant on,
Describe the site to Claude, under the main repo, fills in every step from
your words, the repo, the dump and conventions.md (how sites are set up
here). You review each step and install as usual.
Checked against devmagic-panel 1.70.0.