Re: [xwiki-users] Fwd: virtual workspaces
Dan Svoboda wrote:
Hi Jerome,
Something just occurred to me.
In the tutorial, you say: "XWiki Workspaces XAR contains several pages that needs to be saved with programming rights to work properly."
But then, the only alteration to the XAR that you describe is to change the backupPack property from true to false. What are these "several pages", and how do I change the programming rights? I have no complete list of such pages as of today, I'll try to make it when I have some time. The back up pack property affects the fact that the author of imported page is the original one (the one written in the XAR) when set to true, or the user actually doing the import, when set to false. You can give programming rights from the RMUI of the manager wiki. (http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement)
Regards, Jerome
Cheers,
Dan
Begin forwarded message:
*From: *Dan Svoboda <[email protected] <mailto:[email protected]>> *Date: *September 29, 2008 10:44:29 AM EDT *To: *[email protected] <mailto:[email protected]> *Subject: **Re: virtual workspaces*
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/VirtualXWikiWorkspaces...
You had all the initial steps right, so you can jump directly to the last section (http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspaces...) 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
I just realized something else. I went to the rights management page in xem, and found that the Admin *user* did not have programming or admin rights. So, I checked those boxes and went through the site creation process, but still no joy. :-( So, to summarize, I've made a new site owned by the global admin user who has programming and admin rights. But still the same on the workspaces site. Dan On Sep 29, 2008, at 10:07 AM, Jerome Velociter wrote:
Dan Svoboda wrote:
Hi Jerome,
Something just occurred to me.
In the tutorial, you say: "XWiki Workspaces XAR contains several pages that needs to be saved with programming rights to work properly."
But then, the only alteration to the XAR that you describe is to change the backupPack property from true to false. What are these "several pages", and how do I change the programming rights? I have no complete list of such pages as of today, I'll try to make it when I have some time. The back up pack property affects the fact that the author of imported page is the original one (the one written in the XAR) when set to true, or the user actually doing the import, when set to false. You can give programming rights from the RMUI of the manager wiki. (http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement )
Regards, Jerome
Cheers,
Dan
Begin forwarded message:
*From: *Dan Svoboda <[email protected] <mailto:[email protected]
*Date: *September 29, 2008 10:44:29 AM EDT *To: *[email protected] <mailto:[email protected]> *Subject: **Re: virtual workspaces*
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/VirtualXWikiWorkspaces...
You had all the initial steps right, so you can jump directly to the last section (http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspaces... ) 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
Dan Svoboda Research Assistant Professor U Pitt Center for HIV Protein Interactions (412)648-7262 [email protected]
participants (2)
-
Dan Svoboda -
Jerome Velociter