Hello Dan,
Better reply to the list than to myself directly so that knowledge is
available for everybody and searchable through the archives.
Concerning your problem, I have a question : did you imported the
"prepared XAR" over an already imported XAR ? If this is the case, it
means you were probably logged-in with the local administrator, and not
the one from the manager wiki. In this case, you should first delete the
local administrator (delete the XWiki.Admin page) and reimport the
prepared xar, as global admin.
Hope this help, tell me if it was your problem.
Jerome.
Dan Svoboda wrote:
Jerome,
Thanks for taking the time to write the tutorial.
I believe that I've followed the instructions to the letter, but still
have the same result as before.
I was a bit confused by the instruction to:
"Connect to your newly create wiki, and *login with the credentials of
an administrator of the manager wiki*."
After creating the empty wiki from the wiki manager (logged in as
Admin), I then go directly to the new, empty wiki. I'm now able to
import the archive that was prepared according to your instructions,
by navigating to "/bin/admin/XWiki/Import". (Am I already logged in
correctly, or do I have to log out and re-log in as some other user
name? I tried xwiki:Admin, and that gave an error.)
After importing the archive, I still can't create workspaces, the
Admin user is still listed as a Simple Member, and the arrows to
promote members to Power User or Global Admin are still not present.
Cheers,
Dan
Hello Dan,
Thank you for your interest in XWiki Workspaces.
I took advantage of your question to write a complete tutorial on how to
setup a XWiki Workspaces farm:
http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspace…
You had all the initial steps right, so you can jump directly to the
last section
(
http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspace…)
where I explain that several pages from the Workspaces XAR needs to be
saved with programming rights, and how you can "prepare" the XAR to have
this done automatically when importing it.
A last step would be to create a template wiki or XAR package for a
smoother creation of XWiki Workspaces virtual instances. Unfortunately
we are sometimes facing an issue when doing this with XWiki Workspaces,
so I will only add this section once this is resolved.
Regards,
Jerome.
>
>
> Dan Svoboda wrote:
>> First time question.
>>
>> I've been using workspaces with success for several months. I'm trying
>> to have several virtual xwiki-workspaces sites under the enterprise
>> manager system.
>>
>> Here's what I've done:
>>
>> 1. created a site from a war file using xwiki-workspaces-web-1.2-
>> milestone-1.war
>> 2. added the enterprise manager jar file to WEB-INF/lib
>> 3. added a line in xwiki.cfg to activate enterprise manager plugin;
>> set xwiki.virtual=1
>> 4. created 'xwiki' database in mysql, gave xwiki user all rights on
>> everything
>> 5. started tomcat, and navigated to bin/main/view/WebHome
>> 6. clicked on 'Administration' link, and arrived at the import page
>> 7. imported xwiki-enterprise-manager-wiki-administrator-1.3.xar
>> 8. created new site, giving Admin user all rights on new site,
>> uploading xwiki-workspaces-wiki-1.2-milestone-1.xar
>> 9. navigate to new site, and log in as Admin
>>
>> I used the workspaces war file for the main application since it uses
>> v1.5.2 and enterprise manager war file would only supply v1.5.1
>>
>> Here's the problem:
>>
>> While the Admin user on the workspaces site can edit things,
>> workspaces cannot be created. Moreover, on the user administration
>> page, Administrator is listed as a simple member. Also, the arrows to
>> promote members to power user or global admin are missing. I'm able to
>> create users, but they're simple users as well.
>>
>> Thank you in advance for any help you can provide.
>>
>> Dan
>