Upgrading from 2.1.2 to 2.2

Iluisa Olórin

Joined: 2007-01-20
Posts: 12
Posted: Sat, 2007-03-17 19:09

I've been to http://codex.gallery2.org/Gallery2:Upgrading and know I need to take the Replace all files option.

I know which files I've made changes to in the default installation and have backed those up.

When I upgrade, will I lose the configurations I have made in the Site Admin area and under Edit Album / Edit Permissions for individual albums, or are these settings safe?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2007-03-17 19:58

no, you don't lose any of your data. you don't lose your settings either.
what you lose are your modifications to gallery2/... files (.tpl files or whatever you might have edited manually).

anyhow, as always, we highly recommend to create regular backups and a backup before upgrading.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Iluisa Olórin

Joined: 2007-01-20
Posts: 12
Posted: Sat, 2007-03-17 20:06

Thanks. I wasn't certain, since the documentation says

Quote:
any modifications that you've made to Gallery 2 will be lost when you replace the files, with the exception of template changes made in local directories.

Out of curiosity, where are the configuration settings stored? In the database?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2007-03-17 20:07

bootstrap configuration is in config.php (database connection information, ...).
the rest is stored in the database, mostly in the PluginParameterMap table.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Iluisa Olórin

Joined: 2007-01-20
Posts: 12
Posted: Sat, 2007-03-17 21:16

I unpacked the full zip file on top of my existing installation and went to run the upgrader but Firefox says "the server is redirecting the request for this address in a way that will never complete."

What should I do now?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2007-03-17 22:30
 
Iluisa Olórin

Joined: 2007-01-20
Posts: 12
Posted: Sat, 2007-03-17 22:41

The problem seems to be because I had renamed main.php to index.php. I've managed now to upgrade and it seems to have run properly.

 
fbroussey

Joined: 2007-02-01
Posts: 2
Posted: Sun, 2007-03-25 14:21

I've the following problem when trying to upgrade from 2.1.2 to 2.2:

After unpack the full zip file on top of my gallery install, when i go to the upgrade link I've the following error:

251
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,

and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

--------------------------------------------------------------------------------

Apache/1.3.37 Server at www.broussey.com Port 80
0

Thanks for your help.