[xwiki-users] Issues while importing previous working xwiki XAR file in to new installed XWIKI setup?
Hi all, I have xwiki setup done on machine A with custom setting like log changed, user, group and space rights settings .Also had space contents/attachment. Now i did the fresh installation of xwiki on new machine B..What i wanted was every setting,content, attachment i created on machine A xwiki database should be migrated to machine B xwiki database. ** *What i did for this is :-* 1) On machine A, as admin user navigated to export. It asked me package name and description. I entered the value in that and it created a A.xar file. 2)Now after xwiki installation i.e after extracting * xwiki-enterprise-web-3.3.war* inside tomcat on machine B, i navigated to import and imported A.xar file.Now i log in as admin user. *Actual Problem* Now i see the main space webhome page on machine B different from machine A main space webhome page.Like under space i see this error Unknown macro: spaces The "spaces" macro is not in the list of registered macros. Verify the spelling or contact your administrator. Same error is there for Tags.Also i do not the setting i did on default colour theme like i changed the logo. Though i can see all the previous user,group ,space rights and content. *Not getting what i am missing here?*
If all your customizations were done to wiki pages (and not directly to files server-side), then importing the xar should create an identical instance on B. Maybe something went wrong during export ? Did you have error messages ? Another thing that can be checked, is the content of the generated .xar : it's a zip file format, and folders structure maps pages structure. This way you could see if things are missing in the .xar (pay attention also to empty files). In you point 2) you say you imported then logged as admin, didn't you log as admin before importing ? If not, you could retry this way, maybe you didn't have sufficient rights during import to overwrite some existing pages if you were not logged as admin user. -- View this message in context: http://xwiki.475771.n2.nabble.com/Issues-while-importing-previous-working-xw... Sent from the XWiki- Users mailing list archive at Nabble.com.
Thanks a lot jerem.It worked. On Fri, Jan 13, 2012 at 1:14 PM, jerem <jeremie.bousquet@gmail.com> wrote:
If all your customizations were done to wiki pages (and not directly to files server-side), then importing the xar should create an identical instance on B. Maybe something went wrong during export ? Did you have error messages ? Another thing that can be checked, is the content of the generated .xar : it's a zip file format, and folders structure maps pages structure. This way you could see if things are missing in the .xar (pay attention also to empty files).
In you point 2) you say you imported then logged as admin, didn't you log as admin before importing ? If not, you could retry this way, maybe you didn't have sufficient rights during import to overwrite some existing pages if you were not logged as admin user.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Issues-while-importing-previous-working-xw... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
jerem -
mohit gupta