FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Move the forum to a new Server - Step by Step
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Move the forum to a new Server - Step by Step [message #40895 is a reply to message #40624] Fri, 25 April 2008 13:19 Go to previous message
voisardf is currently offline  voisardf   Switzerland
Messages: 3
Registered: March 2008
Location: Switzerland
Karma:
Junior Member
hello,

Thanks a lot for your help!
I finally managed the transfer, but had to choose a different way because of two major issues:


  1. An awful slow response time from my old server (the reason for the migration)
  2. The unlocking of the forum files did not work properly; some of the subfolders and files in the FUD data folder (theme, images, i18n an so on) have not been set to 0777 or 0666, so I couldn't see or download them as I have no login permissons as root. Maybe the response time of the server is also the cause of this problem


So, if the "normal" way described by GOmez won't work, this is how I managed it.


  1. I did a basic install of the same forum version (2.7.6) on the new server
  2. Then I desactivated the old forum and unlocked the files in the admin panel
  3. Afterwards I chmoded the still locked folders uploading a little php script and executing it from a web accessible folder (with chmod('absolute_path_of_the_folder', 0777))
  4. Then I downloaded the Globals.php, the files and the theme folder from the data root folder
  5. Afterwards I did a MySQL data export of the old forum tables with phpMyAdmin and opened it in a text editor to change the absolute paths to the attachement files stored in the "fud_attach" table
  6. This done, I imported the tables in the new server's database (replacing the empty ones of the basic install)
  7. I changed all the absolute paths in the old globals.php to point to the new server's folder and replaced the globals.php from the basic install on the new server with the modified one. - Don't forget to change the database user & password as I did Wink if it's not the same on the two servers...
  8. I also replaced the files and theme folder of the new basic install with the old ones I downloaded before
  9. Finally, I logged into the new forum admin console, run a consistency check, a database optimization and rebuilt all the themes, locked the new forum and everthing worked fine.


That's it - or almost. I think I still have some minor issues with some of the old attachements

François Smile
[Message index]
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Previous Topic: Private Messaging Wonderments
Next Topic: Ban privelegy, how to add?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 03:22:17 GMT 2024

Total time taken to generate the page: 0.04124 seconds