Hello,
I just tried upgrading my gallery2 installation from 2.2.5 core 1.2.0.7 to the most recent version of gallery 2 (2.3.1).
I expanded the archive on top of my old installation and ran upgrade. I went through all steps. It only indicated one error: "Theme matrix could not be upgraded". (At that time it also gave a very long page with related error messages.)
However, NOW IT IS NOT POSSIBLE TO ACCESS THE SITE. When I go to the site I come to a page that only says "Error. An error has occurred".
I have tried running the upgrade again and I get no errors this passage.
The site seems to have crashed during the upgrade. Please give advice how to continue. (The reason for upgrading is that I intend to continue to Gallery3)
Posts: 8339
its likely a necessary DB table did not get created properly.
Check your server logs for clues.
We don't advise upgrading such old builds in one step, but rather incrementally, so your first step should have been to 2.2.6.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 8339
Oh, and you can also put gallery into debug mode and see what the error might be.
FAQ: How to set/use Gallery in debug mode?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 25
Thank you.
I set debug-mode. I removed personal information, added some linebreaks and included the result of the debug below. (matrix is the theme in use)
Gallery 2 has worked very well during the two years I have used it. The reason for updating is that I want to go to Gallery 3.
What is your general advice? I do not have much information stored in the database. If I could just import the albums-directory (about 1500 images) into Gallery 3 that would maybe be the best. As long as the images and folders would just get their file and folder names in Gallery 3 that would be enough.
I do not have direct SSH access to my server so it takes a little time performing all operations for updating. (to give dommands I ftp-upload php-files with bash-commands in shell_exec. larger copying often time out)
Posts: 8339
Your error looks simple
Does the httpauth plugin exist? and is the missing class file actually there?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 25
Thanks, you are quite right.
I made a testinstallation before upgrading and copying the files from the real installation to the testinstallation i now realize there have been problems.
I am happy with the GoDaddy webhosting, but there is no really good way to copy large amounts of files. The http-control-panel will time out. using PHP will also time out shell_exec('cp -R a b'); One must split in small parts.
Maybe better for me to import immediately to Gallery 3?
How would you estimate the result of just installing Gallery 3 and importing from my current (working non-test) installation?
Thanks.
Posts: 8339
http://codex.gallery2.org/Gallery3:Modules:g2_import
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 25
Thanks a lot for good help, particularly spotting the missing module.
Good news: After copying missing modules from the original installation to the upgraded testinstallation, the testinstallation is also starting to work.
Hopefully I can import from the testinstallation to Gallery 3.
My only remaining question now:
Importing my approx 1500 pics to Gallery 3 may take 6-8 hrs, as I understand. I am running from Internetcafes and will maybe have trouble staying connected for that amount of time. Is there any way I can make partial imports? What I need is that the titles of the pictures and the titles of the folders (albums) are retained in the new installation. (I have no other significant data in the installation.)
Thanks a lot. I have really got good help in this forum on several occasions.
Posts: 8339
You'll have to start a new thread with your G3 question in the G3 forums, as I don't have any experience importing to G3.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2