Confluence Installation Error - JavaScript unable to load

During installation of Confluence everything goes fine until I try to connect and import users from Jira. It appears that all requests on localhost:8090 are being redirected to:

http://localhost:8090/setup/connecttojirasyncdirectory-start.action

This includes images and JavaScript preventing the step from ever being completed. Any idea if I am missing some required module / component to cause this?

2 answers

1 accepted

Hi Logicbomb,

I think we're going to need more than just that snippet from the logs to figure out what's going on. Confluence installation/installer/setup wizard works fine out of the box which leads me to believe there is something environmental going on. Please head over to support.atlassian.com and create an issue there (JIRA instance). Assign to Confluence project and we'll pick it up there. Please attach the full logs from confluence.home/logs and confluence-install/logs so we can review.

I will comment on this thread and post the final solution when we have resolved.

Had excellent support from Atlassian. We really never discovered what was happening but when going through the installer we skipped the Jira link and did it manually once Confluence started up.

Hi LogicBomb,

It's hard to say exactly why this is happening without some more detailed information. If you check the confluence.home/logs/atlassian-confluence.log, are there any relevant messages at the end of the file?

The lack of image in the top left hand of the screen is troubling as well. That should have no problems rendering. Do you have any special plugins/extensions installed that would prohibit things being loaded from the filesystem to the page?

Best Regards,

Ryan Goodwin

Confluence/Crowd Support

Atlassian - San Francisco

Ryan,

I went carefully through the installation again and found that the first moment I get the broken logo image is right after I provide my MySQL direct connection information. I cleared the log just before this step and this is what was there after it completed:

2012-12-11 07:53:27,537 INFO [http-8090-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
2012-12-11 07:53:30,009 INFO [http-8090-1] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
2012-12-11 07:53:42,044 INFO [http-8090-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 14506 ms
2012-12-11 07:53:42,786 WARN [http-8090-1] [atlassian.confluence.setup.DefaultHibernateConfigurator] executeAdditionalSql Error executing SQL during schema changes: drop table CONTENTLOCK, StatementCallback; bad SQL grammar [drop table CONTENTLOCK]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'CONTENTLOCK'
 -- referer: http://192.168.1.150:8090/setup/setupstandarddb-start.action?database=mysql | url: /setup/setupstandarddb.action | userName: anonymous | action: setupstandarddb
2012-12-11 07:54:16,590 INFO [http-8090-1] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
2012-12-11 07:54:16,661 INFO [http-8090-1] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system

2012-12-11 07:54:36,948 ERROR [Spring executor 8] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] logWrongState Expecting state (resolving-dependencies) not (dependencies-resolved) for context [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.oauth.atlassian-oauth-service-provider-plugin, config=osgibundle:/META-INF/spring/*.xml)]; assuming an interruption and bailing out
 -- referer: http://192.168.1.150:8090/setup/setupstandarddb-start.action?database=mysql | url: /setup/setupstandarddb.action | userName: anonymous | action: setupstandarddb
2012-12-11 07:54:44,375 WARN [http-8090-1] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] <init> SystemAdministratorOrSuperUserCondition has been deprecated since Confluence 3.5. Please use com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition instead.
 -- referer: http://192.168.1.150:8090/setup/setupstandarddb-start.action?database=mysql | url: /setup/setupstandarddb.action | userName: anonymous | action: setupstandarddb
2012-12-11 07:54:45,866 INFO [http-8090-1] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:29.205

Now, it did 'complete' landing me on the 'Load Content' step of the installation wizard. However, the image is broken in the top left starting at this point and looking at the network tab reveals all external assets are being redirected.

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
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

408 views 17 9
Join discussion

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