I still can't figure out what is causing this issue. We use LDAP (Active Directory) if that helps.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 5:21 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Restored back to 7.4.2 (files and database). Not sure how to proceed. Can't upgrade with resolving this issue.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:52 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
When I attempt to upgrade back to 8.0, I get the Distribution Wizard and that attempts to upgrade and then fails:
Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
class org.xwiki.extension.InstallException: Failed to resolve extension
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:690)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-common-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.checkInstalledExtension(AbstractInstallPlanJob.java:877)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:769)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:43 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Downgraded to 7.4.2, that seemed to work fine but only user that has Edit right is still only Admin and no ability to access administer pages.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:12 PM
To: XWiki Users
Subject: Upgrade To 8.0 - Permissions / Admin Pages Problem
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account, and no account has links (access) to the "admin" pages.
I'm not sure what to do to fix this problem.
I have pages which include the text: (i)
The Xwiki syntax is converting this into: image:icon:information
I have tried the following in an attempt to escape this text:
~(i~) which is completely ignored.
{{{(i)}}} which leaves only a blank space
Any suggestions on how I can get the desired plain text? Thanks for your time.
Regards,
Jesse
Hi,
I spent the last week or so figuring out very strange behavior which I could not explain. I’m not sure if any sort of code would be helpful so I just explain what the situation is:
We have a class “caseClass” containing (among others) the following DBList:
Name = product
Pretty Name = product
Custom Display = [
{{velocity}}
#set ($propertyClass = $object.getxWikiClass().get($name))
#if ($type == 'edit')
{{html clean=false}}
$doc.displayEdit($propertyClass, $prefix, $object)
{{/html}}
#else
#set($listMap=$propertyClass.getMapValues())
#foreach($fieldKey in $object.getProperty($name).value)
#set($fieldValue=$listMap.get($fieldKey).getValue())
[[${fieldValue}>>$services.PropertyManager.getSourceURL(${fieldKey})]]
#end
#end
{{/velocity}}
]
DisplayType = select
Multiple Select = true
Since of box = 10
Multiselect seperators = [empty]
Join seperator = [ , ]
Sort = none
Relational Storage = true
Cache = false
Hibernate Query = [
SELECT idVarProp.value, CONCAT(codeVarProp.value, ' - ', naamVarProp.value, ' (', codeProdProp.value, ' - ', naamProdProp.value, ')')
FROM BaseObject obj, StringProperty idVarProp, StringProperty codeVarProp, StringProperty naamVarProp, StringProperty idVarProdProp,
BaseObject obj2, StringProperty idProdProp, StringProperty codeProdProp, StringProperty naamProdProp
WHERE obj.className = 'PDCKlassen.VariantClass' AND
obj2.className = 'PDCKlassen.ProductClass' AND
idVarProp.id.id = obj.id AND idVarProp.id.name = 'identificatieString' AND
codeVarProp.id.id = obj.id AND codeVarProp.id.name = 'codeVariant' AND
naamVarProp.id.id = obj.id AND naamVarProp.id.name = 'naamVariant' AND
idVarProdProp.id.id = obj.id AND idVarProdProp.id.name = 'product' AND
idProdProp.id.id = obj2.id AND idProdProp.id.name = 'identificatieString' AND
codeProdProp.id.id = obj2.id AND codeProdProp.id.name = 'productCode' AND
naamProdProp.id.id = obj2.id AND naamProdProp.id.name = 'naam' AND
idVarProdProp.value = idProdProp.value AND
obj.name <> 'PDCKlassen.VariantTemplate' AND obj2.name <> 'PDCKlassen.ProductTemplate'
ORDER BY codeProdProp.value, codeVarProp.value
]
XWiki Class name = [empty]
Id Field Name = [empty]
Value Field Name = [empty]
The functional side is, that this field can contain 0 - n occurrences.
We have a java based listener that is used to save pages with one (and only one) object this class on the page with a version comment:
xwikiContext.getWiki().saveDocument(XWikiDocument, comment, true, xwikiContext)
Situation 1: The object contains zero references (i.e. is empty)
the following is happening:
Version 1.1 - This is the initial version
After generating a listener event that saves the document (version 1.1) as above:
Version 1.2 - with the proper comment as passed by the save and as comment “first comment"
After generating another listener event that saves the same document (version 1.2 this time) as above and as comment “second comment":
Version 1.2 - no change detected. The version comment is still “first comment”
Editing the page and pressing save button:
Version 1.3 (minor edit) of Version 2.1 (major edit)
If I go back to the first step (as described after Version 1.1), the same results show up.
I have checked everything up to that actual save in the XWiki class. I can see that the information passed to the saveDocument in the XWiki class is the ‘right’ information.
Situation 2: The object contains one (or more) references (i.e. is not empty)
the following is happening:
Version 1.1 - This is the initial version
After generating a listener event that saves the document (version 1.1) as above with comment “first comment"
Version 1.2 - with the proper comment as passed by the save and as comment “first comment"
After generating another listener event that saves the same document (version 1.2 this time) as above and as comment “second comment":
Version 1.3 - with the proper comment as passed by the second save and the comment “second comment”
Since I did not understand what is actually happening, I have dogged in the various aspects such as comparing object, sheets and whatnot but I could not detect any difference.
Until I decided to change “Relational Storage” to false. This resulted in the proper situation (described by Situation 2 - with an empty DBList as well as an non-empty DBList)
What is the effect is for the “Relational Storage” parameter?
Why is the situation as above occurring and is this the expected result or is this a bug or undocumented feature?
I’m sorry for the extensive explanation but it took me also a while to figure out what happened.
Br,
Peter
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Today I wanted to upgrade our XWiki installation from 7.4.1 to 7.4.2.
I did a WAR upgrade, following the documentation at
<http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthewe…>
(I successfully performed these steps with previous xwiki versions many times)
In my installation, XWiki runs on apache-tomcat-7.0.61 under java version 1.8.0_73
I use PostgreSQL as database. User authentication is done against our
After restart of Tomcat XWiki started and initialized at first access as usual and
I could login as user with admin rights without problems, but then I noticed some
strange things:
1) the distribtion wizard did not appear after first login with admin rights
2) In the page footer (and with $xwiki.getVersion()) I still see version 7.4.1
Apart from that, the wiki seems to work. I can not see any difference to the
previous version (including the version number, which made me wonder the upgrade
might have failed in some way)
I then removed the .../jobs/status/distribution/status.xml file and restarted
Tomcat, but the DW still did not start and I still see version 7.4.1.
The status.xml file was not re-created, the directory .../jobs/status/distribution
is currently empty.
I checked the following:
*) tomcat/webapps/xwiki/WEB-INF/lib contains libraries from Feb. 29th, 2016
*) all xwiki-*.jar files in WEB-INF/lib have version 7.4.2
*) the xwiki WAR file I used is:
andreas@dyn239:~/Download> ll xwiki-enterprise-web-7.4.2.war
- -rw-rw-r-- 1 andreas outlaws 230759467 29. Mär 13:32 xwiki-enterprise-web-7.4.2.war
andreas@dyn239:~/Download> sha1sum xwiki-enterprise-web-7.4.2.war
8378e85f72ee91a3fb2d279c75f6a40f0d57e84d xwiki-enterprise-web-7.4.2.war
Is this expected behaviour with v7.4.2?
Thanks!
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iD8DBQFW+njwxJmyeGcXPhERAqKoAJ9CQQR3ckUkfSRQiqwhBQg63obthwCfW2Vq
vhrJVOQM88aJKCtwce/yJ/Y=
=MvtJ
-----END PGP SIGNATURE-----
I have successfully configured our xwiki site to use LDAP authentication
against Active Directory. The convention for the user IDs in our Active
Directory is to use a period to separate the given name and surname as in
mark.sack. I added the LDAPProfileClass object to the user profiles to map
the Active Directory IDs to the internal wiki ones. I had created the users
before implementing the Active Directory authentication with the convention
of an underscore in between the given name and the surname.
Now I would like to implement a single signon solution for all of our
applications and have set up a CAS server to authenticate against Active
Directory. The authentication works fine but the CAS authentication in xwiki
seems to simply strip out the period in the Active Directory ID instead of
mapping to the existing user. I observed the following behaviour:
- in xwiki.cfg, if I set xwiki.authentication.cas.create_user to 1 and login
as mark.sack (with my Active Directory password), the login is successful.
But xwiki creates a new user with id marksack instead of mapping to the
existing mark_sack user (mark_sack has the LDAPProfileClass set to
mark.sack).
- in xwiki.cfg, if I set xwiki.authentication.cas.create_user to 0 and login
as mark.sack, the login fails with a message that to the effect that the
user does not exist.
How could I achieve the mapping of xwiki users to Active Directory for CAS
authentication?
Our system is relatively small (about 40 users so far) and has not yet
really been rolled out to the user community. So if need be, I could create
new xwiki users following the convention required by xwiki (no character
between the given name and surname). But I would prefr to avoid that if I
can.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Jasig-CAS-authentication-and-users-with-p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Users,
i added over 500 Pages to the new XWiki and now want to sort it in depth.
But i cant find the "Change Parent" Symbol in Edit-Mode. Where can i change
the Parent of a Page?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Set-Parent-in-XWiki-8-0-tp7598643.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I noticed that the supported version of PostgreSQL for XWiki 8.0 is 9.4.5.
But for 7.4.2 it is 9.5. Is there some significance to this, eg. there is
some function in 8.0 that was found not to work with PostgreSQL 9.5? Or is
this simply an artefact of the testing process? Is there a need to downgrade
PostgreSQL to 9.4.5 if I upgrade XWiki to 8.0?
The database support strategy page could be interpreted to indicate that all
PostgreSQL 9.x releases are supported. But I find it hard to believe that
you would be that generous (9.0 has reached its end of life milestone and
9.1 is almost there).
--
View this message in context: http://xwiki.475771.n2.nabble.com/PostgreSQL-version-downgraded-for-8-0-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I want add to RSS feed text from each post of my Blog. But I don't know how
to insert all text. In RSS feed I see only description and no all text of my
blog post. I check Main.WebRss but I don't see how to show all text in RSS
feed. How to show all text from post in RSS feed ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Text-from-Blog-in-RSS-feed-tp7598685.html
Sent from the XWiki- Users mailing list archive at Nabble.com.