Profile creation and provisioning
Hi,
I took my first stab at upgrading to EA4 over the weekend, and after several hours, finally had to accept failure and restore back to EA3 and my previous state. I only have the one production server and could not leave it in that state for now. I'll try again this coming weekend, but hope to gather a little info in the meantime.
The initial conversion actually went well, and I was really excited at what I was seeing in EA4. I had trouble with several hosted sites immediately, which fell into two categories. 1) old mysql passwords, which I had to dig through client config files, identify, and update... a little pain, but understandable and worth it in the long run. 2) a number of sites using the same CMS failing, I believe because of missing PECL extensions. I left those for the time being, believing I could sort them out with an update/re-provision.
I tried my first updating to one of the profiles to re-provision the server, and that's where things started to go south.
First I attempted to customize the current configuration and re-deploy, but when I got to the final screen, I got numerous errors about conflicting RPM's. When I tried to remove some of these RPMs, I broke my httpd altogether. I was able to successfully redeploy the original profile from the 3-4 conversion though, and got things running again.
For my second attempt, I tried to use the initial converted profile (which I'd successfully deployed twice now) and try to customize it, and then deploy the result. This again lead to many warnings about conflicting RPMs, and of course, I couldn't deploy it.
At that point, I was confused, it was getting late, and I just had to restore to EA3 until I get my next block of time to work.
I'm hoping I can show the two profiles there, and someone might be able to point out why the second one won't work.
This is the first profile, automatically generated by the EA3 to EA4 conversion. It includes what I initially had, plus a couple older php versions.
This is the profile I tried to make, based on it, but removing the older php versions while adding php7 and a couple mods, and looking to the cPanel stock profiles for examples.
Does anyone see any gross errors? Anything that would lead to many messages of conflicting RPMs?
{
"pkgs":["ea-apache24",
"ea-apache24-mod_authn_socache",
"ea-apache24-mod_cgid",
"ea-apache24-mod_expires",
"ea-apache24-mod_headers",
"ea-apache24-mod_ldap",
"ea-apache24-mod_mime_magic",
"ea-apache24-mod_mpm_worker",
"ea-apache24-mod_proxy",
"ea-apache24-mod_security2",
"ea-apache24-mod_suexec",
"ea-apache24-mod_suphp",
"ea-apache24-mod_unique_id",
"ea-apr",
"ea-apr-util",
"ea-php54-php-bcmath",
"ea-php54-php-calendar",
"ea-php54-php-cli",
"ea-php54-php-curl",
"ea-php54-php-exif",
"ea-php54-php-ftp",
"ea-php54-php-gd",
"ea-php54-php-gettext",
"ea-php54-php-iconv",
"ea-php54-php-imap",
"ea-php54-php-mbstring",
"ea-php54-php-mysqlnd",
"ea-php54-php-posix",
"ea-php54-php-sockets",
"ea-php54-php-xml",
"ea-php55-php-bcmath",
"ea-php55-php-calendar",
"ea-php55-php-cli",
"ea-php55-php-curl",
"ea-php55-php-exif",
"ea-php55-php-ftp",
"ea-php55-php-gd",
"ea-php55-php-gettext",
"ea-php55-php-iconv",
"ea-php55-php-imap",
"ea-php55-php-mbstring",
"ea-php55-php-mysqlnd",
"ea-php55-php-posix",
"ea-php55-php-sockets",
"ea-php55-php-xml",
"ea-php56-php-bcmath",
"ea-php56-php-calendar",
"ea-php56-php-cli",
"ea-php56-php-curl",
"ea-php56-php-exif",
"ea-php56-php-ftp",
"ea-php56-php-gd",
"ea-php56-php-gettext",
"ea-php56-php-iconv",
"ea-php56-php-imap",
"ea-php56-php-mbstring",
"ea-php56-php-mysqlnd",
"ea-php56-php-posix",
"ea-php56-php-sockets",
"ea-php56-php-xml"
],
"desc":"Feb 15 2016 php updated",
"version":"hHQ2prsq67hxCm0USqN9a8WEmgWMGUhyxNHIsGYH57XigjvoCmFYujXcZ8IUD50B",
"name":"Feb 15 2016 php updated (1)",
"tags":["PHP 5.4","PHP 5.5","PHP 5.6">
}
This is the profile I tried to make, based on it, but removing the older php versions while adding php7 and a couple mods, and looking to the cPanel stock profiles for examples.
{
"name":"Apr 10 2016 php 7 added",
"version":"1.0",
"desc":"Apr 10 2016 php 7 added and first custom profile",
"tags":["Apache 2.4","PHP 5.6","PHP 7.0">,
"pkgs":["ea-apache24",
"ea-apache24-mod_authn_socache",
"ea-apache24-mod_cgid",
"ea-apache24-mod_deflate",
"ea-apache24-mod_expires",
"ea-apache24-mod_headers",
"ea-apache24-mod_ldap",
"ea-apache24-mod_mime_magic",
"ea-apache24-mod_mpm_worker",
"ea-apache24-mod_proxy",
"ea-apache24-mod_security2",
"ea-apache24-mod_ssl",
"ea-apache24-mod_suexec",
"ea-apache24-mod_suphp",
"ea-apache24-mod_unique_id",
"ea-apr",
"ea-apr-util",
"ea-php56",
"ea-php56-build",
"ea-php56-libc-client",
"ea-php56-php",
"ea-php56-php-bcmath",
"ea-php56-php-calendar",
"ea-php56-php-cli",
"ea-php56-php-common",
"ea-php56-php-curl",
"ea-php56-php-exif",
"ea-php56-php-fileinfo",
"ea-php56-php-ftp",
"ea-php56-php-gd",
"ea-php56-php-gettext",
"ea-php56-php-iconv",
"ea-php56-php-imap",
"ea-php56-php-mbstring",
"ea-php56-php-mysqlnd",
"ea-php56-php-pdo",
"ea-php56-php-posix",
"ea-php56-php-sockets",
"ea-php56-php-xml",
"ea-php56-php-zip",
"ea-php56-runtime",
"ea-php70-build",
"ea-php70-libc-client",
"ea-php70-php",
"ea-php70-php-bcmath",
"ea-php70-php-calendar",
"ea-php70-php-cli",
"ea-php70-php-common",
"ea-php70-php-curl",
"ea-php70-php-exif",
"ea-php70-php-fileinfo",
"ea-php70-php-ftp",
"ea-php70-php-gd",
"ea-php70-php-gettext",
"ea-php70-php-iconv",
"ea-php70-php-imap",
"ea-php70-php-mbstring",
"ea-php70-php-mysqlnd",
"ea-php70-php-pdo",
"ea-php70-php-posix",
"ea-php70-php-sockets",
"ea-php70-php-xml",
"ea-php70-php-zip",
"ea-php70-runtime"
]
}
Does anyone see any gross errors? Anything that would lead to many messages of conflicting RPMs?
-
I'm sorry to hear that you have had such issues with migrating to easyapache4. The profiles you are using looking correct, I suspect the problem lies with what is already on your system. I would love to be able to have the chance to poke at it and convert your server over to EA4 & verify that sites are serving correctly. If you would like me to do this, could you please open a ticket with "ATTN: Matt Dees" in the subject? If not, I will need to see some the failures that you are encountering. In version 56 there are numerous improvements to the migration process and it's possible that you're hitting issues that are fixed in that release. 0 -
I'm sorry to hear that you have had such issues with migrating to easyapache4. The profiles you are using looking correct, I suspect the problem lies with what is already on your system. I would love to be able to have the chance to poke at it and convert your server over to EA4 & verify that sites are serving correctly. If you would like me to do this, could you please open a ticket with "ATTN: Matt Dees" in the subject? If not, I will need to see some the failures that you are encountering. In version 56 there are numerous improvements to the migration process and it's possible that you're hitting issues that are fixed in that release.
Thanks Matt, That's a pretty good offer! I'll get the ball rolling today.0
Please sign in to leave a comment.
Comments
2 comments