On Jul 1, 2011, at 9:14 AM, Paul Harris wrote: > On 1 July 2011 14:59, Vincent Massol <[email protected]> wrote: >> >> On Jul 1, 2011, at 8:41 AM, Paul Harris wrote: >> >>> On 1 July 2011 14:36, Marius Dumitru Florea >>> <[email protected]>wrote: >>> >>>> Hi Paul, >>>> >>>> On 07/01/2011 05:38 AM, Paul Harris wrote: >>>>> Hi again, >>>>> >>>>> I wanted to delete all the packages I had uploaded for Import. >>>>> >>>>> If I go through the XWikiPreferences --> Import, I can't see any >>>> packages... >>>>> the link is: >>>>> >>>>> >>>> http://HOST/xwiki/import/XWiki/XWikiPreferences?editor=globaladmin§ion=Import >>>>> >>>>> However, if I go to this page (which I can't remember how I got there): >>>>> http://host/xwiki/import/XWiki/Import?editor=globaladmin§ion=Import >>>>> >>>>> I can see a dozen packages that I uploaded. >>>>> >>>>> Whats the difference between these two imports, and how do I get to the >>>>> second one without knowing the link beforehand? (I think I found it via >>>> the >>>>> Document Index and scanning hundreds of docs in the XWiki space) >>>> >>>> XWiki.Import page is not part of the standard XAR. I don't have it on a >>>> fresh XE 3.1. Moreover, the XARs I import are attached to >>>> XWiki.XWikiPreferences page so for me the Import administration section >>>> is synchronized with >>>> http://host/xwiki/bin/view/XWiki/XWikiPreferences?viewer=attachments >>>> >>>> XWiki.Import page is either from your previous XE 2.6 (which you said >>>> you upgraded to 3.1) or was created by an application (extension) that >>>> you have installed on top of 3.1. >>>> >>>> Hope this helps, >>>> Marius >>>> >>>> >>> I started with a blank web folder and extracted 3.1... >>> >>> How can I find out where it came from? >> >> The pages are not saved on the file system but in the database. So if you >> haven't modified your DB when you upgraded you still have the same data >> there. >> >> You could just delete the XWiki.Import page IMO. >> > > > Shouldn't this have been handled by the Migration thing?
Ideally yes but that's not implemented at the moment. We're introducing the notion of extension manager to manager extensions and as part of it there'll be a notion of an application (ie a set of pages) and when an app is installed or upgraded it'll have the ability to run some script. > How can I find other pages are lingering? You could compare the two XARs using either http://extensions.xwiki.org/xwiki/bin/view/Extension/XAR+Diff+Application or the Admin Tools which reuse this XAR Diff app code (http://extensions.xwiki.org/xwiki/bin/view/Extension/AdminTools). Note that at some point we wanted to list this in the Release Notes but we've not been doing it diligently. I'd like us to do that better in the future. > And, more importantly, next time I upgrade xwiki, what is the correct > procedure to ensure that: > > 1) I do not have to reconfigure all my appearance configuration You should not import XWikiPreferences, WebPreferences, etc. These are all indicated in the upgrade instructions. http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradinganXWikiInstallation > 2) I do not have to reconfigure my rights Same > 3) I do not leave crufty old pages around See above. Note that pages that are left won't impact the execution of your wiki. If they do they'd be mentioned in the release notes. > > ? > > I do not understand how everyone else upgrades their xwiki... its > taken me 2 days and I'm still discovering things that shouldn't be > there (like this Import page) Upgrading is still not an easy process. We're tacking this with the Extension Manager, see http://dev.xwiki.org/xwiki/bin/view/Design/ExtensionManager Thanks -Vincent _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
