On Tue, Nov 8, 2011 at 10:27 AM, Jeremie BOUSQUET <jeremie.bousqu
e...@gmail.com> 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 <jeremie.bousq...@gmail.com>
>
>> 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 <thomas.morta...@xwiki.com>
>>
>>> On Mon, Nov 7, 2011 at 4:35 PM, jerem <jeremie.bousq...@gmail.com> 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-Application-tp6908844p6970795.html
>>> > Sent from the XWiki- Users mailing list archive at Nabble.com.
>>> > _______________________________________________
>>> > users mailing list
>>> > users@xwiki.org
>>> > http://lists.xwiki.org/mailman/listinfo/users
>>> >
>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>> _______________________________________________
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to