Installation fails?
ramaxfield-git opened this issue · 8 comments
Hi! I had no trouble installing wp-cli and mu-migration on the target server, or of doing a test zip of one of the dummy subsites on the target server, but now that I'm trying to install it on the source server, I'm having problems. When I enter wp package install 10up/mu-migration, I get this error:
Error: The "https://wp-cli.org/package-index/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:1407742E:SSL routines: SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Failed to enable crypto
Failed to open stream: operation failed
From Googling, I see this is not an issue exclusive to mu-migration, but I also don't know how to solve it.
Any ideas? Thanks in advance - I'm very excited to use this extension!
@nicklaussemuse This seems to be an issue with your server. Have you tried contacting hosting?
Alternatively, you can install this as a WP plugin on the source site/server and run composer install
at the root of the plugin to get the dependencies installed.
@nicholasio Is there any more detail you can give me about what I might need to ask IT to investigate or do? (We own the server.)
I'd also appreciate any info about how to install it as a WP plugin if that is better! I couldn't find this info.
thanks!
@nicholasio sorry to bug you, but is there any more detail you can give me about this issue or about other ways of installing mu-migration? Thanks!
@nicklaussemuse
In order to install MU-Migration manually as a plugin:
- Download MU-Migration as a zip file: https://github.com/10up/MU-Migration/archive/master.zip
- Extract it and move to wp-content/plugins/MU-Migration in your server
- Inside wp-content/plugins/MU-Migration run
composer install
If you don'´t have composer
you'll need to install on your server https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos
Regarding the SSL error, it looks like there's are outdated SSL libraries/clients in your server, you could ask IT to update OpenSSL. composer/composer#4212
Okay, the word from IT is that we cannot update SSL because the OS is too old, and running composer install (after installing composer) failed because our PHP is too old. Welp, time to see what they say about next steps! Thanks.
Okay, yeah, IT says we cannot update PHP on that server. Is there perhaps an older version of this that would run on PHP 5.4.45?
@nicklaussemuse Unfortunately no.
My only other suggestion for you is to perform the migration tasks outside of that server. For example, you could clone your wp installation and install it locally and run the plugin locally to perform the migration tasks you need.
Other than that it is strongly recommended to update your server as you're running really old software that can contain security breaches.
We're actually retiring this server entirely - that's why we're trying to migrate the sites from it. I think I understand what you mean about cloning the site, installing it, and then converting to multisite - that makes sense! Thank you for the suggestion.