Skip to content

Location Migration Mode#897

Merged
Fraenkiman merged 2 commits into
flatpressblog:masterfrom
Fraenkiman:Location-Migration-Mode
May 16, 2026
Merged

Location Migration Mode#897
Fraenkiman merged 2 commits into
flatpressblog:masterfrom
Fraenkiman:Location-Migration-Mode

Conversation

@Fraenkiman
Copy link
Copy Markdown
Collaborator

@Fraenkiman Fraenkiman commented May 16, 2026

If fp-content/%%setup.lock is missing, FlatPress enters location migration mode. This simplifies the process of moving to a new web host.

  • config_load()[‘general’][‘www’] displays the temporarily detected URL in the admin configuration form.
  • Cache and compile artifacts are cleared upon entering migration mode.
  • settings.conf.php is written only after the admin configuration has been successfully saved.
  • fp-content/%%setup.lock is then rewritten.

https://forum.flatpress.org/viewtopic.php?t=1026

Procedure:

  • Copy FlatPess to the new web host
  • Delete %%setup.lock
  • Check and save the configuration in the admin area
image

If fp-content/%%setup.lock is missing, FlatPress enters location migration mode. This simplifies the process of moving to a new web host.
- config_load()[‘general’][‘www’] displays the temporarily detected URL in the admin configuration form.
- Cache and compile artifacts are cleared upon entering migration mode.
- settings.conf.php is written only after the admin configuration has been successfully saved.
- fp-content/%%setup.lock is then rewritten.
@Fraenkiman Fraenkiman merged commit 755feff into flatpressblog:master May 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant