-
- 406 Posts
So far 3 days to move revo 2.1.2 site from development to production.
Procedure in rtfm.modx.com is very incomplete.
1) DB name is hard-wired into several places, things will fail if one tries to import the database, a common method of moving sites from development to production
2) Contexts are hard-wired into the DB as well -- same problem as above.
3) Provisioner addon no longer works due to security changes in 2.1.x...author says no fix in immediate sight.
Frequently development and production servers are configured very differently from each other, what works fine in dev may not work so well in a more secure production environment.
Result?? One must now often move modx sites BY HAND -- pretty much all other CMSes have server moves down pat.
Another example of MODx’ being so rough around the edges -- things like this must get fixed for MODx to get any traction anywhere.
Thank you, Tom
-
- 4 Posts
I have that on my todo-list, but did not wrote any line of code.
Anyone allready working on a Extra for moving content from one modx to another?
-
- 406 Posts
Probably one way to do it to avoid the issues that provisioner has is to do a selective mysql backup and restore...ask what people want to import from one site to another, do the appropriate export/import process, also requires verifying table prefixes and which items people want to import, most of modx can be moved from server to server by export/import the right tables, I did this today, then cleaned up a lot of things, I learned that after importing system settings TinyMCE likes to be completely removed and reinstalled.
HTH Tom
-
- 24,544 Posts
Did you run Setup in upgrade mode after moving the site? That’s intended to straighten out the paths.
-
- 406 Posts
I did try that...various things hard-wired into the DB caused me problems though.
Thank you, Tom
-
- 24,544 Posts
Quote from: TomMLS at Jul 13, 2011, 01:38 AM
I did try that...various things hard-wired into the DB caused me problems though.
Thank you, Tom
If they were built-in MODX system settings, it would be great if you’d report them at
http://bugs.modx.com/.
If they were settings added by MODX extras, you could report them to the author or at the GitHub site for the extra under "issues."
Hmm... the database component there is the simplest part of the transfer: it’s a straight up MySQL dump, *identical* to the step you’d take transferring any number of other web-apps from dev to prod. What issues were you experiencing?