From .8 to .9

Having trouble installing serendipity?
Post Reply
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

From .8 to .9

Post by randulo »

Hi,

I have an s9y blog running in 0.8 and I have been testing the 0.9 version on the same server which seems to be working great.

Is there an easy way to import everything from 0.8 to 0.9. Obviously I could duplicate the 5 user accounts pretty quickly, but what about the messages? All this depends on what changes there are in the mysql tables.

Complicated? Easy?

Also, if I keep both on the system, I can revert to the 0.8 if an unexpeced problem comes up early.

thx
wesley
Regular
Posts: 197
Joined: Sun Jul 10, 2005 11:15 am
Contact:

Post by wesley »

Obviously if you simply do an 'upgrade' from 0.8 to 0.9 the installer will
do all the DB changes. So basically you could save the s9y database
tables somewhere and upgrade that..

OR, make duplicate tables with another name. You could have 0.9 installation
unzipped, then modify the local_config file there with appropriate changes
(so it points to the right database tables), then load the page. The installer
will go do the upgrade. Your 0.8 tables will be kept untouched, and if some
weird stuff happens, you could overwrite to 0.8 installation, undo the change
on local_config, and load. It'll use the original database again.
I make s9y plugins, too.
My s9y blog depends on them. :)
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Are you saying there is no difference in tables?

Post by randulo »

Has only the code changed?

I didn't even think you could upgrade between 0.8 and 0.9, I saw the answers about 0.8.3 to 8.4 of course.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Are you saying there is no difference in tables?

Post by garvinhicking »

Every serendipity version since 0.4 can be upgrade to 0.9 easily. We always cary all DB changes in the code, thus you can just overwrite the files and all will be fine.

A backup of files + DB tables is very reocmmended of course, just in case something goes wrong.

What usually can go wrong is:

1. Missing SQL privileges for your useraccount to ALTER TABLE or CREATE INDEX.

2. Missing write privilege to .htaccess or serendipity_config_local.inc.php

3. Missing write privilege to templates_c directory

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Re: Are you saying there is no difference in tables?

Post by randulo »

garvinhicking wrote:What usually can go wrong....
Garvin, thanks for the foresight you show by adding that list :)

You were obviously right (obviously, since you wrote the stuff) in that version .9 brings a major step in multilinguality with the UTF-8 management.

When you get to "multiblogality", s9y will probably THE best software of its kind available. It already responds to our needs better than the others we tried.

r
Post Reply