How to migrate from 1 server to another
I have a Vanilla installaton in one server say forums.domain1.com and i want to migrate it to forum.domain2.com, i did copy files and db but not stable in destination, what all steps i need to do for the same or do you have any guide handy with
Best Answers
-
vrijvlinder MVP
1.copy backup of database
2.Install Vanilla in the new server make sure all works copy over the plugins and themes you may have used and the uploads folder.
3.Import the database into the new one using the dashboard import button on the panel
4.Run http://yoursite.com/utility/structure put in the name of the new domain of course. Do this while in the dashboard.
Check that all the info was imported properly.
8 -
peregrine MVP
@abhilashsnair said:
copied to Indian server still there is a 40 Minutes Lagthis has nothing to do with this discussion.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
5 -
peregrine MVP
@vrijvlinder said:
Someone needs to change the title of this discussion from mugrate to migrate.. pleaseI thought he was mug rating not migrating.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
6
Answers
1.copy backup of database
2.Install Vanilla in the new server make sure all works copy over the plugins and themes you may have used and the uploads folder.
3.Import the database into the new one using the dashboard import button on the panel
4.Run http://yoursite.com/utility/structure put in the name of the new domain of course. Do this while in the dashboard.
Check that all the info was imported properly.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@vrijvlinder said: (mostly correct)
don't do step 3 that way, it will cause problems
3. Import the database into the new one using the dashboard import button on the panel
no - not a good idea. the dashboard import is used for importing files (creating during forum conversions from other forum software). and should not be used when moving from one vanilla install to another (unless you are using vanilla 1.x)
use this step 3
or copy the exported sql database to your new server and use mysql on the new server.
@abhilashsnair
do you know your version of vanilla? if so why don't you follow the posting suggestions to include it in every one of the discussions you create?
http://vanillaforums.org/discussion/26710/why-adding-your-version-is-more-important-than-ever
http://vanillaforums.org/discussion/26943/tutorial-how-to-determine-the-version-number-of-vanilla-that-you-are-using-for-your-own-forum
I also added these I am sure they will be useful.
http://vanillaforums.org/discussion/18015/how-to-ask-questions-on-the-internet
when-asking-a-question
http://vanillaforums.org/discussion/25115/how-to-how-can-a-new-user-better-help-the-community-
and a few other helpful links:
http://vanillaforums.org/discussion/23130/forum-post-ettikett-etiquette
http://vanillaforums.org/discussion/17954/food-for-thought-forum-etiquette
http://vanillaforums.org/discussion/23483/advice-for-all-those-just-starting-out-with-vanilla
troubleshooting tips: http://vanillaforums.org/discussion/20231/how-to-become-somewhat-adept-at-modifying-vanilla-
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I guess you also have to clear the files in /cache
copied to Indian server still there is a 40 Minutes Lag
this has nothing to do with this discussion.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@vrijvlinder i copied full files,data ported to mysql, config/config.php Edited
but utility/structure -> 404 Not found
and URL giving : Something has gone wrong.
Please help
Domain: http://forums.morbits.net
post contents of config minus personal info like passwords
post the contents of the htaccess file
enable debug mode add to config $Configuration['Debug'] = TRUE;
post result
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@vrijvlinder
Config.php
<?php if (!defined('APPLICATION')) exit();
// Conversations
$Configuration['Conversations']['Version'] = '2.1';
// Database
$Configuration['Database']['Name'] = '#####';
$Configuration['Database']['Host'] = 'localhost';
$Configuration['Database']['User'] = '######';
$Configuration['Database']['Password'] = '######';
// EnabledApplications
$Configuration['EnabledApplications']['Conversations'] = 'conversations';
$Configuration['EnabledApplications']['Vanilla'] = 'vanilla';
// EnabledPlugins
$Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
$Configuration['EnabledPlugins']['embedvanilla'] = TRUE;
$Configuration['EnabledPlugins']['AllViewed'] = TRUE;
$Configuration['EnabledPlugins']['Buttons'] = TRUE;
$Configuration['EnabledPlugins']['ButtonBar'] = TRUE;
$Configuration['EnabledPlugins']['Emotify'] = TRUE;
$Configuration['EnabledPlugins']['VanillaInThisDiscussion'] = TRUE;
$Configuration['EnabledPlugins']['Gravatar'] = TRUE;
$Configuration['EnabledPlugins']['ProfileExtender'] = TRUE;
$Configuration['EnabledPlugins']['SplitMerge'] = TRUE;
$Configuration['EnabledPlugins']['Sprites'] = TRUE;
$Configuration['EnabledPlugins']['Tagging'] = TRUE;
$Configuration['EnabledPlugins']['cleditor'] = TRUE;
$Configuration['EnabledPlugins']['ImageUpload'] = TRUE;
$Configuration['EnabledPlugins']['PlUpload'] = TRUE;
$Configuration['EnabledPlugins']['FileUpload'] = TRUE;
$Configuration['EnabledPlugins']['WhosOnline'] = TRUE;
// Garden
$Configuration['Garden']['Title'] = 'INTERNAL FORUMS';
$Configuration['Garden']['Cookie']['Salt'] = '#######';
$Configuration['Garden']['Cookie']['Domain'] = '';
$Configuration['Garden']['Registration']['ConfirmEmail'] = '1';
$Configuration['Garden']['Registration']['Method'] = 'Invitation';
$Configuration['Garden']['Registration']['ConfirmEmailRole'] = '3';
$Configuration['Garden']['Registration']['CaptchaPrivateKey'] = '';
$Configuration['Garden']['Registration']['CaptchaPublicKey'] = '';
$Configuration['Garden']['Registration']['InviteExpiration'] = '-1 week';
$Configuration['Garden']['Registration']['InviteRoles']['3'] = '0';
$Configuration['Garden']['Registration']['InviteRoles']['4'] = '0';
$Configuration['Garden']['Registration']['InviteRoles']['8'] = '0';
$Configuration['Garden']['Registration']['InviteRoles']['16'] = '0';
$Configuration['Garden']['Registration']['InviteRoles']['32'] = '0';
$Configuration['Garden']['Email']['SupportName'] = 'Morbits Forum';
$Configuration['Garden']['Email']['SupportAddress'] = 'admin@morbits.net';
$Configuration['Garden']['Email']['UseSmtp'] = '1';
$Configuration['Garden']['Email']['SmtpHost'] = 'smtp.gmail.com';
$Configuration['Garden']['Email']['SmtpUser'] = '########';
$Configuration['Garden']['Email']['SmtpPassword'] = '#########';
$Configuration['Garden']['Email']['SmtpPort'] = '465';
$Configuration['Garden']['Email']['SmtpSecurity'] = 'ssl';
$Configuration['Garden']['InputFormatter'] = 'Html';
$Configuration['Garden']['Version'] = '2.1';
$Configuration['Garden']['RewriteUrls'] = TRUE;
$Configuration['Garden']['Cdns']['Disable'] = FALSE;
$Configuration['Garden']['CanProcessImages'] = TRUE;
$Configuration['Garden']['SystemUserID'] = '2';
$Configuration['Garden']['Installed'] = TRUE;
$Configuration['Garden']['Format']['Hashtags'] = FALSE;
$Configuration['Garden']['Html']['SafeStyles'] = FALSE;
$Configuration['Garden']['InstallationID'] = '##########';
$Configuration['Garden']['InstallationSecret'] = '########';
$Configuration['Garden']['Theme'] = 'abi';
$Configuration['Garden']['HomepageTitle'] = 'INTERNAL FORUMS';
$Configuration['Garden']['Description'] = '';
$Configuration['Garden']['ShareImage'] = '2WS4G6TMOXWI.png';
$Configuration['Garden']['FavIcon'] = 'favicon_98e4559c56871d61.ico';
$Configuration['Garden']['Logo'] = '7ZE0SGKBJ14D.jpg';
$Configuration['Garden']['Upload']['AllowedFileExtensions'] = array('txt','jpg','gif','png','bmp','zip','gz','tar.gz','tgz','psd','ai','fla','swf','pdf','doc','xls','ppt','docx','xlsx','log','csv','rar','ico','sql');
// Plugins
$Configuration['Plugins']['GettingStarted']['Dashboard'] = '1';
$Configuration['Plugins']['GettingStarted']['Plugins'] = '1';
$Configuration['Plugins']['GettingStarted']['Registration'] = '1';
$Configuration['Plugins']['GettingStarted']['Categories'] = '1';
$Configuration['Plugins']['GettingStarted']['Discussion'] = '1';
$Configuration['Plugins']['GettingStarted']['Profile'] = '1';
$Configuration['Plugins']['ProfileExtender']['ProfileFields'] = 'Location,Facebook,Twitter,Website';
$Configuration['Plugins']['ProfileExtender']['RegistrationFields'] = 'Location';
$Configuration['Plugins']['ProfileExtender']['TextMaxLength'] = 140;
$Configuration['Plugins']['FileUpload']['Enabled'] = TRUE;
// Routes
$Configuration['Routes']['DefaultController'] = 'discussions';
// Vanilla
$Configuration['Vanilla']['Activity']['ShowDiscussionBody'] = TRUE;
$Configuration['Vanilla']['Activity']['ShowCommentBody'] = TRUE;
$Configuration['Vanilla']['Version'] = '2.1';
$Configuration['Vanilla']['AdminCheckboxes']['Use'] = TRUE;
$Configuration['Vanilla']['Categories']['MaxDisplayDepth'] = '3';
$Configuration['Vanilla']['Categories']['DoHeadings'] = FALSE;
$Configuration['Vanilla']['Categories']['HideModule'] = FALSE;
$Configuration['Vanilla']['Discussion']['SpamCount'] = '3';
$Configuration['Vanilla']['Discussion']['SpamTime'] = '60';
$Configuration['Vanilla']['Discussion']['SpamLock'] = '120';
$Configuration['Vanilla']['Comment']['SpamCount'] = '5';
$Configuration['Vanilla']['Comment']['SpamTime'] = '60';
$Configuration['Vanilla']['Comment']['SpamLock'] = '120';
$Configuration['Vanilla']['Comment']['MaxLength'] = '80000';
// Last edited by roopjith (122.166.240.214)2014-08-14 09:48:35
====================================================
there is no .htacces file found
http://vanillaforums.org/discussion/comment/220447/#Comment_220447
http://vanillaforums.org/discussion/comment/220448/#Comment_220448
http://vanillaforums.org/discussion/comment/219669/#Comment_219669
http://vanillaforums.org/discussion/comment/219687/#Comment_219687
http://vanillaforums.org/discussion/comment/220157/#Comment_220157
http://vanillaforums.org/discussion/28420/faq
after carefully reading the above links
then make one if you are using apache server.
https://github.com/vanilla/vanilla/blob/master/.htaccess
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
now the home page is loading but on clicking discussions blank page is coming
Have your cleared your
/cache
folder of.ini
files?Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
I say:
what does your .htaccess file look like now.
did you follow troubleshooting instructions.
do you have debug on?
did you read the troubleshooting links given to you several times.
http://docs.vanillaforums.com/developers/troubleshooting/
http://vanillaforums.org/discussion/28420/faq
http://vanillaforums.org/discussion/comment/199091/#Comment_199091
http://vanillaforums.org/discussion/comment/208333/#Comment_208333
these links or links to these links were provided a few times. make an effort to read them a few times, and you will have your answers and solution.
In any event, maybe these links will help someone else, if they choose to read them carefully.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Someone needs to change the title of this discussion from mugrate to migrate.. please
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I thought he was mug rating not migrating.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Mugre in spanish means dirt , or schmutz ... to Mugrate then would mean to make something schmutzich in spanglish...
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Removed sensitive information from his posted config file.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Ok . Resolved . Now i configure Outgoing Mail with Gmail
smtp.gmail.com
But mails are not sending
Please re-read the links in this discussion or make some attempt to read the links.
http://vanillaforums.org/discussion/comment/209871/#Comment_209871
here is the gist. quite easy...
when you solve something the idea is to put what you did that solved the issue, so it helps other people besides yourself.
why you have a completely different question, start a new post.
-
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.