unable to start crucible due to errors

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.

 

3 answers

1 accepted

0 vote

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.

1 vote

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:

  • Windows users must avoid the Windows built-in unzip utility, as it doesn't extract all the files. Use a third-party unzip program like 7Zip or Winzip.
  • Solaris users will need to use GNU tar to handle the long file names.

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

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 :)

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?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

71 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you