[xwiki-users] Troubles with XWiki3.2 / Workspace Application
Hi, I migrated successfully to XWiki 3.2, and tried to install the http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application Workspace Application. I first installed the http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Manager+Plugin Wiki Manager Plugin , then the http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Component Workspace Component , then the http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application Workspace Application , browse to Install page and attached workspace-template.xar as indicated (and also set xwiki.virtual=1 in my xwiki.cfg). After restarting (and some checks that plugins were correctly installed), I found that : - unexpectedly to reach my home page now I have to use an url like this : http://host:port/xwiki/*wiki/xwiki*/view/Main/ ..., or else it complains that this wiki does not exist. I would have thought that the workspace app would not have changed the urls for everyone ... - the urls generated inside the pages do not match this new url scheme, so they all point now to a not existing wiki - Browsing to WorkspaceManager.Install throws an exception in the page : Error installing workspace template. Error number 50035 in 5: Exception in plugin [com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin]: Wiki [workspacetemplate] database update failed Wrapped Exception: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [workspacetemplate], type = [WIKI], parent = [null]]]] Wrapped Exception: Error number 3301 in 3: Exception while switching to database [workspacetemplate] Wrapped Exception: Access denied for user 'xwiki'@'127.0.0.1' to database 'workspacetemplate' I tried to grant all privileges (MySql) on *.* to my user xwiki on 127.0.0.1, but it did not change anything. To summarize : very good impression on xwiki 3.2, but not so good for now on workspaces :D Thanks for help, Jerem -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
This is clearly a rights issue. You must have not given the proper rights. Check the password or also try: grant all on *.* to 'xwiki'@'127.0.0.1' identified by 'xwiki'; or grant all on *.* to 'xwiki'@'localhost' identified by 'xwiki'; You might have to restart XWiki (though I don't think so in this specific case) Ludovic 2011/10/19 jerem <[email protected]>
Hi,
I migrated successfully to XWiki 3.2, and tried to install the http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application Workspace Application.
I first installed the http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Manager+Plugin Wiki Manager Plugin , then the http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Component Workspace Component , then the http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application Workspace Application , browse to Install page and attached workspace-template.xar as indicated (and also set xwiki.virtual=1 in my xwiki.cfg).
After restarting (and some checks that plugins were correctly installed), I found that : - unexpectedly to reach my home page now I have to use an url like this : http://host:port/xwiki/*wiki/xwiki*/view/Main/ ..., or else it complains that this wiki does not exist. I would have thought that the workspace app would not have changed the urls for everyone ... - the urls generated inside the pages do not match this new url scheme, so they all point now to a not existing wiki - Browsing to WorkspaceManager.Install throws an exception in the page :
Error installing workspace template. Error number 50035 in 5: Exception in plugin [com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin]: Wiki [workspacetemplate] database update failed Wrapped Exception: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [workspacetemplate], type = [WIKI], parent = [null]]]] Wrapped Exception: Error number 3301 in 3: Exception while switching to database [workspacetemplate] Wrapped Exception: Access denied for user 'xwiki'@'127.0.0.1' to database 'workspacetemplate'
I tried to grant all privileges (MySql) on *.* to my user xwiki on 127.0.0.1, but it did not change anything.
To summarize : very good impression on xwiki 3.2, but not so good for now on workspaces :D
Thanks for help, Jerem
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
I'll retry that asap and let you know. For rewritten urls, is it normal behaviour when activating workspaces ? I'd need to change my proxy conf in this case (to rewrite /xwiki/bin to /xwiki/wiki/xwiki). -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
Either you work with usepath=1 and you have rewritten URLs or you use usepath=0 and you will need DNS configuration. Now the default URL will still work, but you might need a entry for the default wiki. This entry might come with the wiki manager xar. Ludovic 2011/10/19 jerem <[email protected]>
I'll retry that asap and let you know. For rewritten urls, is it normal behaviour when activating workspaces ? I'd need to change my proxy conf in this case (to rewrite /xwiki/bin to /xwiki/wiki/xwiki).
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
Try also to access by IP. Normally using the IP should consider you on the default wiki for sure. 2011/10/19 Ludovic Dubost <[email protected]>
Either you work with usepath=1 and you have rewritten URLs or you use usepath=0 and you will need DNS configuration. Now the default URL will still work, but you might need a entry for the default wiki. This entry might come with the wiki manager xar.
Ludovic
2011/10/19 jerem <[email protected]>
I'll retry that asap and let you know. For rewritten urls, is it normal behaviour when activating workspaces ? I'd need to change my proxy conf in this case (to rewrite /xwiki/bin to /xwiki/wiki/xwiki).
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for more details. On Wed, Oct 19, 2011 at 4:53 PM, Ludovic Dubost <[email protected]> wrote:
Try also to access by IP. Normally using the IP should consider you on the default wiki for sure.
2011/10/19 Ludovic Dubost <[email protected]>
Either you work with usepath=1 and you have rewritten URLs or you use usepath=0 and you will need DNS configuration. Now the default URL will still work, but you might need a entry for the default wiki. This entry might come with the wiki manager xar.
Ludovic
2011/10/19 jerem <[email protected]>
I'll retry that asap and let you know. For rewritten urls, is it normal behaviour when activating workspaces ? I'd need to change my proxy conf in this case (to rewrite /xwiki/bin to /xwiki/wiki/xwiki).
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hi Jerem, First, thanks for the interest in the Workspace Application. Now, as Ludovic and Thomas have already said, it's most likely a configuration problem that comes from installing the required WikiManager plugin over your non-virtual XE instance, practically transforming it into a XEM instance. Please make sure you allow the xwiki database user to create databases freely [1] and that you choose a wiki access mode [2] convenient to your usecase. Workspaces needs a multi-wiki environment and that`s where all of this comes from. Once the WikiManager plugin installation is completed and the multi-wiki environment is set up, you can proceed with the final steps of the Workspaces installation (visiting WorkspaceManager.Install and attaching the workspace-template.xar). Please let us know how it goes. Thanks, Eduard ----------------- References: [1] http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertanex... [2] http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki On Wed, Oct 19, 2011 at 6:42 PM, Thomas Mortagne <[email protected]>wrote:
See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for more details.
On Wed, Oct 19, 2011 at 4:53 PM, Ludovic Dubost <[email protected]> wrote:
Try also to access by IP. Normally using the IP should consider you on the default wiki for sure.
2011/10/19 Ludovic Dubost <[email protected]>
Either you work with usepath=1 and you have rewritten URLs or you use usepath=0 and you will need DNS configuration. Now the default URL will still work, but you might need a entry for the default wiki. This entry might come with the wiki manager xar.
Ludovic
2011/10/19 jerem <[email protected]>
I'll retry that asap and let you know. For rewritten urls, is it normal behaviour when activating workspaces ? I'd need to change my proxy conf in this case (to rewrite /xwiki/bin to /xwiki/wiki/xwiki).
-- View this message in context:
http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati...
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Edy, you might want to make it more visible on http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Applicationth... the WikiManager plugin has to be installed for the Workspace application to work fine. WDYT? Guillaume On Wed, Oct 19, 2011 at 6:01 PM, Eduard Moraru <[email protected]> wrote:
Hi Jerem,
First, thanks for the interest in the Workspace Application.
Now, as Ludovic and Thomas have already said, it's most likely a configuration problem that comes from installing the required WikiManager plugin over your non-virtual XE instance, practically transforming it into a XEM instance.
Please make sure you allow the xwiki database user to create databases freely [1] and that you choose a wiki access mode [2] convenient to your usecase.
Workspaces needs a multi-wiki environment and that`s where all of this comes from. Once the WikiManager plugin installation is completed and the multi-wiki environment is set up, you can proceed with the final steps of the Workspaces installation (visiting WorkspaceManager.Install and attaching the workspace-template.xar).
Please let us know how it goes.
Thanks, Eduard
----------------- References: [1]
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertanex... [2] http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
On Wed, Oct 19, 2011 at 6:42 PM, Thomas Mortagne <[email protected]>wrote:
See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for more details.
On Wed, Oct 19, 2011 at 4:53 PM, Ludovic Dubost <[email protected]> wrote:
Try also to access by IP. Normally using the IP should consider you on the default wiki for sure.
2011/10/19 Ludovic Dubost <[email protected]>
Either you work with usepath=1 and you have rewritten URLs or you use usepath=0 and you will need DNS configuration. Now the default URL will still work, but you might need a entry for
the
default wiki. This entry might come with the wiki manager xar.
Ludovic
2011/10/19 jerem <[email protected]>
I'll retry that asap and let you know. For rewritten urls, is it normal behaviour when activating workspaces ? I'd need to change my proxy conf in this case (to rewrite /xwiki/bin to /xwiki/wiki/xwiki).
-- View this message in context:
http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati...
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Guillaume, On Wed, Oct 19, 2011 at 7:13 PM, Guillaume Lerouge <[email protected]>wrote:
Hi Edy,
you might want to make it more visible on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Applicationth... the WikiManager plugin has to be installed for the Workspace application to work fine.
WDYT?
I think we need to update the Wiki Manager documentation since it's a bit confusing, mostly because half of it is on extensions.xwiki.org and the other half is on manager.xwiki.org. I`ve updated the extension page of the Workspace Application and slightly emphasized the fact that it requires a functional multi-wiki environment before starting the install process. Thanks, Eduard
Guillaume
On Wed, Oct 19, 2011 at 6:01 PM, Eduard Moraru <[email protected]> wrote:
Hi Jerem,
First, thanks for the interest in the Workspace Application.
Now, as Ludovic and Thomas have already said, it's most likely a configuration problem that comes from installing the required WikiManager plugin over your non-virtual XE instance, practically transforming it into a XEM instance.
Please make sure you allow the xwiki database user to create databases freely [1] and that you choose a wiki access mode [2] convenient to your usecase.
Workspaces needs a multi-wiki environment and that`s where all of this comes from. Once the WikiManager plugin installation is completed and the multi-wiki environment is set up, you can proceed with the final steps of the Workspaces installation (visiting WorkspaceManager.Install and attaching the workspace-template.xar).
Please let us know how it goes.
Thanks, Eduard
----------------- References: [1]
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertanex...
[2] http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
On Wed, Oct 19, 2011 at 6:42 PM, Thomas Mortagne <[email protected]>wrote:
See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for more details.
On Wed, Oct 19, 2011 at 4:53 PM, Ludovic Dubost <[email protected]> wrote:
Try also to access by IP. Normally using the IP should consider you on the default wiki for sure.
2011/10/19 Ludovic Dubost <[email protected]>
Either you work with usepath=1 and you have rewritten URLs or you
use
usepath=0 and you will need DNS configuration. Now the default URL will still work, but you might need a entry for the default wiki. This entry might come with the wiki manager xar.
Ludovic
2011/10/19 jerem <[email protected]>
I'll retry that asap and let you know. For rewritten urls, is it normal behaviour when activating workspaces ? I'd need to change my proxy conf in this case (to rewrite /xwiki/bin to /xwiki/wiki/xwiki).
-- View this message in context:
http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati...
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hello, First thanks to all for information, and effectively I had forgotten to import the wikimanager xar. My wiki is under named "xwikitest" (so usual url is http://host:port/xwikitest/bin/view/Main/), its database name is "xwikitest" also. I did import wikimanager xar, and created a page XWiki.XWikiServerXwiki as indicated, with alias field set to "xwikitest". In xwiki.cfg, I set the following : xwiki.db=xwikitest xwiki.virtual=1 xwiki.virtual.usepath=1 Now I can browse to http://host:port/xwikitest/wiki/xwikitest/view/Main/, but display is broken because all generated urls (including styles and images) still target urls like http://host:port/xwikitest/bin/... and these urls don't work. They redirect to value of xwiki.virtual.redirect, as if the default wiki was not found. I wonder if the name of server page (XWikiServerXwiki) has an importance ? -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
... NOte : on another side I was able to check that I have no rights issue anymore with mysql user, as the WorkspaceManager.Install does not complain anymore, so thanks for that. But as all the rest is broken ... (I can't even login) -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
Ok, found the answer while typing, in fact I renamed the server page to XWiki.XWikiServerXwikitest, and now generated urls are ok ! so wiki is browsable ... But still usual urls do not work (/xwikitest/bin/view/Main/ ...), but this could be solved with my reverse proxy. Now if I go to WorkspaceManager.Install, after some new grants on mysql and some refresh of page, it works ! :) But maybe what is confusing to start with is 3.2 release note : nowhere is appearing the fact that installing the workspace application is not so simple (not so complex either, but from release note I really thought it was some standalone app with features similar to xem, not that you had to transform your wiki into xem before installing the workspace app ;) ) Thanks again, J. -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Jerem, glad that you were able to make it work in the end:-) We'd love to hear your feedback! We upated the installation instructions in order to make it clearer that WikiManager was required for Workspaces to work. Guillaume On Fri, Oct 21, 2011 at 9:55 AM, jerem <[email protected]> wrote:
Ok, found the answer while typing, in fact I renamed the server page to XWiki.XWikiServerXwikitest, and now generated urls are ok ! so wiki is browsable ... But still usual urls do not work (/xwikitest/bin/view/Main/ ...), but this could be solved with my reverse proxy.
Now if I go to WorkspaceManager.Install, after some new grants on mysql and some refresh of page, it works ! :)
But maybe what is confusing to start with is 3.2 release note : nowhere is appearing the fact that installing the workspace application is not so simple (not so complex either, but from release note I really thought it was some standalone app with features similar to xem, not that you had to transform your wiki into xem before installing the workspace app ;) )
Thanks again, J.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I have a last issue : default urls do not work. Problem is, that all urls now target xwikitest/wiki/xwikitest, except the one from first drop-down menu ("MAIN"), for example "Administrate Main wiki" is /xwikitest/bin/view/XWiki/XWikiPreferences and not /xwikitest/wiki/xwikitest/view/XWiki/XWikiPreferences I wonder if there is not a piece of configuration still missing, something to say "ok, xwikitest IS the main wiki", but I don't know where to set that ... -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi jerem, On Oct 21, 2011, at 9:55 AM, jerem wrote:
Ok, found the answer while typing, in fact I renamed the server page to XWiki.XWikiServerXwikitest, and now generated urls are ok ! so wiki is browsable ... But still usual urls do not work (/xwikitest/bin/view/Main/ ...), but this could be solved with my reverse proxy.
Now if I go to WorkspaceManager.Install, after some new grants on mysql and some refresh of page, it works ! :)
But maybe what is confusing to start with is 3.2 release note : nowhere is appearing the fact that installing the workspace application is not so simple (not so complex either, but from release note I really thought it was some standalone app with features similar to xem, not that you had to transform your wiki into xem before installing the workspace app ;) )
I completely agree: we need to make sure it's described as "experimental" in the Release notes for 3.2… done See http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise... The idea is to make it easier to install/use in XE 3.3, see http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap Thanks -Vincent
Thanks again, J.
Thanks Vincent, Apart from that, any clues for my issue with default urls on main wiki ? By the way in following page, you talk about domains : http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiDescriptor But in my own wiki descriptor (XWikiServerXwikitest), I don't have any field for domains ... I suppose it has been removed ? Is it really possible to have a main wiki (the controller) named differently than "xwiki" ? -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hum I saw in a list of wikis that as I was afraid I have in fact : - xwikitest - workspacetemplate - xwiki Problem is that my main controller should be xwikitest and not xwiki, because in mysql I already have 2 completely distinct wiki's catalogs : xwiki and xwikitest. I believe that when I access the main wiki of my XEM supposed to be xwikitest (it works when using IP address), in fact it switches to the "xwiki" catalog and this is really not what expected ... -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Fri, Oct 21, 2011 at 4:35 PM, jerem <[email protected]> wrote:
Thanks Vincent,
Apart from that, any clues for my issue with default urls on main wiki ?
By the way in following page, you talk about domains : http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiDescriptor
But in my own wiki descriptor (XWikiServerXwikitest), I don't have any field for domains ... I suppose it has been removed ?
Not removed, renamed in "alias" to support path based multiwiki. Will fix the documentation.
Is it really possible to have a main wiki (the controller) named differently than "xwiki" ?
You can change the database name behind the scene but the wiki identifier is always "xwiki" for now.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Fri, Oct 21, 2011 at 4:50 PM, jerem <[email protected]> wrote:
Hum I saw in a list of wikis that as I was afraid I have in fact : - xwikitest - workspacetemplate - xwiki
Problem is that my main controller should be xwikitest and not xwiki, because in mysql I already have 2 completely distinct wiki's catalogs : xwiki and xwikitest. I believe that when I access the main wiki of my XEM supposed to be xwikitest (it works when using IP address), in fact it switches to the "xwiki" catalog and this is really not what expected ...
In xwiiki.cfg configuration you have two setup just for this kind of use cases. Look at xwiki.db and xwiki.db.prefix (that's what I was referring to talking about changing the database name).
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hello, I'm back on this subject ... Following recommendations, I've set db.prefix to "test_" and renamed schema to "test_xwiki" instead of "xwikitest", so my controller wiki is also my main wiki... In the process I made a mistake, instead of renaming "workspacetemplate" schema to "test_workspacetemplate", I just ... crushed it. My problem now is that : - in non-virtual mode, WorkspaceManager.Install does not recognize that the workspace template is not correctly installed, and so does not install it. I tried to update the page so it would do it anyway, but of course an exception is thrown as I'm not in virtual mode - in virtual mode, WorkspaceManager.Install (well any page in fact) fails to display because of : "Wrapped Exception: Error number 3301 in 3: Exception while switching to database [workspacetemplate] Wrapped Exception: Unknown database 'test_workspacetemplate'" This is clearly because of workspace template being "half created / half deleted" somehow. How can I reset things to a clearer state ? (that is completely remove any trace of the workspace template in the wiki manager plugin) Thanks, Jeremie -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Mon, Nov 7, 2011 at 4:35 PM, jerem <[email protected]> wrote:
Hello,
I'm back on this subject ... Following recommendations, I've set db.prefix to "test_" and renamed schema to "test_xwiki" instead of "xwikitest", so my controller wiki is also my main wiki... In the process I made a mistake, instead of renaming "workspacetemplate" schema to "test_workspacetemplate", I just ... crushed it.
My problem now is that : - in non-virtual mode, WorkspaceManager.Install does not recognize that the workspace template is not correctly installed, and so does not install it. I tried to update the page so it would do it anyway, but of course an exception is thrown as I'm not in virtual mode - in virtual mode, WorkspaceManager.Install (well any page in fact) fails to display because of : "Wrapped Exception: Error number 3301 in 3: Exception while switching to database [workspacetemplate] Wrapped Exception: Unknown database 'test_workspacetemplate'"
This is clearly because of workspace template being "half created / half deleted" somehow.
How can I reset things to a clearer state ? (that is completely remove any trace of the workspace template in the wiki manager plugin)
That's probably just because you deleted the database without deleting the wiki descriptor. You should find in listed on WikiManager.WebHome page or go directly to iit and delete the page XWiki.XWikiServerWorkspacetemplate.
Thanks, Jeremie
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Ok thanks, but now I'm back to initial point ... Now my main wiki is named "xwiki" with db "xwiki" and prefix "test_", so I have as expected dbs "test_xwiki" and "test_workspacetemplate". The WikiManager.WebHome list both entries, with domain names "xwiki" and "workspacetemplate.template.local". I can successfully access the main wiki through http://[IP]:[port]/xwikitest/bin/view/Main/, or through http://[Server]:|port]/xwikitest/wiki/xwiki/view/Main/, but default urls do not work ... http://[Server]:[port]/xwikitest/bin/view/Main/ redirects to the virtual wiki error page set in xwiki.cfg. I even deleted and recreated page XWiki.XWikiServerXwiki but with no change (in fact I used the WikiManager.WebHome to create a new wiki "xwiki") When targeting default urls redirected to error page, I can't see anything in xwiki logs (either normal logs or exceptions). 2011/11/7 Thomas Mortagne <[email protected]>
On Mon, Nov 7, 2011 at 4:35 PM, jerem <[email protected]> wrote:
Hello,
I'm back on this subject ... Following recommendations, I've set db.prefix to "test_" and renamed schema to "test_xwiki" instead of "xwikitest", so my controller wiki is also my main wiki... In the process I made a mistake, instead of renaming "workspacetemplate" schema to "test_workspacetemplate", I just ... crushed it.
My problem now is that : - in non-virtual mode, WorkspaceManager.Install does not recognize that the workspace template is not correctly installed, and so does not install it. I tried to update the page so it would do it anyway, but of course an exception is thrown as I'm not in virtual mode - in virtual mode, WorkspaceManager.Install (well any page in fact) fails to display because of : "Wrapped Exception: Error number 3301 in 3: Exception while switching to database [workspacetemplate] Wrapped Exception: Unknown database 'test_workspacetemplate'"
This is clearly because of workspace template being "half created / half deleted" somehow.
How can I reset things to a clearer state ? (that is completely remove any trace of the workspace template in the wiki manager plugin)
That's probably just because you deleted the database without deleting the wiki descriptor. You should find in listed on WikiManager.WebHome page or go directly to iit and delete the page XWiki.XWikiServerWorkspacetemplate.
Thanks, Jeremie
-- View this message in context:
http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati...
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I wonder ... As I just renamed mysql catalog "xwikitest" to "test_xwiki", maybe there's something somewhere that still points to "xwikitest" instead of "xwiki" ? 2011/11/8 Jeremie BOUSQUET <[email protected]>
Ok thanks, but now I'm back to initial point ... Now my main wiki is named "xwiki" with db "xwiki" and prefix "test_", so I have as expected dbs "test_xwiki" and "test_workspacetemplate". The WikiManager.WebHome list both entries, with domain names "xwiki" and "workspacetemplate.template.local".
I can successfully access the main wiki through http://[IP]:[port]/xwikitest/bin/view/Main/, or through http://[Server]:|port]/xwikitest/wiki/xwiki/view/Main/, but default urls do not work ... http://[Server]:[port]/xwikitest/bin/view/Main/ redirects to the virtual wiki error page set in xwiki.cfg. I even deleted and recreated page XWiki.XWikiServerXwiki but with no change (in fact I used the WikiManager.WebHome to create a new wiki "xwiki") When targeting default urls redirected to error page, I can't see anything in xwiki logs (either normal logs or exceptions).
2011/11/7 Thomas Mortagne <[email protected]>
On Mon, Nov 7, 2011 at 4:35 PM, jerem <[email protected]> wrote:
Hello,
I'm back on this subject ... Following recommendations, I've set db.prefix to "test_" and renamed schema to "test_xwiki" instead of "xwikitest", so my controller wiki is also my main wiki... In the process I made a mistake, instead of renaming "workspacetemplate" schema to "test_workspacetemplate", I just ... crushed it.
My problem now is that : - in non-virtual mode, WorkspaceManager.Install does not recognize that the workspace template is not correctly installed, and so does not install it. I tried to update the page so it would do it anyway, but of course an exception is thrown as I'm not in virtual mode - in virtual mode, WorkspaceManager.Install (well any page in fact) fails to display because of : "Wrapped Exception: Error number 3301 in 3: Exception while switching to database [workspacetemplate] Wrapped Exception: Unknown database 'test_workspacetemplate'"
This is clearly because of workspace template being "half created / half deleted" somehow.
How can I reset things to a clearer state ? (that is completely remove any trace of the workspace template in the wiki manager plugin)
That's probably just because you deleted the database without deleting the wiki descriptor. You should find in listed on WikiManager.WebHome page or go directly to iit and delete the page XWiki.XWikiServerWorkspacetemplate.
Thanks, Jeremie
-- View this message in context:
http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati...
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Tue, Nov 8, 2011 at 10:27 AM, Jeremie BOUSQUET <jeremie.bousqu [email protected]> wrote:
I wonder ... As I just renamed mysql catalog "xwikitest" to "test_xwiki", maybe there's something somewhere that still points to "xwikitest" instead of "xwiki" ?
2011/11/8 Jeremie BOUSQUET <[email protected]>
Ok thanks, but now I'm back to initial point ... Now my main wiki is named "xwiki" with db "xwiki" and prefix "test_", so I have as expected dbs "test_xwiki" and "test_workspacetemplate". The WikiManager.WebHome list both entries, with domain names "xwiki" and "workspacetemplate.template.local".
I can successfully access the main wiki through http://[IP]:[port]/xwikitest/bin/view/Main/, or through http://[Server]:|port]/xwikitest/wiki/xwiki/view/Main/, but default urls do not work ... http://[Server]:[port]/xwikitest/bin/view/Main/
You have to make sure [Server] is registered as alias in main wiki descriptor otherwise XWiki cannot know that's the wiki you want to access. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki.
redirects to the virtual wiki error page set in xwiki.cfg. I even deleted and recreated page XWiki.XWikiServerXwiki but with no change (in fact I used the WikiManager.WebHome to create a new wiki "xwiki") When targeting default urls redirected to error page, I can't see anything in xwiki logs (either normal logs or exceptions).
2011/11/7 Thomas Mortagne <[email protected]>
On Mon, Nov 7, 2011 at 4:35 PM, jerem <[email protected]> wrote:
Hello,
I'm back on this subject ... Following recommendations, I've set db.prefix to "test_" and renamed schema to "test_xwiki" instead of "xwikitest", so my controller wiki is also my main wiki... In the process I made a mistake, instead of renaming "workspacetemplate" schema to "test_workspacetemplate", I just ... crushed it.
My problem now is that : - in non-virtual mode, WorkspaceManager.Install does not recognize that the workspace template is not correctly installed, and so does not install it. I tried to update the page so it would do it anyway, but of course an exception is thrown as I'm not in virtual mode - in virtual mode, WorkspaceManager.Install (well any page in fact) fails to display because of : "Wrapped Exception: Error number 3301 in 3: Exception while switching to database [workspacetemplate] Wrapped Exception: Unknown database 'test_workspacetemplate'"
This is clearly because of workspace template being "half created / half deleted" somehow.
How can I reset things to a clearer state ? (that is completely remove any trace of the workspace template in the wiki manager plugin)
That's probably just because you deleted the database without deleting the wiki descriptor. You should find in listed on WikiManager.WebHome page or go directly to iit and delete the page XWiki.XWikiServerWorkspacetemplate.
Thanks, Jeremie
-- View this message in context:
http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati...
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
You're right, I had forgotten this ... So now it works ! I could create a workspace, but ran through some more little issues : - seems my user is duplicated between the main wiki and the workspace (for example I'm listed twice in the workspace homepage "Top active members" list) - I exported a space from the main wiki, and imported it in my new workspace. I tried to set a custom skin (custom skin page + custom color theme) to this workspace but only the logo is shown, this custom skin used to work correctly when it was a space in main wiki (I did not forget to copy the skin page and colorTheme page in the new workspace...) - I get many errors like this in the logs : "ERROR o.i.ObservationContextListener - Can't find any begin event corresponding to [class org.xwiki.bridge.event.ActionExecutedEvent (ssx)]", with "ssx" replaced depending on cases by "view", "download", ... - I created the workspace with another user as admin (but my user is admin of the whole wiki). If I click on "join workspace" I get an error in the page, saying that I must invited, and this is normal. But it seems I'm added anyway as then I appear in the workspace members list. If I then click on "Leave workspace" I get an error "You are not allowed to view this document or perform this action.". Maybe an ambiguity with the duplicated users profiles ... ? -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Jerem, The main wiki is still accessible with /xwikitest/bin/view/XWiki/XWikiPreferences (because it's the main wiki and it's handled a bit specially). It is also accessible with /xwikitest/wiki/xwikitest/view/XWiki/XWikiPreferences (being treated as just another wiki). However, any link to a page in a subwiki (a wiki other than the main wiki) will *always* have the format /xwikitest/wiki/<subwikiName>/view/<Space>/<Page>. Thanks, Eduard On Fri, Oct 21, 2011 at 11:19 AM, jerem <[email protected]> wrote:
I have a last issue : default urls do not work. Problem is, that all urls now target xwikitest/wiki/xwikitest, except the one from first drop-down menu ("MAIN"), for example "Administrate Main wiki" is /xwikitest/bin/view/XWiki/XWikiPreferences and not /xwikitest/wiki/xwikitest/view/XWiki/XWikiPreferences
I wonder if there is not a piece of configuration still missing, something to say "ok, xwikitest IS the main wiki", but I don't know where to set that ...
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thanks but this was solved thanks to Thomas, because I had forgotten to set the correct aliases, so default urls did not work ... But now it does ! :) However my new issue is that it seems main users and workspace users are not really considered and treated the same way depending on the use-cases ... For example in my new workspace (let's call it "newws"), in table activitystream_events I can find both values in ase_user field : "xwiki:XWiki.jbousque" and "XWiki.jbousque". The "top active members" then list a distinct entry for both (one with link to profile in main wiki, the other with link to profile in "newws" workspace), though the user directory only lists one user (the one in "newws"). By the way a new profile was created for me in "newws", auto-magically (but not from the start, I think it was created when I clicked on "join workspace"), and this new profile has no link with my main profile (the settings are the defaults). I just wondered if it was expected behaviour (don't think so), or an issue in the workspace app, or again a configuration problem on my side ? -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, On Tue, Nov 8, 2011 at 12:46 PM, jerem <[email protected]> wrote:
You're right, I had forgotten this ... So now it works ! I could create a workspace, but ran through some more little issues : - seems my user is duplicated between the main wiki and the workspace (for example I'm listed twice in the workspace homepage "Top active members" list)
I once experienced this behavior and I think it's related to the actual workspace creation process. This would only happen for the user that created the workspace. Some of its actions were not registered as a global user and were registered as a local workspace user instead. If you click on the duplicate user listed in the "Top active members", it should point to an unexisting local workspace user (page not found) as this would result from the local-global confusion. However, I did not experience this problem since 3.2 on and I think it was fixed by one of Thomas's fixes on how the user is handled in the context. If you can tell me a clear way to reproduce this, I will investigate it further.
- I exported a space from the main wiki, and imported it in my new workspace. I tried to set a custom skin (custom skin page + custom color theme) to this workspace but only the logo is shown, this custom skin used to work correctly when it was a space in main wiki (I did not forget to copy the skin page and colorTheme page in the new workspace...)
A workspace is a regular subwiki in all aspects, except that it does(should) not allow local user registration and can be created by non-admin users. If you are having issues with creating a skin/color theme, it should not be related to workspaces, so it should work as it would on a regular subwiki. Make sure you don`t have any rights issues on the pages of the skin/color themese, etc.
- I get many errors like this in the logs : "ERROR o.i.ObservationContextListener - Can't find any begin event corresponding to [class org.xwiki.bridge.event.ActionExecutedEvent (ssx)]", with "ssx" replaced depending on cases by "view", "download", ...
No clue about this one. Not sure if it's relevant. Maybe Thomas know about this since it looks like it's related to the new event mechanics introduced recently that allows event grouping/nesting and such.
- I created the workspace with another user as admin (but my user is admin of the whole wiki). If I click on "join workspace" I get an error in the page, saying that I must invited, and this is normal.
You should not see any Join Workspace if the workspace is in invite only. Where do you see this button? In the Workspace Directory or in the Workspace Information Panel of the new workspace?
But it seems I'm added anyway as then I appear in the workspace members list. If I then click on "Leave workspace" I get an error "You are not allowed to view this document or perform this action.". Maybe an ambiguity with the duplicated users profiles ... ?
Make sure you are logged in with the global user and not with a (not-supposed-to-be-there) local user. Thanks, Eduard
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, On Tue, Nov 8, 2011 at 1:04 PM, jerem <[email protected]> wrote:
Thanks but this was solved thanks to Thomas, because I had forgotten to set the correct aliases, so default urls did not work ... But now it does ! :)
However my new issue is that it seems main users and workspace users are not really considered and treated the same way depending on the use-cases ...
Theoretically, there should be no workspace users, only main wiki (global) users.
For example in my new workspace (let's call it "newws"), in table activitystream_events I can find both values in ase_user field : "xwiki:XWiki.jbousque" and "XWiki.jbousque". The "top active members" then list a distinct entry for both (one with link to profile in main wiki, the other with link to profile in "newws" workspace),
Does the link to the profile in "newws" actually work? Is it an existing page with an XWikiUser object in it?
though the user directory only lists one user (the one in "newws").
By the way a new profile was created for me in "newws", auto-magically (but
not from the start, I think it was created when I clicked on "join workspace"), and this new profile has no link with my main profile (the settings are the defaults).
I just wondered if it was expected behaviour (don't think so), or an issue in the workspace app, or again a configuration problem on my side ?
It could be a mix of both. What you could do, if you have the time, is to try and single out a repeatable scenario that you could also test on a fresh install (since you mentioned you`re in a migration). You can use XEM instead of XE since that might help you skip the extra steps required to configure the WikiManager plugin so you can focus on the Workspace application. If it's reproduced in a fresh install, then we have more to work with. If not and it's related only to your specific setup then it will probably be harder. Thanks, Eduard
-- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi and thanks Eduard, all your remarks seem logical to me ... The use case for duplicated user that you described seem to match what I did. To answer one of your questions, the new (workspace-local) profile is a real page with a real XWiki.XWikiUsers object inside of it, but with no link with my existing (global) profile. It's freshly created with defaults (some coming from LDAP). As I have LDAP authent and synchro activated on another side, it might explain why the profile was automatically created also. I agree to test this on a fresh install but as I don't have much time to do that, I'll do that when I'll migrate to XE 3.3 wich is planned. This was what I intended anyway knowing that issues from workspace app would be fixed in 3.3 ... -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
About the "join workspace", this is what I can see (I'm logged, and to my "global" profile) : In workspace home page, in "Workspace information" : "You are an administrator of this workspace. You are not currently a member of this workspace. If you like, you can join this workspace." ("join this workspace" is a link). At the same time, in the "Workspace information" PANEL, I can see : "This workspace is invite only. " ... and there are 2 members : the user I set as admin, and me (link to the "local" profile). -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicati... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (7)
-
Eduard Moraru -
Guillaume Lerouge -
jerem -
Jeremie BOUSQUET -
Ludovic Dubost -
Thomas Mortagne -
Vincent Massol