NextPress documentation

Troubleshooting

Common problems with installs, domains, upgrades, sign-in, pages, the AI assistant and imports, with the cause and the first fix for each.

On this page

Each entry gives the symptom or message, the usual cause, and the first fix. When a fix does not help, read the logs.

First checks

  • nextpress status lists each service and whether it is running.
  • /api/health on your site answers once NextPress is ready.
  • nextpress logs app shows the app's log. Use postgres or caddy for the others.
  • nextpress restart restarts all services.

Install

Symptom or messageCauseFix
"NextPress installer currently supports Linux servers only."Not a Linux serverUse a Linux server
"Docker Compose v2 is missing"Docker is missing and NEXTPRESS_SKIP_DOCKER_INSTALL=1 is setInstall Docker Engine with its Compose plugin, then run the installer again
"openssl is required to generate install secrets."openssl is missingInstall it, then run the installer again
"Install directory is not writable"The user cannot write to the install folderRun with sudo, or choose a writable --install-dir
Complete setup stays greyed outThe password does not meet the rulesUse at least 8 characters with an uppercase letter, a lowercase letter and a number

Domains and HTTPS

SymptomCauseFix
The domain does not openThe A record does not point at the server, or ports 80 and 443 are closedFix the A record and open both ports
The browser warns about the certificateCaddy has no certificate yet, because the domain did not point at the serverCheck the A record, then reload after a few minutes
A visitor sees another siteThe address matches no site, so the default site answersCheck the address on Sites

Upgrades

MessageCauseFix
"Another NextPress update is already running on this server."An upgrade is already runningWait for it to finish
"Schema upgrade expects … but this install is on …"The install is too old for this versionUpgrade to an in-between version first. See Upgrade NextPress
"Need at least 1024MB free at …" or "Need at least 2048MB free for Docker at …"Not enough disk spaceFree space, then run nextpress upgrade
"Database backup failed; refusing to continue."The backup could not be writtenCheck disk space and that the database runs
"App health check failed after upgrade."The new version did not startRead nextpress logs app
The dashboard cannot start an updateThe update helper is off, or the server has no systemdRun sudo nextpress update-helper on, or upgrade from the command line

For a failed dashboard update, nextpress update-helper status shows the last result and the path of its log. On the default install, systemctl status nextpress-update.path and journalctl -u nextpress-update.service show the helper itself.

Pages and media

SymptomCauseFix
A page answers "Page not found"It is a draft, private, in the trash, or has a passwordPublish it, and clear Password Protection in Page settings
"Page changed elsewhere" when savingSomeone saved the page after you opened itThe latest copy loads. Make your change again
A broken picture on a pageThe file was deleted from the media libraryChoose another file in the block
An upload is refusedThe file type is not allowed, or it is larger than 10 MBSee Media

AI assistant

MessageFix
"The assistant isn't set up for this site yet."An admin connects a service in Settings, on the AI tab
"The saved key can't be read any more. Enter it again."Paste the key again. This happens when the server's secrets changed, such as after a move
"Keys can't be saved on this server yet."The server has no secret of its own. The person who runs the server needs to finish its setup
"That address isn't reachable from the internet."Use a public https address, or ask an owner or admin of the main site to save the local one

More messages are in Set up AI.

Imports

Symptom or messageFix
The WordPress site is not foundCheck the address, and that /wp-json on that site opens without a sign-in
"Maximum 50 posts per import batch"Select 50 items or fewer
"Import rate limit exceeded. Try again shortly."Wait a minute
"Output file already exists" on exportAdd --force, or choose another --out
"This NextPress version predates export/import."Run nextpress upgrade

Getting help

For a forgotten password, see Passwords and reset. Before you ask for help, collect the output of nextpress status, the last lines of nextpress logs app, and the exact message on the screen.

Next steps