Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2009-03-13 12:49:18

korn
Guest

Migration from 1.1 ?

Tags: [migration]

Hi!

Is it possible to upgrade from an old version (1.1) to 2.0 easily ?

Same topic in French : http://fr.piwigo.org/forum/viewtopic.php?id=15097

#2 2009-03-15 23:02:41

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11713
Website

Re: Migration from 1.1 ?

It depends a lot on what you mean by "easily" :-)

Current upgrade script only starts from releases 1.3 and later. So you must first upgrade to 1.3. Here are 2 very old forum topics that describe the procedure:

- [Forum, topic 333] How to upgrade from version 1.1 to 1.2 ?, WARNING: here come refreshed links for release 1.2.1 and for upgrade1.1to1.2.zip
- [Forum, topic 1240] Release 1.3, WARNING : hre comes refreshed links for release 1.3.4 and for upgrade1.2to1.3.zip

I'm glad I make serious backup of my personal computer because the files hosted on website had vanished!

One you have upgraded to 1.3, follow the upgrade guide to upgrade fro 1.3.4 to 2.0.0.

Let us know if you've succeeded in your 7 years upgrade (1.1 was released on July 19th, 2002)


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

#3 2009-03-18 02:18:54

korn
Guest

Re: Migration from 1.1 ?

1.1 to 1.2 : no problem

1.2 to 1.3 : it seems that the db schema does not match the php files
I did the upgrade 1.2 to 1.3  and it worked fine.
Then I installed 1.3.4. I got a lot of errors. After a little investigation I found that some columns were not in the schema. For instance : forbidden_categories I commented it in user.inc.php to bypass the error. Still there are some errors.

Is there an upgrade specific for 1.3.4 ?

#4 2009-03-18 02:51:35

korn
Guest

Re: Migration from 1.1 ?

So I created manually (using the .sql of the install) :
- The column forbidden_categories  in users
- The table user_category
- The column uppercats  in categories
There were still some failures. I had to go in to the admin and do some refresh (Admin > Categories > Editer)

I keep you updated on the following steps ....

#5 2009-03-18 13:09:34

korn
Guest

Re: Migration from 1.1 ?

Seems OK !

Upgrade from 1.3.1 to 2.0.0

Statistiques

    * temps total de la mise à jour : 1.646 s
    * temps total des requêtes SQL : 1.611 s
    * nombre de requêtes SQL : 383

#6 2009-03-18 16:51:47

VDigital
Former Piwigo Team
Location: Paris (FR)
Registered: 2005-05-04
Posts: 17680
Website

Re: Migration from 1.1 ?

Well done.

Maybe you can subscribe (Register) to the forum.
Therefore it will be easier to help you on any questions about new tables or warning messages you could have.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013