Hi.
I had a fully functional installation of Gallery 2.3 running on Clark Connect Community edition 5.0 that I installed manually, not with Yum, but it didn't create the thumbnails of uploaded videos correctly, so I tried to install FFmpeg-module with yum.
#yum install ffmpeg.i386
#yum install gallery2-ffmpeg.noarch
I was not really paying enough attention to what I was doing and this is the result....
May 01 08:07:35 Installed: gallery2-matrix - 2.3-15.el5.noarch...
May 01 08:07:36 Installed: gallery2-classic - 2.3-15.el5.noarch...
May 01 08:07:38 Installed: gallery2 - 2.3-15.el5.noarch...
May 01 08:07:39 Installed: gallery2-rewrite - 2.3-15.el5.noarch...
May 01 08:07:39 Installed: gallery2-httpauth - 2.3-15.el5.noarch...
May 01 08:07:40 Installed: gallery2-tile - 2.3-15.el5.noarch...
May 01 08:07:40 Installed: gallery2-ffmpeg - 2.3-15.el5.noarch...
May 01 08:21:38 Installed: libid3tag - 0.15.1b-5.el5.i386...
May 01 08:21:39 Installed: imlib2 - 1.3.0-6.el5.i386...
May 01 08:21:39 Installed: gsm - 1.0.12-4.el5.i386...
May 01 08:21:39 Installed: libdc1394 - 2.0.2-1.el5.i386...
May 01 08:21:40 Installed: ffmpeg-libs - 0.4.9-0.52.20080908.el5.i386...
May 01 08:21:41 Installed: ffmpeg - 0.4.9-0.52.20080908.el5.i386...
So today when I went to the gallery website, I was greeted by the 2.3 installer...
My G2data folder is still intact and all, and I don't really want do anything until I know what is best to do in this situation.
I know that I re-installed Gallery but I don't know yet what has been overwritten or how much damage has been done.
So please if anyone knows what I can do to hopefully avoid reconfigure my gallery, please let me know.
Running the installer again is maybe not a big deal as long as I don't have to upload everything again, but I know so little about how Gallery2 works so I don't want to take any chances.
Any help is greatly appreciated.
/Joe
Posts: 8339
check that the DB still has your g2 data and edit gallery2/config.php to point to the appropriate database and g2data
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 6
All the g2 data is still in the database and config.php has the right database settings.
I was poking around a bit in the different config files and found one condition which decides if it should redirect to the installer or not:
@$gallery->getConfig('setup.password'))
/* If they don't have a setup password, we assume that the config.php is empty and this is an
* initial install
But I do have a password in my config.php so I don't know why it is still sending me to the installer page.
Can I maybe just delete or move the Install folder from the Gallery2 folder?
Thanks.
Posts: 8339
gallery also redirects if g2data/versions.dat is missing or not readable.
try:
chmod -R 0777 /full/system/path/to/g2data
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 6
I tried that, it didn't work. I also tried to rename the Install directory to something random, but it still didn't work
Posts: 8339
I would follow the instructions as if you had moved gallery to a new server.
FAQ: How can I move my Gallery installation from one server to another?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 4342
Did you actually make sure you do have a versions.dat file?
Posts: 6
Yes I did, versions.dat looks like this:
1.3.0
2.3
suprsidr :
I will take a look at the link.
Thanks guys for your help.
/Joe
Posts: 6
Hello again.
I found a way to avoid the installation page, I renamed gallery2.conf in the Apache conf.d/ directory, which made the server to redirect all traffic from http://server/gallery2 to the new installation which is located in /etc/gallery2 instead of my old one(/var/www/http/gallery2)
So far so good, but now when I access my gallery, no graphic nor background colors are shown. Just like a plain html website, my images though are shown, so in a way the gallery works , but it looks really ugly.
I don't know if there is any point trying to fix this installation or if I should just try yo switch to the other one.
What do yo think?
Thanks for your time.
Screenshot:
http://bayimg.com/daIHeaAdj
Posts: 6
I found out what it was, just had to fix the config.php a little bit and now it works perfectly.