Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
On Mon, Sep 10, 2012 at 3:57 PM, Vincent Massol wrote: > > On Sep 10, 2012, at 3:55 PM, Jerome Velociter wrote: > >> On 09/10/2012 03:48 PM, Eugen Colesnicov wrote: >>> Jerome Velociter-5 wrote We've decided not to bundle the LDAP service by default. You need to install it manually via the extension manager. See http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application. >>> Of course, I installed LDAP application via extention manager. In extention >>> manager I written LDAP - get result "LDAP Application 4.0" and installed >>> this (with all dependences - automatically). Maybe need something else to >>> install? >>> >>> Also, I uncommented >>> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl >>> in xwiki.org >>> >>> After this step, opened LDAP inside administration and top of page I see >>> this message: >>> "LDAP service is not available. Please verify your installation." >> >> It looks like a dependency issue. This message is issued when the >> xwiki-platform-ldap-api is not present in the classpath (I agree the message >> itself is not very clear). >> >> I see the dependency is correctly listed in the dependencies section of the >> extension page, at >> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application#HDependencies >> : >> >> org.xwiki.platform:xwiki-platform-ldap-api 4.0 >> >> Do you remember if it was listed in the extension UI as a dependency when >> installing the extension ? >> >> BTW Vincent, devs, what's the strategy for not-bundled extensions released >> by the xwiki development team when releasing platform ? Do we need to update >> the extension pages at each release ? Did I miss something ? > > You import the module once through the extension importer on e.x.o and then > it's supposed to be done automatically through a scheduler job that doesn't > exist yet :) > > So ATM it's manual and we don't do it… We need to fix this. > > Note that the issue re the scheduler is that we need a way to ensure > information don't get overwritten. For ex right now if you import/reimport > the extension name gets overwritten by the name from the pom.xml which isn't > nice. Thomas has been working on adding supprot for metadata in the pom for > this but I don't know the status. Thomas? Make possible to override the name is nothing but the real blocker is that we did not decided anything yet on maven project names AFAIK. > > Thanks > -Vincent > >>> -- >>> Best regards >>> Eugen Colesnicov >>> >>> >>> >>> -- >>> View this message in context: >>> http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581228.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 >> >> >> -- >> Peace, >> ---Jerome >> >> ___ >> 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
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
Jerome Velociter-5 wrote > > I see the dependency is correctly listed in the dependencies section of > the extension page, at > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application#HDependencies > > : > > org.xwiki.platform:xwiki-platform-ldap-api 4.0 > > Do you remember if it was listed in the extension UI as a dependency > when installing the extension ? > Yes! It was listed! vmassol wrote > > You import the module once through the extension importer on e.x.o and > then it's supposed to be done automatically through a scheduler job that > doesn't exist yet :) > > So ATM it's manual and we don't do it… We need to fix this. > > Note that the issue re the scheduler is that we need a way to ensure > information don't get overwritten. For ex right now if you import/reimport > the extension name gets overwritten by the name from the pom.xml which > isn't nice. > Thanks for quickly answers! Need to waiting some time for fix issue? -- Best regards Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581232.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
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
On Mon, Sep 10, 2012 at 3:55 PM, Jerome Velociter wrote: > On 09/10/2012 03:48 PM, Eugen Colesnicov wrote: >> >> Jerome Velociter-5 wrote >>> >>> We've decided not to bundle the LDAP service by default. You need to >>> install it manually via the extension manager. See >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application. >>> >> Of course, I installed LDAP application via extention manager. In >> extention >> manager I written LDAP - get result "LDAP Application 4.0" and installed >> this (with all dependences - automatically). Maybe need something else to >> install? >> >> Also, I uncommented >> >> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl >> in xwiki.org >> >> After this step, opened LDAP inside administration and top of page I see >> this message: >> "LDAP service is not available. Please verify your installation." > > > It looks like a dependency issue. This message is issued when the > xwiki-platform-ldap-api is not present in the classpath (I agree the message > itself is not very clear). > > I see the dependency is correctly listed in the dependencies section of the > extension page, at > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application#HDependencies > : > > org.xwiki.platform:xwiki-platform-ldap-api 4.0 > > Do you remember if it was listed in the extension UI as a dependency when > installing the extension ? The here issue might actually be http://jira.xwiki.org/browse/XCOMMONS-231. You should try to upgrade to 4.1.4. > > BTW Vincent, devs, what's the strategy for not-bundled extensions released > by the xwiki development team when releasing platform ? Do we need to update > the extension pages at each release ? Did I miss something ? > > >> >> -- >> Best regards >> Eugen Colesnicov >> >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581228.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 > > > > -- > Peace, > ---Jerome > > > ___ > 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
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
On Sep 10, 2012, at 3:55 PM, Jerome Velociter wrote: > On 09/10/2012 03:48 PM, Eugen Colesnicov wrote: >> Jerome Velociter-5 wrote >>> We've decided not to bundle the LDAP service by default. You need to >>> install it manually via the extension manager. See >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application. >>> >> Of course, I installed LDAP application via extention manager. In extention >> manager I written LDAP - get result "LDAP Application 4.0" and installed >> this (with all dependences - automatically). Maybe need something else to >> install? >> >> Also, I uncommented >> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl >> in xwiki.org >> >> After this step, opened LDAP inside administration and top of page I see >> this message: >> "LDAP service is not available. Please verify your installation." > > It looks like a dependency issue. This message is issued when the > xwiki-platform-ldap-api is not present in the classpath (I agree the message > itself is not very clear). > > I see the dependency is correctly listed in the dependencies section of the > extension page, at > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application#HDependencies > : > > org.xwiki.platform:xwiki-platform-ldap-api 4.0 > > Do you remember if it was listed in the extension UI as a dependency when > installing the extension ? > > BTW Vincent, devs, what's the strategy for not-bundled extensions released by > the xwiki development team when releasing platform ? Do we need to update the > extension pages at each release ? Did I miss something ? You import the module once through the extension importer on e.x.o and then it's supposed to be done automatically through a scheduler job that doesn't exist yet :) So ATM it's manual and we don't do it… We need to fix this. Note that the issue re the scheduler is that we need a way to ensure information don't get overwritten. For ex right now if you import/reimport the extension name gets overwritten by the name from the pom.xml which isn't nice. Thomas has been working on adding supprot for metadata in the pom for this but I don't know the status. Thomas? Thanks -Vincent >> -- >> Best regards >> Eugen Colesnicov >> >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581228.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 > > > -- > Peace, > ---Jerome > > ___ > 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
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
On 09/10/2012 03:48 PM, Eugen Colesnicov wrote: Jerome Velociter-5 wrote We've decided not to bundle the LDAP service by default. You need to install it manually via the extension manager. See http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application. Of course, I installed LDAP application via extention manager. In extention manager I written LDAP - get result "LDAP Application 4.0" and installed this (with all dependences - automatically). Maybe need something else to install? Also, I uncommented xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl in xwiki.org After this step, opened LDAP inside administration and top of page I see this message: "LDAP service is not available. Please verify your installation." It looks like a dependency issue. This message is issued when the xwiki-platform-ldap-api is not present in the classpath (I agree the message itself is not very clear). I see the dependency is correctly listed in the dependencies section of the extension page, at http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application#HDependencies : org.xwiki.platform:xwiki-platform-ldap-api 4.0 Do you remember if it was listed in the extension UI as a dependency when installing the extension ? BTW Vincent, devs, what's the strategy for not-bundled extensions released by the xwiki development team when releasing platform ? Do we need to update the extension pages at each release ? Did I miss something ? -- Best regards Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581228.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 -- Peace, ---Jerome ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
Jerome Velociter-5 wrote > > We've decided not to bundle the LDAP service by default. You need to > install it manually via the extension manager. See > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application. > Of course, I installed LDAP application via extention manager. In extention manager I written LDAP - get result "LDAP Application 4.0" and installed this (with all dependences - automatically). Maybe need something else to install? Also, I uncommented xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl in xwiki.org After this step, opened LDAP inside administration and top of page I see this message: "LDAP service is not available. Please verify your installation." -- Best regards Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581228.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
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
Hi Jerome, On Sep 10, 2012, at 1:24 PM, Jerome Velociter wrote: > Hello, > > We've decided not to bundle the LDAP service by default. You need to install > it manually via the extension manager. See > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application. I haven't really followed this thread but I don't understand how something optional that you don't install could cause an error? Thanks -Vincent > Does this helps ? > > Jerome > > On 09/10/2012 11:24 AM, Eugen Colesnicov wrote: >> shouldbe q931 wrote >>> Any ideas on the "LDAP service is not available. Please verify your >>> installation." message ? >>> >> I have same situation, when I trying new installation of XWiki 4.1.3 (debian >> package). >> Have some news for the problem: >> "LDAP service is not available. Please verify your installation"? >> >> -- >> Thanks beforehand! >> Eugen Colesnicov ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
Hello, We've decided not to bundle the LDAP service by default. You need to install it manually via the extension manager. See http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application. Does this helps ? Jerome On 09/10/2012 11:24 AM, Eugen Colesnicov wrote: shouldbe q931 wrote Any ideas on the "LDAP service is not available. Please verify your installation." message ? I have same situation, when I trying new installation of XWiki 4.1.3 (debian package). Have some news for the problem: "LDAP service is not available. Please verify your installation"? -- Thanks beforehand! Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581222.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 -- Peace, ---Jerome ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
shouldbe q931 wrote > > Any ideas on the "LDAP service is not available. Please verify your > installation." message ? > I have same situation, when I trying new installation of XWiki 4.1.3 (debian package). Have some news for the problem: "LDAP service is not available. Please verify your installation"? -- Thanks beforehand! Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581222.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
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
On Fri, Jun 22, 2012 at 1:34 PM, Guillaume Lerouge wrote: > Hi Arne, > > On Fri, Jun 22, 2012 at 2:17 PM, shouldbe q931 wrote: > >> On Wed, Jun 20, 2012 at 4:10 AM, shouldbe q931 >> wrote: >> > upgrading from 3.5 on tomcat6 with mysql and LDAP auth against AD >> > OS is Ubuntu 10.0.4 >> > only "customisation" was in hibernate.cfg.xml for database and >> > xwiki.cfg for LDAP and lucene path >> > >> > backed up database >> > >> > downloaded and unzipped new war file >> > >> > stopped tomcat >> > >> > moved webapps/xwiki to a backup location >> > >> > put the new xwiki in webapps/xwiki >> > >> > edited hibernate.cfg.xml: xwiki.cfg and xwiki.properties to match >> previous >> > >> > removed the LDAP config apart from >> > >> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl >> > xwiki.authentication.ldap=1 >> > >> > started up tomcat >> > >> > logged in as local admin >> > >> > imported new admin.xar >> > >> > imported all of it, (well I'd upgraded this install quite a few times >> > and wanted a "clean sheet") >> > >> > changed admin user password >> > >> > changed rights to prevent unregistered users >> > >> > imported the new ldap.xar >> > >> > go to setup LDAP >> > >> > get error "LDAP service is not available. Please verify your >> installation." >> > >> > logout as local admin >> > >> > login as superadmin and get same errror >> > >> > documentation here >> > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application >> > links to here >> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPAuthentication >> > which doesn't have anything specific >> > >> > google searches for the error don't have anything remotely useful >> > >> > all pages are in place and database looks good, but the lack of LDAP >> > auth is a bit of a pain >> > >> > any suggestions, or should I go back to 3.5 and upgrade to 4.1.1 >> > without the LDAP .xar ? >> > >> > Cheers >> > >> > Arne >> >> Managed to get LDAP login working by commenting out all of the LDAP >> configuration from xwiki.cfg apart from >> >> >> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl >> >> This could be a lot clearer in the instructions here >> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application > > > It's a wiki! > > Don't hesitate to create an account on XWiki.org so that you can edit the > page and edit the instructions accordingly :-) > > Guillaume > > The error message "LDAP service is not available. Please verify your >> installation." still appears on the LDAP but users are able to >> authenticate >> >> Cheers >> >> Arne >> ___ >> 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 Very good point :-) I've updated the page to clarify the required change. Any ideas on the "LDAP service is not available. Please verify your installation." message ? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
Hi Arne, On Fri, Jun 22, 2012 at 2:17 PM, shouldbe q931 wrote: > On Wed, Jun 20, 2012 at 4:10 AM, shouldbe q931 > wrote: > > upgrading from 3.5 on tomcat6 with mysql and LDAP auth against AD > > OS is Ubuntu 10.0.4 > > only "customisation" was in hibernate.cfg.xml for database and > > xwiki.cfg for LDAP and lucene path > > > > backed up database > > > > downloaded and unzipped new war file > > > > stopped tomcat > > > > moved webapps/xwiki to a backup location > > > > put the new xwiki in webapps/xwiki > > > > edited hibernate.cfg.xml: xwiki.cfg and xwiki.properties to match > previous > > > > removed the LDAP config apart from > > > xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl > > xwiki.authentication.ldap=1 > > > > started up tomcat > > > > logged in as local admin > > > > imported new admin.xar > > > > imported all of it, (well I'd upgraded this install quite a few times > > and wanted a "clean sheet") > > > > changed admin user password > > > > changed rights to prevent unregistered users > > > > imported the new ldap.xar > > > > go to setup LDAP > > > > get error "LDAP service is not available. Please verify your > installation." > > > > logout as local admin > > > > login as superadmin and get same errror > > > > documentation here > > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application > > links to here > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPAuthentication > > which doesn't have anything specific > > > > google searches for the error don't have anything remotely useful > > > > all pages are in place and database looks good, but the lack of LDAP > > auth is a bit of a pain > > > > any suggestions, or should I go back to 3.5 and upgrade to 4.1.1 > > without the LDAP .xar ? > > > > Cheers > > > > Arne > > Managed to get LDAP login working by commenting out all of the LDAP > configuration from xwiki.cfg apart from > > > xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl > > This could be a lot clearer in the instructions here > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application It's a wiki! Don't hesitate to create an account on XWiki.org so that you can edit the page and edit the instructions accordingly :-) Guillaume The error message "LDAP service is not available. Please verify your > installation." still appears on the LDAP but users are able to > authenticate > > Cheers > > Arne > ___ > 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
Re: [xwiki-users] upgrade from 3.5 to 4.1.1 "LDAP service is not available. Please verify your installation."
On Wed, Jun 20, 2012 at 4:10 AM, shouldbe q931 wrote: > upgrading from 3.5 on tomcat6 with mysql and LDAP auth against AD > OS is Ubuntu 10.0.4 > only "customisation" was in hibernate.cfg.xml for database and > xwiki.cfg for LDAP and lucene path > > backed up database > > downloaded and unzipped new war file > > stopped tomcat > > moved webapps/xwiki to a backup location > > put the new xwiki in webapps/xwiki > > edited hibernate.cfg.xml: xwiki.cfg and xwiki.properties to match previous > > removed the LDAP config apart from > xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl > xwiki.authentication.ldap=1 > > started up tomcat > > logged in as local admin > > imported new admin.xar > > imported all of it, (well I'd upgraded this install quite a few times > and wanted a "clean sheet") > > changed admin user password > > changed rights to prevent unregistered users > > imported the new ldap.xar > > go to setup LDAP > > get error "LDAP service is not available. Please verify your installation." > > logout as local admin > > login as superadmin and get same errror > > documentation here > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application > links to here > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPAuthentication > which doesn't have anything specific > > google searches for the error don't have anything remotely useful > > all pages are in place and database looks good, but the lack of LDAP > auth is a bit of a pain > > any suggestions, or should I go back to 3.5 and upgrade to 4.1.1 > without the LDAP .xar ? > > Cheers > > Arne Managed to get LDAP login working by commenting out all of the LDAP configuration from xwiki.cfg apart from xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl This could be a lot clearer in the instructions here http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application The error message "LDAP service is not available. Please verify your installation." still appears on the LDAP but users are able to authenticate Cheers Arne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users