hi everybody,
i have a question about the migration of a website.
After reading the documentation
https://docs.modx.com/revolution/2.x/administering-your-site/moving-your-site-to-a-new-server and moved a couple of website via the CLI, I was disappointed with the need of edit manually the
core/config/config.inc.php file.
When we run the command :
php ./setup/index.php --installmode=upgrade-advanced the majority of the parameters are updated from the
setup/config.xml but not all the parameters!
So my big questions is why we cannot update all the parameter from the setup scripts?
here a list of the variables that cannot be updated from the setup:
- $modx_assets_url normally should be equal to assets_url tag in the config.xml
- $modx_base_url probably should be equal to context_web_url tag in the config.xml
- $modx_manager_url normally should be equal to context_mgr_url tag in the config.xml
- $modx_connectors_url normally should be equal to context_connectors_url tag in the config.xml
Apparently the running the setup via CLI update correctly the
$http_host variable in the config file.
What do you think? should we open a issues for that?
Thx for your time and explications.
ps: there is other problem with the advanced-upgrade described in other posts like
https://forums.modx.com/thread/98137/modx-2-4-advance-cli-install-fail