MODX Community

Upgrading from 2.6.5 with upgradeMODX "error requesting page"

Summary

Attempting to upgrade from 2.6.5 with upgradeMODX extra and receive this error:
Error requesting page /assets/components/upgrademodx/connector.php?action=downloadfiles&props%5Bugm_setup_url%5D=https%3A%2F%2Fwww.camelbackcastle.com%2Fsetup%2Findex.php&version=modx-2.7.0-pl.zip&_=1598834872356

It seems to continue downloading, at least the download bar moves across but stops about 1/4 the way.

Environment

Hosted with LiquidWeb
Apache, PHP 7.0
mysql Ver 15.1 Distrib 10.1.46-MariaDB, for Linux (x86_64) using readline 5.1

Does that file exist?

If so, you might have a problem with the permissions on that file. If not, you might try re-installing UGM, or if that fails, removing it, re-downloading, and re-installing it.

There are some known problems with PHP 7.0, so you might try upgrading that.

Hi Bob,

Yes the file exists. Permissions were 644, even tried 777 and same error.

I removed upgradeMODX and reinstalled, same error again.

When reinstalling I did get a bunch of weird notifications, see below. Not sure if this is part of the problem?


Console running…

Attempting to install package with signature: upgrademodx-2.1.2-pl
Package found…now preparing to install.
Grabbing package workspace…
Workspace environment initiated, now installing package…
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_verbose )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_versionlist_api_url )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_temp_dir )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_cert_path )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_file_version )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_force_pcl_zip )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_modx_timeout )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_ssl_verify_peer )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_language )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_pl_only )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_github_username )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_github_token )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_github_timeout )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_versions_to_show )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_groups )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_interval )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_last_check )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_latest_version )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_hide_when_no_upgrade )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ugm_version_list_path )
Successfully installed package upgrademodx-2.1.2-pl

Upgraded php to 7.1 also, no luck.

I appreciate the help. I ended up just scraping the site and making it a static html site, then removed MODX for now.

Sorry I couldn’t be more help.

For future reference and others reading this, those errors are normal. It’s just saying that those System Settings already exist.