Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:explovestack

Check an installation coming from LoveStack (read-only), and record its database as Exponential's (migrate).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/explovestack.md

On this page

exp:explovestack

Check an installation coming from LoveStack (read-only), and record its database as Exponential's (migrate).

Script bin/php/explovestack.php, code in kernel/private/classes/commands/explovestack.php. Run it from the installation root, as the user the web server runs as:

./console exp:explovestack --help
./console exp:lovestack --help
php bin/php/explovestack.php --help

Help text

Sites coming from LoveStack (mugoweb/ezpublish-legacy)

check    lists what this installation and its database bring along from LoveStack:
         the database version row, LoveStack's db-schema-version row, a unique
         index on ezuser.login, data_text NOT NULL, the legacy_2018 extension,
         LoveStack-only settings in settings/override and the siteaccesses, and
         the LoveStack package in composer.json. Reads only, writes nothing.
migrate  records a LoveStack database as Exponential's: the version row
         'lovestack' becomes this release's version, and LoveStack's schema
         version is kept as ezsite_data lovestack-schema-version. Then it
         prints the settings to rename or remove. Never changes content or
         settings. A dry run unless --apply is given; running it again
         changes nothing. Refuses a database that does not come from LoveStack.

./console exp:lovestack check
./console exp:lovestack check --json
./console exp:lovestack migrate              (dry run: prints what it would write)
./console exp:lovestack migrate --apply

Exit code: check 0 nothing to do, 1 something needs attention (status found);
migrate 0 done or nothing to do, 1 refused; 2 usage error.
Guide: doc/eng-us/guides/upgrading.md (Coming from LoveStack)

Options

OptionValueHelp
--jsonOne JSON object instead of the text
--dry-runmigrate: print what would be written, write nothing (the default)
--applymigrate: write the two ezsite_data rows

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Arguments: [ACTION].


Generated by ./console exp:help:examples from bin/php/explovestack.php, kernel/private/classes/commands/explovestack.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x