Loading...
 
Architecture / Installation

Architecture / Installation


zipping and dumping to a new server

posts: 46 Norway

Can someone advise me as to how I move my tikiwiki installations to another server?

I have 2 tw's that I need to move (and upgrade) so I tried to install them locally on my machine first - just to check that I managed it ... but it didn't work. I made a mysql dump of my db and then inserted it into a new db. I then ftp'ed all the files over to my local apache server. Howver when I tried to load the newly located site (I deleted templates_c first) I got a load of mysql errors mainly concerning user preferences and modules. I tried to install a fresh install 1.8.5 (as I have to do this anyway) but this didn't go either. (blank screen or empty array).


Rachael

posts: 2881 United Kingdom

Get a fresh tiki working on your local machine first to make sure that Tiki runs there fine. Then its just a case of mysql dump and reload to a blank database, FTP over the files and recorrect the db/local.php database values and run the setup.sh to setup the permissions or chmod accordingly.

Check the InstallTiki docs for your environment to make sure that you have everything set up correctly.

Damian


posts: 46 Norway

Hi,
Tiki works fine on my local machine, so I know its not that. I have now managed a migration of my other tiki and that worked perfectly and is placed in its new home without any problems at all. However this installation had a db of 500 kb (tiny as it is relatively new) my other tiki has a db of over 8 Mb. The second installation works fine on the old server but when I try and load the dumped db I get quite a few errors when inserting into the new mysql server. I've tried inserting the db by hand and then everything freezes up and mysql "goes away" . This happens on a very large "insert" - which I think are pictures that users have uploaded.

I have tried deleting this insert to see if it helps but it doesn't. The db inserts without any errors but tiki_index.php shows a load of errors concerning user preferences.

Rachael.