Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to upgrade Stash install from 2.9.3 to 2.10.1

Pierre Zurmely February 16, 2014

Hello,

I am trying to upgrade my Stash server from version 2.9.3 to 2.10.1, but each time i am trying this, I'm stuck , stash service doesn't respond anymore.

I have tryed to go from 2.9.3 to 2.9.4, to start only with LDAP users, to remove all the plug Ins, all unssucessfully.

Do you have any idea of what happen?

I have the following log:

2014-02-17 17:03:09,183 INFO [localhost-startStop-2] c.a.s.i.server.BuildInfoLogger Stash 2.9.3 has shut down
2014-02-17 17:04:25,607 INFO [localhost-startStop-1] c.a.s.i.server.BuildInfoLogger Starting Stash 2.10.1 (f584ca6 built on Tue Dec 31 03:18:44 UTC 2013)
2014-02-17 17:04:25,613 INFO [localhost-startStop-1] c.a.s.i.server.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.7.0_21-b11
2014-02-17 17:04:27,812 INFO [localhost-startStop-1] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /farequote/stash/stash-home for 29346@ncepspa162.nce.amadeus.net
2014-02-17 17:04:56,710 INFO [localhost-startStop-1] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:58911
2014-02-17 17:05:03,261 WARN [localhost-startStop-1] c.a.p.o.f.t.s.GenerateManifestStage The Spring Manifest header in jar 'applinks-plugin-4.0.10.jar' isn't set for a 300 second timeout waiting for dependencies. Please add ';timeout:=300'
2014-02-17 17:05:06,463 WARN [localhost-startStop-1] c.a.p.o.f.t.s.GenerateManifestStage The Spring Manifest header in jar 'atlassian-pretty-urls-plugin-1.9.jar' isn't set for a 300 second timeout waiting for dependencies. Please add ';timeout:=300'
2014-02-17 17:05:06,879 WARN [localhost-startStop-1] c.a.p.o.f.t.s.GenerateManifestStage The Spring Manifest header in jar 'atlassian-rest-module-2.8.2.jar' isn't set for a 300 second timeout waiting for dependencies. Please add ';timeout:=300'
2014-02-17 17:05:07,593 WARN [localhost-startStop-1] c.a.p.o.f.t.s.GenerateManifestStage The Spring Manifest header in jar 'atlassian-template-renderer-api-1.5.1.jar' isn't set for a 300 second timeout waiting for dependencies. Please add ';timeout:=300'
2014-02-17 17:05:07,683 WARN [localhost-startStop-1] c.a.p.o.f.t.s.GenerateManifestStage The Spring Manifest header in jar 'atlassian-template-renderer-velocity16-plugin-1.5.1.jar' isn't set for a 300 second timeout waiting for dependencies. Please add ';timeout:=300'
2014-02-17 17:05:08,442 WARN [localhost-startStop-1] c.a.p.o.f.t.s.ScanDescriptorForHostClassesStage The plugin 'atlassian-universal-plugin-manager-plugin-2.14.4.jar' uses a package 'org.apache.commons.fileupload.servlet' that is also exported by the application. It is highly recommended that the plugin use its own packages.
2014-02-17 17:05:09,362 WARN [localhost-startStop-1] c.a.p.o.f.t.s.GenerateManifestStage The Spring Manifest header in jar 'atlassian-webhooks-plugin-0.17.3.jar' isn't set for a 300 second timeout waiting for dependencies. Please add ';timeout:=300'
2014-02-17 17:05:26,511 WARN [ThreadPoolAsyncTaskExecutor::Thread 3] o.s.beans.TypeConverterDelegate PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
2014-02-17 17:06:00,418 WARN [active-objects-ddl-0] c.a.a.o.AOConfigurationServiceProviderImpl Timeout (30000 MILLISECONDS) waiting for ActiveObjectConfiguration for Bundle : de.communardo.plugin.stash-project-categories [93].
To avoid this warning add an ao configuration module to your plugin
2014-02-17 17:06:00,423 WARN [active-objects-ddl-0] c.a.a.o.AOConfigurationServiceProviderImpl Didn't find any configuration service for bundle de.communardo.plugin.stash-project-categories nor any entities scanning for default AO packages.
2014-02-17 17:06:00,426 WARN [ListenableFutureAdapter-thread-0] c.a.a.o.ActiveObjectsServiceFactory Resubmitting AO bundle with longer timeout 180000 ms for bundle : de.communardo.plugin.stash-project-categories [93]
2014-02-17 17:06:01,661 INFO [localhost-startStop-1] c.a.s.internal.scm.PluginScmService Stash is using /farequote/git/current/bin/git version 1.8.3
2014-02-17 17:06:03,121 WARN [active-objects-ddl-0] net.java.ao.schema.SchemaGenerator public abstract de.communardo.plugin.stash.projectcategories.model.ao.Category[] de.communardo.plugin.stash.projectcategories.model.ao.Project.getCategories() does not have a value specified for the reverse element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
2014-02-17 17:06:03,121 WARN [active-objects-ddl-0] net.java.ao.schema.SchemaGenerator public abstract de.communardo.plugin.stash.projectcategories.model.ao.Category[] de.communardo.plugin.stash.projectcategories.model.ao.Project.getCategories() does not have a value specified for the through element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
2014-02-17 17:06:03,122 WARN [active-objects-ddl-0] net.java.ao.schema.SchemaGenerator public abstract de.communardo.plugin.stash.projectcategories.model.ao.Project[] de.communardo.plugin.stash.projectcategories.model.ao.Category.getProjects() does not have a value specified for the reverse element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
2014-02-17 17:06:03,122 WARN [active-objects-ddl-0] net.java.ao.schema.SchemaGenerator public abstract de.communardo.plugin.stash.projectcategories.model.ao.Project[] de.communardo.plugin.stash.projectcategories.model.ao.Category.getProjects() does not have a value specified for the through element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
2014-02-17 17:06:03,123 WARN [active-objects-ddl-0] net.java.ao.schema.SchemaGenerator public abstract de.communardo.plugin.stash.projectcategories.model.ao.Category[] de.communardo.plugin.stash.projectcategories.model.ao.Project.getCategories() does not have a value specified for the reverse element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
2014-02-17 17:06:03,124 WARN [active-objects-ddl-0] net.java.ao.schema.SchemaGenerator public abstract de.communardo.plugin.stash.projectcategories.model.ao.Category[] de.communardo.plugin.stash.projectcategories.model.ao.Project.getCategories() does not have a value specified for the through element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
2014-02-17 17:06:03,125 WARN [active-objects-ddl-0] net.java.ao.schema.SchemaGenerator public abstract de.communardo.plugin.stash.projectcategories.model.ao.Project[] de.communardo.plugin.stash.projectcategories.model.ao.Category.getProjects() does not have a value specified for the reverse element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
2014-02-17 17:06:03,125 WARN [active-objects-ddl-0] net.java.ao.schema.SchemaGenerator public abstract de.communardo.plugin.stash.projectcategories.model.ao.Project[] de.communardo.plugin.stash.projectcategories.model.ao.Category.getProjects() does not have a value specified for the through element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
2014-02-17 17:07:41,675 WARN [scheduler_Worker-4] c.a.c.d.l.c.AbstractCacheRefresher group [UG-SRC-CVS-ncefop1-Admin] duplicated in remote directory. Ignoring group.
2014-02-17 17:07:41,676 WARN [scheduler_Worker-4] c.a.c.d.l.c.AbstractCacheRefresher group [UG-SRC-CVS-ncefop1] duplicated in remote directory. Ignoring group.
2014-02-17 17:07:41,680 WARN [scheduler_Worker-4] c.a.c.d.l.c.AbstractCacheRefresher group [cvsadmin] duplicated in remote directory. Ignoring group.
2014-02-17 17:07:41,681 WARN [scheduler_Worker-4] c.a.c.d.l.c.AbstractCacheRefresher group [MUC-Hlp-Users] duplicated in remote directory by group [MUC-HLP-Users]. Ignoring group.
2014-02-17 17:07:41,684 WARN [scheduler_Worker-4] c.a.c.d.l.c.AbstractCacheRefresher group [AIT] duplicated in remote directory by group [ait]. Ignoring group.
2014-02-17 17:07:41,686 WARN [scheduler_Worker-4] c.a.c.d.l.c.AbstractCacheRefresher group [zone_nis_servers] duplicated in remote directory. Ignoring group.
2014-02-17 17:07:44,062 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-Ops-IAM-Operators ] casing differs from local group name [ NCE-ops-IAM-operators ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,149 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ Central-Ops-SSO-Admins ] casing differs from local group name [ central-ops-sso-admins ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,176 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ MIA-FUNC-DEV-PSP-PSR-BOS ] casing differs from local group name [ MIA-Func-DEV-PSP-PSR-BOS ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,191 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-UNION-COMPUTERS ] casing differs from local group name [ NCE-Union-Computers ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,192 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-EMPLOYEES-NOA ] casing differs from local group name [ NCE-Employees-NOA ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,193 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-EMPLOYEES-GIA ] casing differs from local group name [ NCE-Employees-GIA ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,193 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-AMADEUSRAILIT-YYZ ] casing differs from local group name [ NCE-AmadeusRailIT-YYZ ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,196 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-EMPLOYEES-MAP ] casing differs from local group name [ NCE-Employees-MAP ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,197 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-EMPLOYEES-CTO ] casing differs from local group name [ NCE-Employees-CTO ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,197 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-EMPLOYEES-GBS ] casing differs from local group name [ NCE-Employees-GBS ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,197 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-BLADMINS ] casing differs from local group name [ NCE-BLAdmins ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,198 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-EMPLOYEES-CST ] casing differs from local group name [ NCE-Employees-CST ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:07:44,198 WARN [scheduler_Worker-4] c.a.c.d.DbCachingRemoteChangeOperations remote group name [ NCE-EMPLOYEES-CFA ] casing differs from local group name [ NCE-Employees-CFA ]. Group details will be kept updated, but the group name cannot be updated
2014-02-17 17:11:12,111 ERROR [scheduler_Worker-4] c.a.c.d.DbCachingDirectoryPoller Error occurred while refreshing the cache for directory [ 294913 ].
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
at org.hibernate.internal.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:918) ~[hibernate-core-4.2.7.SP1.jar:4.2.7.SP1]
at org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:396) ~[hibernate-core-4.2.7.SP1.jar:4.2.7.SP1]
at com.atlassian.crowd.dao.membership.MembershipDAOHibernate.findInternalMembership(MembershipDAOHibernate.java:356) ~[crowd-persistence-hibernate4-2.7.1-rc.jar:na]
at com.atlassian.crowd.dao.membership.MembershipDAOHibernate.isUserDirectMember(MembershipDAOHibernate.java:211) ~[crowd-persistence-hibernate4-2.7.1-rc.jar:na]
at com.sun.proxy.$Proxy109.isUserDirectMember(Unknown Source) ~[na:na]
at com.atlassian.crowd.directory.AbstractInternalDirectory.isUserDirectGroupMember(AbstractInternalDirectory.java:804) ~[crowd-persistence-2.7.1-rc.jar:na]
at com.atlassian.crowd.directory.AbstractInternalDirectory.removeUserFromGroup(AbstractInternalDirectory.java:852) ~[crowd-persistence-2.7.1-rc.jar:na]
at com.atlassian.crowd.directory.DbCachingRemoteChangeOperations.removeUserMembershipsForGroup(DbCachingRemoteChangeOperations.java:750) ~[crowd-core-2.7.1-rc.jar:na]
at com.atlassian.crowd.directory.$Proxy1480.removeUserMembershipsForGroup(Unknown Source) ~[na:na]
at com.atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations.syncUserMembersForGroup(DirectoryCacheImplUsingChangeOperations.java:119) ~[crowd-core-2.7.1-rc.jar:na]
at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseMemberships(AbstractCacheRefresher.java:142) ~[crowd-ldap-2.7.1-rc.jar:na]
at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:82) ~[crowd-ldap-2.7.1-rc.jar:na]
at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAll(UsnChangedCacheRefresher.java:126) ~[crowd-ldap-2.7.1-rc.jar:na]
at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:998) ~[crowd-core-2.7.1-rc.jar:na]
at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:75) ~[crowd-core-2.7.1-rc.jar:na]
at com.sun.proxy.$Proxy117.synchronise(Unknown Source) ~[na:na]
at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50) ~[crowd-core-2.7.1-rc.jar:na]
at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobBean.executeInternal(DirectoryPollerJobBean.java:29) [crowd-core-2.7.1-rc.jar:na]
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:113) [spring-context-support-3.2.5.RELEASE.jar:3.2.5.RELEASE]
at org.quartz.core.JobRunShell.run(JobRunShell.java:223) [quartz-1.8.6.jar:na]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) [quartz-1.8.6.jar:na]
... 36 frames trimmed

3 answers

1 accepted

0 votes
Answer accepted
Pierre Zurmely February 23, 2014

Hello,

Ticket: <font></font><font>https://support.atlassian.com/i#browse/SSP-3493</font> u is fixed now.

It was an issue related to a wrong parameter in the server.xml file.

Here: <Context docBase="${catalina.home}/atlassian-stash" path="" reloadable="false" useHttpOnly="true" />

My path value was wrong, so the service was available, but not at the expected place.

Pierre

0 votes
Pierre Zurmely February 17, 2014

Hello Charles,

Thank you for your supportive comment.

I have raised the ticket: https://support.atlassian.com/i#browse/SSP-3493using the Stash Request tool and providing all the logs.

I am using an external database, MySQL Server version: 5.1.56.

Regards,

Pierre

0 votes
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2014

Hi Pierre,

I'm sorry to hear that. Just out of interest, are you still using the "internal" database of Stash?

In any case did you mind raising a support ticket and attaching your logs and ideally the full support zip (which you can collect from the Stash UI)

Charles

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events