Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: calisun on June 16, 2011, 08:40:16 PM

Title: Upgrading from 7.x to 8.x
Post by: calisun on June 16, 2011, 08:40:16 PM
I have two questions about upgrading to 8.x

1) Before upgrading I know I will need to remove php5-cgi.
I have a lot of i-bays, and over they years, for some of them I enabled php5-cgi and for some of them not. At this point I don't remember all the i-bay I have enabled php5-cgi for.

My question is, how do I find out which i-bays have php5-cgi enabled for them so I can run a command to return to default version of PHP?

2) What is the "safer" or recommended upgrade method, using CD or YUM?
Title: Re: Upgrading from 7.x to 8.x
Post by: cactus on June 17, 2011, 01:52:35 PM
2) What is the "safer" or recommended upgrade method, using CD or YUM?
Both should be equal, but during beta stages upgrade paths are not checked so errors could be possible. I suggest you make a proper backup before doing so.
Title: Re: Upgrading from 7.x to 8.x
Post by: calisun on June 17, 2011, 07:35:26 PM
Thank you cactus for your reply.

How about my first question, does anybody know how to find out which i-bays have php5-cgi enabled for them?
Title: Re: Upgrading from 7.x to 8.x
Post by: Stefano on June 17, 2011, 08:20:21 PM
a dirty trick
Code: [Select]
db accounts show | grep -B15 -i php5 | grep '=ibay'

HTH
Title: Re: Upgrading from 7.x to 8.x
Post by: calisun on June 18, 2011, 12:41:45 AM
Stefano,
thank you very much, works great
Title: Re: Upgrading from 7.x to 8.x
Post by: CharlieBrady on June 19, 2011, 07:24:22 PM
Bug created to automatically obsolete the php5-cgi contrib:

http://bugs.contribs.org/show_bug.cgi?id=6652