On Thu, Jun 14, 2012 at 1:06 PM, Gianluca Sabena
<gianluca.sabena(a)intertesto.com> wrote:
Dear all,
some notes about my recent upgrade from 3.5 wiki farm to a 4.0
-- Sysem --
* Xwiki 4.0 farm (the old way, independent farm)
* Jetty package that you provided xwiki-manaer-mysql-4.0
* 4 wikis (2 active, one template and the manager)
* File attachments on filesystem
-- Question --
1) After I have upgraded from xem 3.5 to xem 4.0 all previously installed
extensions have been removed from XEM control panel (but extension pages are
still present) - minor bug, I have solved it reinstalling all extensions.
Note that the index of extension is stored on filesystem and not
database (see environment.permanentDirectory property in
xwiki.properties) so when you migrate you have to make sure you keep
this folder.
2) Since XEM 3.5 xwiki-manager can setup two different kind of multiple
wikis: a) workspaces b) the old way wikifarm.
- What is exactly the difference between that two?
- XEM home page suggests to create workspaces and the old wikifarm is placed
in a sub page, this create some confusion. I would prefer to have both
options on the home page with some notes that explain differences.
Personally I use the wiki farm (independent wikis).
3) In wikifarm (independent wikis) management of extensions is not clear.
- If I install an extension from XEM it is installed in all sub-wikis, but
if I remove it, it is removed only from XEM and not from sub-wikis (pages
are still present but extension disappear form sub-wikis control panel, so
it is impossible to completely remove them)
- If I install an extension in sub-wiki, it is listed in XEM, but if I
select it I see many errors.
Sounds like bugs. Would be nice if you could create separated issues
on
http://jira.xwiki.org with details of how to reproduce them and we
will look at them.
-- Bugs --
- One of the two wiki is constantly loosing web preferences settings (skins
and localization template), no error in file log, really annoying and hard
to debug.
- Since webpreferences settings are lost, it is impossible to know what
extensions were installed
Extensions list is not stored in the wiki so I don't see the
relationship here. Do you get anything when going directly to
XWiki/InstalledExtensions page (which is included in the
administration UI) ?
-- Workaround --
- Is it possible to have multiple wiki (completely independent) without
using Xem?
XEM is just a distribution with a selection of extensions and with
some multiwiki configuration. What really deal with multiwiki is the
Wiki Manager application (when to talk about simple wiki farm and not
workspaces). See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Application+Manager+Ap…
and
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertane….
-- My proposal --
- If an extension is installed in XEM it can be removed only from XEM and
this remove the extension form all sub-wikis (we could delete pages and send
them in the recycler bin for better security)
It's actually supposed to be that way since as you seen the extension
are not listed anymore so it's a bug that make the wiki pages not
being properly deleted during uninstall.
- If an extension is installed in sub-wikis it is only
listed in the
relative control panel of that wiki
Right now it's supposed to be listed in the subwiki and in the main
wiki (what you call XEM) since the main wiki is supposed to give you a
global view of what is installed on the whole farm. But you should not
see it in other wikis.
Thank you,
Gianluca
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne