start confluence failed
Asked by lzx:

Hi guys

i could not start confluence,there are some logs ,please help me .

--------------------------------------------------------------------------------------------------

2019-09-12 09:50:41,666 INFO \[localhost-startStop-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 6.13.4 \[build 7901 based on commit hash 0b59262db6a7cd3dbeee6d1b1416b77c01706b36\] - synchrony version 2.1.0-master-9d112c9d  
2019-09-12 09:50:43,996 INFO \[localhost-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$populateExistingClusterSetupConfig$5 Populating setup configuration if running with Cluster mode...  
2019-09-12 09:50:43,998 ERROR \[localhost-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] loadClusterConfig Could not load the config from the shared home folder  
2019-09-12 09:50:44,004 ERROR \[localhost-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] loadClusterConfig Could not load the config from the shared home folder  
2019-09-12 09:50:44,007 INFO \[localhost-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$saveSharedProperty$6 Saving access.mode into the shared confluence.cfg.xml file...  
2019-09-12 09:50:44,007 ERROR \[localhost-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$saveSharedProperty$6 Could not save access.mode into the shared confluence.cfg.xml file  
2019-09-12 09:50:44,008 INFO \[localhost-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$saveSharedProperty$6 Finished writing access.mode into the shared confluence.cfg.xml file  
2019-09-12 09:50:44,106 INFO \[localhost-startStop-1\] \[confluence.cluster.hazelcast.HazelcastClusterManager\] configure Configuring Hazelcast with instanceName \[confluence\], join configuration TCP/IP member addresses: 10.40.54.18\|10.40.54.19, network interfaces \[10.40.54.18, fe80:0:0:0:250:56ff:feb1:e273%eth0\] and local port 5801  
2019-09-12 09:50:44,106 INFO \[localhost-startStop-1\] \[confluence.cluster.hazelcast.HazelcastClusterManager\] startCluster Starting the cluster.  
2019-09-12 09:50:46,301 INFO \[localhost-startStop-1\] \[confluence.cluster.hazelcast.HazelcastClusterManager\] startCluster Confluence cluster node identifier is \[3adea698\]  
2019-09-12 09:50:46,369 INFO \[localhost-startStop-1\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization started  
2019-09-12 09:50:49,163 INFO \[localhost-startStop-1\] \[com.atlassian.confluence.lifecycle\] \<init\> Loading EhCache cache manager  
2019-09-12 09:50:59,906 INFO \[localhost-startStop-1\] \[cluster.hazelcast.monitoring.HazelcastMembershipListener\] init init: cluster ClusterService{address=\[10.40.54.18\]:5801}  
2019-09-12 09:50:59,907 INFO \[localhost-startStop-1\] \[cluster.hazelcast.monitoring.HazelcastMembershipListener\] init init: cluster contains Member \[10.40.54.18\]:5801 - 55772a8d-1826-441c-a4e0-6987abb586e2 this  
2019-09-12 09:51:02,947 ERROR \[localhost-startStop-1\] \[confluence.cache.ehcache.EhCacheConfigFileStore\] ensureConfigurationFileCreated Failed to store ehcache config properties to /shared-home/config/cache-settings-overrides.properties  
2019-09-12 09:51:02,956 ERROR \[localhost-startStop-1\] \[confluence.cache.ehcache.EhCacheConfigManager\] reconfigureCaches Unable to read cache config  
2019-09-12 09:51:03,364 INFO \[localhost-startStop-1\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization completed in 16995 ms  
2019-09-12 09:51:03,954 WARN \[localhost-startStop-1\] \[atlassian.confluence.setup.DefaultBootstrapManager\] getDatabaseBuildNumber Unable to determine build number from database. If you are upgrading from a Confluence version prior to 2.3, this is expected: ERROR: relation "confversion" does not exist  
2019-09-12 09:51:03,975 INFO \[localhost-startStop-1\] \[atlassian.plugin.manager.DefaultPluginManager\] earlyStartup Plugin system earlyStartup begun  
2019-09-12 09:51:04,566 WARN \[localhost-startStop-1\] \[org.twdata.pkgscanner.ExportPackageListBuilder\] logDuplicateWarning Package Scanner found duplicates for package 'javax.annotation' with different versions. Files: javax.annotation-api-1.3.2.jar and jsr305-3.0.1.jar  
2019-09-12 09:51:06,048 WARN \[FelixStartLevel\] \[extender.internal.support.ExtenderConfiguration\] addDefaultDependencyFactories Gemini Blueprint extensions bundle not present, annotation processing disabled.  
2019-09-12 09:51:11,965 ERROR \[localhost-startStop-1\] \[engine.jdbc.spi.SqlExceptionHelper\] logExceptions ERROR: relation "bandana" does not exist  
2019-09-12 09:51:11,976 WARN \[localhost-startStop-1\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doRollback Performing rollback. Transactions:  
2019-09-12 09:51:11,986 WARN \[localhost-startStop-1\] \[confluence.impl.vcache.SynchronousExternalCache\] lambda$get$11 Failed to read entry from cache 'com.atlassian.bandana.BandanaPersister': Failed due to UNCLASSIFIED_FAILURE  
2019-09-12 09:51:11,989 ERROR \[localhost-startStop-1\] \[engine.jdbc.spi.SqlExceptionHelper\] logExceptions ERROR: relation "bandana" does not exist  
2019-09-12 09:51:11,990 WARN \[localhost-startStop-1\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doRollback Performing rollback. Transactions:  
2019-09-12 09:51:11,991 ERROR \[localhost-startStop-1\] \[atlassian.confluence.plugin.BandanaPluginStateStore\] load Exception when loading plugins state from the database. Falling back to in memory state.  
2019-09-12 09:51:14,799 ERROR \[localhost-startStop-1\] \[engine.jdbc.spi.SqlExceptionHelper\] logExceptions ERROR: relation "plugindata" does not exist  
2019-09-12 09:51:14,800 WARN \[localhost-startStop-1\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doRollback Performing rollback. Transactions:  
2019-09-12 09:51:14,801 WARN \[localhost-startStop-1\] \[atlassian.confluence.plugin.DatabasePluginScanner\] loadNewPluginsFromDatabase Exception when loading plugins from the database  
2019-09-12 09:51:16,608 WARN \[ThreadPoolAsyncTaskExecutor::Thread 5\] \[spring.scanner.util.ProductFilterUtil\] detectProduct Couldn't detect product, will use ProductFilter.ALL  
2019-09-12 09:51:19,820 ERROR \[ThreadPoolAsyncTaskExecutor::Thread 23\] \[plugin.osgi.factory.OsgiPlugin\] onPluginContainerFailed Unable to start the plugin container for plugin 'com.atlassian.confluence.image.effects.ImageEffectsPlugin'


Answers:
author: Brant Schroeder
body: From the log file snippet that you provided I am going with this as the issue as I am assuming that you did an upgrade: <https://confluence.atlassian.com/confkb/confluence-will-not-start-up-because-the-build-number-in-the-home-directory-doesn-t-match-the-build-number-in-the-database-after-upgrade-376834096.html>

Here are other possible solutions if that is not correct:

<https://confluence.atlassian.com/confkb/confluence-will-not-start-due-to-fatal-error-in-confluence-cluster-179439771.html>

<https://confluence.atlassian.com/confkb/exception-bootstrapping-cluster-shared-home-directory-is-not-configured-correctly-error-during-confluence-data-center-startup-646251419.html>

I would also suggest submitting a support ticket to Atlassian if none of the above solutions work. With the full log files they should be able to quickly help pinpoint the issue. That can be done here: <https://support.atlassian.com/contact/>


Tags: share