Thunder/Lightning :: Conversion to PHPSUEXEC

Started by Jason, June 19, 2006, 03:19:06 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Jason

It appears that the overall conversion of Thunder to phpsuexec has gone better than I expected.  The immediate threat requiring this change last night was on that server and prevented me from delaying -- even by a few days. 

I will move Lightning's conversion to Wednesday night for everyone on our remaining server.  I will look to start the fix there around 7 or 8pm EST.  There is less of an immediate need to react on that machine, though just to be sure, I'd like to have it updated as soon as possible.

If you have any concerns, please feel free to post them here or email me directly.

Once that server has been updated, I will provide more details into the change and why we acted as quickly as we did. I apologize again for the few of you who had incompatabilities we worked out today.  I understand your concern and wish I could've provided more lead time but I unfortunately have to keep the server (and all clients on it) in mind when making decisions like this.  When I went to bed, I was under the impression that all sites were up and fine because I went down the account listing and viewed all sites on Thunder one by one.  I missed the two sites above due to confusion on one of them due to the error message and the fact that the other one is a site under a different name than what my account list shows.  Had I known then that they were down, we could've corrected it within a few minutes.  I know it doesn't make up for the outage, but 2 sites out of around 90 on this box -- both of which were corrected within 10 minutes once I was aware this morning -- is much better than the server going down for an extended period of time when it could've been prevented by a proactive approach on my part.

FYI, I have discovered that Menalto's Gallery script will likely need to be adjusted after the conversion to work properly.  I can do this for you in a matter of minutes if you let me know ahead of time that you're running it.  For those of you who are web savvy, you will essentially have to clear out the htaccess file it uses (Remember:  htaccess files with php code in them will cause your site not to work after phpsuexec) and then rerun Gallery's configuration wizard.  File ownership may need to be adjusted as well (which I'll have to do for you) so if you let me know in advance, I'll take care of it for you.  I fixed about 7 instances of it last night pretty quickly.

Thank you,
Jason

Jason

Quote from: tmlfever on June 20, 2006, 02:51:28 PM
Off topic sorry, Jason did you get my PM?

Yes I did.  I will respond now.  Thanks!

bitwiz44

Umm.. i have a few 777's the when I try to change it I get "Fatal error" and it doesnt change.

Why? and What server am i on?

Jason

Quote from: bitwiz44 on June 20, 2006, 10:36:44 PM
Umm.. i have a few 777's the when I try to change it I get "Fatal error" and it doesnt change.

Why? and What server am i on?

You are on Lightning.

Are you using an ftp client to change your files or cpanel's built-in file manager?  I would highly recommend a standalone ftp client.


bitwiz44

Quote from: Jason on June 20, 2006, 10:44:20 PM
Quote from: bitwiz44 on June 20, 2006, 10:36:44 PM
Umm.. i have a few 777's the when I try to change it I get "Fatal error" and it doesnt change.

Why? and What server am i on?

You are on Lightning.

Are you using an ftp client to change your files or cpanel's built-in file manager?  I would highly recommend a standalone ftp client.



cpanel. um.. Ok.  :-\

Jason

Quote from: bitwiz44 on June 20, 2006, 10:59:53 PM
cpanel. um.. Ok.  :-\

Cpanel's built-in filemanager is widely viewed as a good option for quick fixes on the fly but isn't a highly reliable option for everyday use.  There are plenty of free options out there if you don't want to purchase a paid solution.

I will be converting everyone with 777 files down to 755 like I did for Thunder so you don't necessarily need to be concerned with that part as much.  I would recommend you check to see if you have any htaccess files in your account.  If so, you may want to make sure they don't have any php commands in them.  If so, clear that out, or rename the htaccess file itself (save a backup for reference).

Cheers,
Jason

Powerbob

Quote from: Jason on June 20, 2006, 08:21:58 AM
Powerbob,

Your forum is up.  Please confirm.

Regards,
Jason

Yes my Forum is back up and working now thanks


Powerbob
It's nice to be nice

bitwiz44

well.. Thanks. however I changed my attachment directory to 775 and now the members cannot upload an attachment or avatar.

Is this something  once you are done that will go away?

Jason

Quote from: bitwiz44 on June 21, 2006, 03:35:15 PM
well.. Thanks. however I changed my attachment directory to 775 and now the members cannot upload an attachment or avatar.

Is this something  once you are done that will go away?

You mean 755 right?

I'm not 100% but I'm pretty certain that will go away after the upgrade tonight.  I had a few issues with a forum after converting to 755 that vanished once phpsuexec was in place.

bitwiz44

Quote from: Jason on June 21, 2006, 03:46:33 PM
Quote from: bitwiz44 on June 21, 2006, 03:35:15 PM
well.. Thanks. however I changed my attachment directory to 775 and now the members cannot upload an attachment or avatar.

Is this something  once you are done that will go away?

You mean 755 right?

I'm not 100% but I'm pretty certain that will go away after the upgrade tonight.  I had a few issues with a forum after converting to 755 that vanished once phpsuexec was in place.


opps. I was doing 775.  :-\

Jason


Jason

Quote from: Jason on June 21, 2006, 07:47:37 PM
Lightning is being converted now.

Lightning has been converted.  Please check your site(s) for functionality and post here if you have any questions.

All servers have now been migrated.

I will email all clients now and followup with an "explanation post" here later once I'm sure everyone is good to go.

Jason

I've gone through site by site for Lightning and all looks pretty good.  I fixed about 8 forums -- which I must mention -- if you're running old versions of forum software, now is a good time to look into upgrading  (email me if you have questions).  I fixed a few file permissions with some oscommerce installs and that was about it.  I'm trying to fix a part of one site, but everything else that I can see is looking good.

Note:  Don't take my word for it -- please check your own sites for any scripts that aren't clearly linked off of your homepages.

More info to follow...

Jason

I have posted more info on why this implementation occurred so quickly in the client's-only area of our forum:

http://www.charlottezweb.com/forums/index.php?topic=464.0

(If you are a client and can't view the above link, you need to signup for the forum so that I can grant you membership to the private areas)

Thanks,
Jason