I'm trying to get Crucible to run but I'm stuck with some errors and the web interface can't start.
I followed the instructions for installation and I'm getting this error:
2014-12-03 11:47:37,682 INFO - Starting database... 2014-12-03 11:47:40,723 INFO - Database started. 2014-12-03 11:47:41,794 INFO - Starting plugin system... 2014-12-03 11:47:43,835 ERROR - No default permission scheme exists 2014-12-03 11:47:43,906 ERROR - The Web context could not be started org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'feCruHostApplication' defined in URL [jar:file:/XXX/atlassian/fecru-3.6.1/fisheye.jar!/com/atlassian/fecru/applinks/FeCruHostApplication.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.cenqua.crucible.model.managers.ProjectManager]: : Error creating bean with name 'projectManager' defined in URL [jar:file:/XXX/atlassian/fecru-3.6.1/fisheye.jar!/com/cenqua/crucible/model/managers/impl/DefaultProjectManager.class]: Invocation of init method failed; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: com.cenqua.crucible.model.Project.permissionScheme; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'projectManager' defined in URL [jar:file:/XXX/atlassian/fecru-3.6.1/fisheye.jar!/com/cenqua/crucible/model/managers/impl/DefaultProjectManager.class]: Invocation of init method failed; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: com.cenqua.crucible.model.Project.permissionScheme Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'backup': Requested bean is currently in creation: Is there an unresolvable circular reference? Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'authenticationConfigurationManagerFactoryBean': Requested bean is currently in creation: Is there an unresolvable circular reference? Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'typeAccessorServiceFactoryBean': Requested bean is currently in creation: Is there an unresolvable circular reference? Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'entityLinkServiceFactoryBean': Requested bean is currently in creation: Is there an unresolvable circular reference? Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'manifestRetrieverFactoryBean': Requested bean is currently in creation: Is there an unresolvable circular reference? Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'applicationLinkServiceFactoryBean': Requested bean is currently in creation: Is there an unresolvable circular reference? at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)
I found this page which seems to be the same error https://confluence.atlassian.com/display/FISHKB/FishEye+Fails+to+Start%3A+No+default+permission+scheme+exists
That page only suggests that the there is file corruption but I find that to be very unlikely. I verified the md5sum of the zip file. I extracted it using "unzip" and using the Red Hat File explorer extract functionality and both result in the same issue.
Hi Michael,
The error being reported here is the same as the one mentioned in the KB article you've found, so you're probably facing that problem.
Can you please download Crucible again and use 7-Zip in order to extract the zip?
This will probably fix the problem.
Kind regards,
Felipe Kraemer
Using 7 zip does fix the problem. But why is this @Felipe Kraemer? It is not very friendly to Linux users to force them to use 7-Zip which is a program made for windows. It's also not documented on the Linux install documentation that you MUST use 7-zip (https://confluence.atlassian.com/display/CRUCIBLE/Installing+Crucible+on+Linux+and+Mac). Atlassian should not be using special compression software for their distribution in my opinion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
It's hard to say why it works with 7-Zip and not with other programs, but the problem seems to happen because long paths could not be extracted properly.
I have investigated this and I've found a Confluence 5.4 installation guide which says:
Please check your unzip program before extracting the downloaded zip file. Some archive-extract programs cause errors when unzipping the Confluence zip file:
Although 7-Zip was not suggested for Linux users, maybe the problem you've faced is similar to what happens in other operating systems?
Looks like this applies to FishEye/Crucible as well, so I have edited these documents in order to include this information:
Kind regards,
Felipe Kraemer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for updating the documentation. This has been a good experience for me and I'm happy with the outcome. I look forward to working more with Atlassian products :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solaris users will need to use GNU tar to handle the long file names.
I'm trying this on an AWS Linux instance. The tar command doesn't work with a .zip file. I'm I missing something?
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.