PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.6x (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-6x/)
-   -   2.1 upgrade was pretty rough... (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-6x/128287-2-1-upgrade-pretty-rough.html)

enterpriseJM October 27th, 2006 09:31 PM

2.1 upgrade was pretty rough...
 
... and now all my member uploads are gone. They are still on the server, but there is nothing on the pages or categories any more.

I followed the upgrade instructions to the letter. I ran the upgrade script and made sure upgrade was checked. I got a database error. I refreshed and got more of the same. So, I reinstalled all the files and tried it again. Nothing but database errors. I tried to do a complete install and was told I already had it installed.

The gallery pages crashed to database errors too. Nothing worked in the gallery any more. So, thinking an uninstall might back out of the upgrade and let me go back to 2.0, I clicked the uninstall button. Then I was presented with a re-install button, which I thought was very good, so I clicked it.

The product installed fine and took me right to the CP. I made the edit to init.php and also reverted my customized templates (which were only changes to the page title order).

Well, the gallery is there now and it shows version 2.1, but there is nothing to show. Is there a way to get back my images? There weren't many as I just installed the program last weekend, but I'd still like to have them all back.

I don't know what I did wrong or what happened, but this was the clumsiest upgrade of any vB product I have had so far. I've used vB for several years and had the gallery installed before vB 3.6.x and only uninstalled it because of problems. When 2.0 came out, I waited, but finally installed it. There were some glitches, but nothing major. Now I got this problem in the upgrade to 2.1. I hope someone can help me get my images and posts back. Or at least tell me what to do to prevent this for the next upgrade.

Thanks,

Jim

Zachariah October 27th, 2006 09:58 PM

- What were the errors you had on the upgrade ?
There were many changes and some old hacks may not work.

If you uninstalled the software your data was removed. If you made a backup before you started the data can be restored on the new install (database and file wise). phpmyadmin and ftp.

dbarry October 27th, 2006 10:34 PM

Jim,

I got burned a copy times from installing upgrades, so I do a super-backup every time. If your provider allows ssh, you can make a shell script like this one - it tars all of the "critical" directories, does a mysql dump, and zips it up.

#!/bin/bash

# Create backups of /etc, /home, /usr/local, and...

backupdirs="forum gallery links images thumbshots"
mkdir /home/forum/www/backups/$(date +%Y%m%d)
for path in $backupdirs
do
echo "System backup on $path"
tar -czf /home/forum/www/backups/$(date +%Y%m%d)/$path.$(date +%Y%m%d).gz /home/forum/www/$path
sleep 2
done

mysqldump -C -umy_forum -ppassword my_forum >/home/forum/www/backups/$(date +%Y%m%d)/$(date +%Y%m%d).backup-file.sql
gzip /home/forum/www/backups/$(date +%Y%m%d)/$(date +%Y%m%d).backup-file.sql

enterpriseJM October 27th, 2006 10:35 PM

I do auto backups to the database every 4 hours, but this was not worth trying to restore only Gallery info and files for -- only a dozen images or so and 4 or 5 replies. It was frustrating though.

I hope you'll take the time to see my other post about the title in my header: http://www.photopost.com/forum/showt...wpost&t=128286

Thank you.

Jim


All times are GMT -5. The time now is 09:54 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97