Is it possible to upgrade to 3.5.13 from 3.3.3 ? I'm using the war distribution and I changed my symlink to point to the newever version and when I start tomcat I get the following errors:
2016-12-29 10:22:26,269 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 3.5.13 (build #2171) 2016-12-29 10:22:28,451 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system 2016-12-29 10:22:28,622 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:00.169 2016-12-29 10:22:29,732 INFO [main] [com.atlassian.confluence.lifecycle] <init> Bootstrapping Coherence cluster manager. 2016-12-29 10:22:30,364 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started 2016-12-29 10:22:32,077 INFO [main] [com.atlassian.confluence.lifecycle] <init> Loading Coherence cache manager 2016-12-29 10:22:33,780 WARN [Logger@1105734171 3.3.1/389] [Coherence] log 2016-12-29 10:22:33.779 Oracle Coherence GE 3.3.1/389 <Warning> (thread=main, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 85 packets (124928 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance. 2016-12-29 10:22:46,108 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 15743 ms 2016-12-29 10:22:47,124 INFO [main] [confluence.user.migration.AtlassianUserMigrator] validate validated repository [ wdc1 ] with [ com.atlassian.confluence.user.migration.LdapRepositoryConfigurationMigrator@352cdad3 ] 2016-12-29 10:22:47,126 ERROR [main] [confluence.user.migration.LdapRepositoryConfigurationMigrator] validateObjectClassDefined Property groupSearchFilter does not define an objectClass filter 2016-12-29 10:22:47,127 ERROR [main] [confluence.user.migration.LdapRepositoryConfigurationMigrator] validateObjectClassDefined Property userSearchFilter does not define an objectClass filter 2016-12-29 10:22:47,127 INFO [main] [confluence.user.migration.AtlassianUserMigrator] validate validated repository [ wdc2 ] with [ com.atlassian.confluence.user.migration.LdapRepositoryConfigurationMigrator@352cdad3 ] 2016-12-29 10:22:47,128 INFO [main] [confluence.user.migration.AtlassianUserMigrator] validate validated repository [ hibernateRepository ] with [ com.atlassian.confluence.user.migration.HibernateRepositoryConfigurationMigrator@6849b026 ] 2016-12-29 10:22:47,144 ERROR [main] [atlassian.confluence.upgrade.UpgradeLauncherServletContextListener] contextInitialized Upgrade failed, application will not start: Upgrade task com.atlassian.confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask@7897ce5d failed during the VALIDATION phase com.atlassian.confluence.upgrade.UpgradeException: Upgrade task com.atlassian.confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask@7897ce5d failed during the VALIDATION phase at com.atlassian.confluence.upgrade.AbstractUpgradeManager.executeUpgradeStep(AbstractUpgradeManager.java:205) at com.atlassian.confluence.upgrade.AbstractUpgradeManager.validateUpgradeTasks(AbstractUpgradeManager.java:140) at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:70) at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.upgrade(DefaultUpgradeManager.java:140) at com.atlassian.confluence.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:28) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4244) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4743) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) at java.lang.reflect.Method.invoke(Method.java:620) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2016-12-29 10:22:47,148 ERROR [main] [atlassian.confluence.upgrade.UpgradeLauncherServletContextListener] contextInitialized 2 errors were encountered during upgrade: 2016-12-29 10:22:47,149 ERROR [main] [atlassian.confluence.upgrade.UpgradeLauncherServletContextListener] contextInitialized 1: Property groupSearchFilter does not define an objectClass filter 2016-12-29 10:22:47,149 ERROR [main] [atlassian.confluence.upgrade.UpgradeLauncherServletContextListener] contextInitialized 2: Property userSearchFilter does not define an objectClass filter 2016-12-29 10:22:47,864 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
<ldap key="domain" name="domain" cache="true"> <host>ipaddress</host> <port>389</port> <securityPrincipal>cn=user,cn=users,dc=domain,dc=com</securityPrincipal> <securityCredential>password</securityCredential> <securityProtocol>plain</securityProtocol> <securityAuthentication>simple</securityAuthentication> <baseContext>dc=domain,dc=com</baseContext> <baseUserNamespace>ou=Domain-Accounts,dc=domain,dc=com</baseUserNamespace> <baseGroupNamespace>ou=DOMAINOU-Groups,dc=litle,dc=com</baseGroupNamespace> <usernameAttribute>sAMAccountName</usernameAttribute> <userSearchFilter>(objectClass=person)</userSearchFilter> <firstnameAttribute>givenName</firstnameAttribute> <surnameAttribute>sn</surnameAttribute> <emailAttribute>mail</emailAttribute> <groupnameAttribute>cn</groupnameAttribute> <groupSearchFilter>(info=Confluence)</groupSearchFilter> <membershipAttribute>member</membershipAttribute> <userSearchAllDepths>true</userSearchAllDepths> <groupSearchAllDepths>false</groupSearchAllDepths> </ldap>
That's not how you do an upgrade, from my memory. what documentation are you following?
These are the docs I was following.
https://confluence.atlassian.com/display/CONF35/Upgrading+Confluence+EAR-WAR+Distribution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I fixed the issue by changing the <groupSearchFilter>(info=Confluence)</groupSearchFilter> to <groupSearchFilter>(objectClass=person)</groupSearchFilter>
however i'm having a lot of errors with the index, is there a way I can manually do it from the command line?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I restarted tomcat and it seems confluence was able to start successful, however when I go to the dashboard or any other page it says "You are not permitted to perform this operation."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I'm not sure what you have done for the upgrade, but there's no mention of symbolic links in the upgrade doc - is there a reason you are doing it differently?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes because the context file in tomcat points to /usr/local/confluence/current and current is a symbolic link to confluence-3.3-std, and then I changed the symbolic link to 3.5.13
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What about the rest of the instructions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I performed all the rest and I received a bunch of errors when confluence was doing the index,
After I login to confluence I'm not able to see any page it says "You are not permitted to perform this operation."
I made a change on the atlassian-user.xml
on 3.3 it was
<groupSearchFilter>(info=Confluence)</groupSearchFilter>
on 3.5.13
<groupSearchFilter>(objectClass=person)</groupSearchFilter>
I believe I need to add more settings to the groupSearchFilter for it to allow me to view pages on confluence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'ms till struggling trying to get confluence to recognize the group in AD, I changed the value to this and restarted confluence and still not able to see any of the content.
<groupSearchFilter>(&(objectCategory=Group)(|(cn=Confluence Users)(cn=confluence-administrators)))</groupSearchFilter>
The reason why I changed it was because the upgrade to 3.5.13 did not like the previous value which was:
<groupSearchFilter>(info=Confluence)</groupSearchFilter>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.