Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2011, 10:51 PM
MichelangeloITA's Avatar
MichelangeloITA MichelangeloITA is offline
 
Join Date: Dec 2009
Location: Italy, Rimini
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Everything messed up after moving to new hosting HELP!

Hi all guys,

I had to move to a new webhosting so I did a backup copy of my DB (80MB gzip compressed).

When I restored it everything were "cleaned": no posts, no users, no hooks, just a fresh installation of vB4.

Via Phpmyadmin everything looks fine, but I don't know where I fail :\

P.s. Before backup I run vB4.0.8, after I installed vB4.1.0 pl2.

P.p.s. Sorry for my bad english ._.

Michelangelo
Reply With Quote
  #2  
Old 01-10-2011, 02:31 AM
Brak710 Brak710 is offline
 
Join Date: Jan 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure your configuration files and stuff are referencing the proper DB.
Reply With Quote
  #3  
Old 01-10-2011, 11:51 AM
MichelangeloITA's Avatar
MichelangeloITA MichelangeloITA is offline
 
Join Date: Dec 2009
Location: Italy, Rimini
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it does, I can install/upgrade vB, I think I should upload vB4.0.8 and then upgrade to 4.1.0 :\
Reply With Quote
  #4  
Old 01-10-2011, 05:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You say you were running 4.0.8 and then installed 4.1. Did you run the upgrade.php script on the database after importing it?
Reply With Quote
  #5  
Old 01-10-2011, 08:03 PM
MichelangeloITA's Avatar
MichelangeloITA MichelangeloITA is offline
 
Join Date: Dec 2009
Location: Italy, Rimini
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You say you were running 4.0.8 and then installed 4.1. Did you run the upgrade.php script on the database after importing it?
Yes I did but it failed so I *STUPID ME* directly installed vB4.1.0.

Is there any way to downgrade?
Reply With Quote
  #6  
Old 01-10-2011, 08:58 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Downgrade to 4.0.8 from 4.1.0? Why? Your posts aren't going to suddenly appear if you did a fresh install.

To get back your posts/threads/users, create a new database, give your mysql user permission to it, upload the correct files to the server, create a config.php file that points to this backup database. Now see if your site is back up.
Reply With Quote
  #7  
Old 01-10-2011, 09:08 PM
MichelangeloITA's Avatar
MichelangeloITA MichelangeloITA is offline
 
Join Date: Dec 2009
Location: Italy, Rimini
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahhhhh so my mistake was to have uploaded DB first instead of forum files?? ._."

New DB + user => uploading forum files via FTP => restoring data in the new DB + config.php, ok?
Reply With Quote
  #8  
Old 01-10-2011, 11:08 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's OK to upload the files before the database, just don't run the upgrade script before you have the database imported (or you will end up doing a fresh install).
Reply With Quote
  #9  
Old 01-10-2011, 11:50 PM
MichelangeloITA's Avatar
MichelangeloITA MichelangeloITA is offline
 
Join Date: Dec 2009
Location: Italy, Rimini
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Lynne thank you so much
I did everything with Mysqldumper, but now I get this during the upgrade process:

Quote:
Database error in vBulletin 4.0.8:

Invalid SQL:
SELECT * FROM vbusergroup ORDER BY title;

MySQL Error : Table 'dbname.vbusergroup' doesn't exist
Error Number : 1146
Request Date : Monday, January 10th 2011 @ 08:38:45 PM
Error Date : Monday, January 10th 2011 @ 08:38:45 PM
Script : http://www.mydomain.it/install/finalupgrade.php?step=1
Referrer : http://www.mydomain.it/install/finalupgrade.php
IP Address : xx.xxx.xxx.xx
Username :
Classname : vB_Database
MySQL Version : 5.0.91-community
@___@

--------------- Added [DATE]1294715543[/DATE] at [TIME]1294715543[/TIME] ---------------

Solved

Thank's Lynne and Brak710
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06557 seconds
  • Memory Usage 2,244KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete