Skip to the content
Documentation

exp:explovestack

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

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

Usage

./console exp:explovestack [options]
php bin/php/explovestack.php [options]
./console exp:lovestack [options]

Aliases

exp:lovestack

Help

The output of ./console help exp:explovestack (the script run with --help), without the standard options:

Usage: bin/php/explovestack.php [OPTION]... [ACTION]
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:
  --json     One JSON object instead of the text
  --dry-run  migrate: print what would be written, write nothing (the default)
  --apply    migrate: write the two ezsite_data rows

Options

Option Value Description
--json - One JSON object instead of the text
--dry-run - migrate: print what would be written, write nothing (the default)
--apply - migrate: write the two ezsite_data rows

Arguments

[ACTION]

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/explovestack.php, kernel/private/classes/commands/explovestack.php

See also

Generated example: exp:explovestack

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.