Reinstalling Gallery fail in CPanel

tomtefan

Joined: 2009-11-05
Posts: 2
Posted: Thu, 2009-11-05 20:56

As my area of expertise isn't webservers at all, please tell me if there's further information you need....

I have tried several times to follow the instructions on this page:
http://codex.gallery2.org/Gallery2:How_To_Restore_From_Backup
without success.

Also, in "restoring from a full backup" where it says:
" - - just put those things back in place and - - - "
I imagine that CPanel wouldn't find it.

I really would like it to work through CPanel as that means that I can have a really simple maintenance (upgrade etc. - just two clicks).

So I tried to:
- make a new installation though CPanel
- replace the entire gallery folder with the old one.

Then I got
"Missing or invalid config.php

You tried to run the upgrade process but a valid config.php is missing. "

and

"Go to the Gallery 2 Installer "

And I guess that might be that it's mismatching versions? But on the other hand, does CPanel know about this if I just replace the folder?

Some info from the web hotel:

Operativsystem Linux
Kernel/Kärna version 2.6.18-128.7.1.el5
Apache version 1.3.41 (Unix)
PERL version 5.8.8
PHP version 5.2.6
MySQL version 5.0.67-community
Kontrolpanel version 11.24.4-RELEASE 33609

Gallery verrsion:
It says 2.1.2 in CPanel and "upgrade now"; I don't know if it has fetched that it's an old forlder, because another Gallery test folder I installed says 2.3 and no request for upgrade.....

All help appriciated!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-11-05 21:05

First let's start off with ignoring the whole cPanel mess and not use it to install, upgrade, etc Gallery.

Second, what are you trying to do? Did you have gallery installed and you're trying to upgrade?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
tomtefan

Joined: 2009-11-05
Posts: 2
Posted: Fri, 2009-11-06 22:24

Sorry, I'll try to be clearer.....

I'm trying to install an old backup.

Once I had problems at the web hotel; the gallery went corrupt during an upgrade (the account was full of backups; no place left).

So I trie to make a new install of Gallery (the old one since long gone)and install an old gallery backup of our wedding photos on it.