DIGITAL OCEAN FAIL - Application at context path [/cyclos] could not be started

Any issue about installation and configuration of the Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

Post Reply
tugumestephen
Posts: 34
Joined: Sun Feb 26, 2017 11:57 pm

DIGITAL OCEAN FAIL - Application at context path [/cyclos] could not be started

Post by tugumestephen »

Hi guys

i installed cyclos on digital ocea, when i try to start cyclos i get this error

FAIL - Application at context path [/cyclos] could not be started

is there a way this can be solved

thanks
tugumestephen
Posts: 34
Joined: Sun Feb 26, 2017 11:57 pm

Re: DIGITAL OCEAN FAIL - Application at context path [/cyclos] could not be started

Post by tugumestephen »

hello guys

does anyone have solution for this please please please

regards
tugumestephen
Posts: 34
Joined: Sun Feb 26, 2017 11:57 pm

Re: DIGITAL OCEAN FAIL - Application at context path [/cyclos] could not be started

Post by tugumestephen »

this is my error code



login as: root
root@64.227.18.21's password:
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-66-generic x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

System information as of Sun Mar 15 07:14:38 UTC 2020

System load: 0.11 Processes: 160
Usage of /: 3.6% of 154.90GB Users logged in: 0
GNU nano 2.9.3 catalina.out Modified

at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.finalize(EntityManagerFactoryDelegate.java:369)
at java.base/java.lang.System$2.invokeFinalize(System.java:2120)
at java.base/java.lang.ref.Finalizer.runFinalizer(Finalizer.java:87)
at java.base/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:171)

15-Mar-2020 07:32:35.053 INFO [http-nio-8080-exec-101] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enabl$
2020-03-15T07:33:39.275Z WARN XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.fa$
2020-03-15T07:33:39.289Z ERROR ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [spring/bootstrap.xml]: In$
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1$
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.7.$
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.7.RE$
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEAS$
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.7.RELEASE.jar:$
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEAS$
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-5.1.7.R$
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400) ~[spring-web-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291) [spring-web-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) [spring-web-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1377) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:694) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:218) [tomcat8-catalina-8.5.39.jar:8.5.39]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [tomcat8-servlet-api.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat8-servlet-api.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat8-websocket-8.5.39.jar:8.5.39]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) [tomcat8-catalina-8.5.39.jar:8.5.39]

^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos M-U Undo M-A Mark Text M-] To Bracket M-▲ Previous
^X Exit ^R Read File ^\ Replace ^U Uncut Text ^T To Spell ^_ Go To Line M-E Redo M-6 Copy Text M-W WhereIs NextM-▼ Next
login as: root
root@64.227.18.21's password:
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-66-generic x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

System information as of Sun Mar 15 09:16:25 UTC 2020

System load: 0.0 Processes: 146
Usage of /: 3.3% of 154.90GB Users logged in: 1
Memory usage: 24% IP address for eth0: 64.227.18.21
Swap usage: 0%

* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch

0 packages can be updated.
0 updates are security updates.


*** System restart required ***
Last login: Sun Mar 15 08:10:53 2020 from 105.179.7.78
root@ubuntu-s-4vcpu-8gb-nyc1-01:~# cd /var
root@ubuntu-s-4vcpu-8gb-nyc1-01:/var# ls
backups cache crash lib local lock log mail metrics opt run snap spool tmp
root@ubuntu-s-4vcpu-8gb-nyc1-01:/var# cd log
root@ubuntu-s-4vcpu-8gb-nyc1-01:/var/log# ls
alternatives.log auth.log cloud-init-output.log dist-upgrade gdm3 kern.log lastlog speech-dispatcher syslog.2.gz tallylog wtmp
apport.log auth.log.1 cloud-init.log dpkg.log hp kern.log.1 lxd syslog syslog.3.gz tomcat8
apt btmp cups fontconfig.log journal landscape postgresql syslog.1 sysstat unattended-upgrades
root@ubuntu-s-4vcpu-8gb-nyc1-01:/var/log# cd tomcat
-bash: cd: tomcat: No such file or directory
root@ubuntu-s-4vcpu-8gb-nyc1-01:/var/log# cd tomcat8
root@ubuntu-s-4vcpu-8gb-nyc1-01:/var/log/tomcat8# ls
catalina.2020-03-11.log.gz catalina.2020-03-15.log localhost.2020-03-11.log.gz localhost_access_log.2020-03-11.txt.gz localhost_access_log.2020-03-15.txt
catalina.2020-03-12.log.gz catalina.out localhost.2020-03-12.log.gz localhost_access_log.2020-03-12.txt.gz
catalina.2020-03-13.log.gz catalina.out.1 localhost.2020-03-13.log.gz localhost_access_log.2020-03-13.txt.gz
catalina.2020-03-14.log.gz catalina.out.save localhost.2020-03-15.log localhost_access_log.2020-03-14.txt.gz
root@ubuntu-s-4vcpu-8gb-nyc1-01:/var/log/tomcat8# sudo nan catalina.out
sudo: nan: command not found
root@ubuntu-s-4vcpu-8gb-nyc1-01:/var/log/tomcat8# sudo nano catalina.out
GNU nano 2.9.3 catalina.out

at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:91) ~[postgresql-42.2.6.jar:42.2.6]
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:192) ~[postgresql-42.2.6.jar:42.2.6]
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) ~[postgresql-42.2.6.jar:42.2.6]
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195) ~[postgresql-42.2.6.jar:42.2.6]
at org.postgresql.Driver.makeConnection(Driver.java:458) ~[postgresql-42.2.6.jar:42.2.6]
at org.postgresql.Driver.connect(Driver.java:260) ~[postgresql-42.2.6.jar:42.2.6]
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175) ~[c3p0-0.9.5.4.jar:0.9.5.4]
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220) ~[c3p0-0.9.5.4.jar:0.9.5.4]
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206) ~[c3p0-0.9.5.4.jar:0.9.5.4]
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203) ~[c3p0-0.9.5.4.jar$
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176) ~[c3p0-0.9.5.4.jar:0.9.5.4]
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163) ~[c3p0-0.9.5.4.jar:0.9.5.$
at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44) ~[c3p0-0.9.5.4.jar:0.9.5.4]
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908) ~[c3p0-0.9.5.4.jar:0.9.5.4]
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696) ~[mchange-commons-java-0.2.15.jar:0.2.15]
15-Mar-2020 07:33:39.297 SEVERE [http-nio-8080-exec-101] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details wil$
15-Mar-2020 07:33:39.297 SEVERE [http-nio-8080-exec-101] org.apache.catalina.core.StandardContext.startInternal Context [/cyclos] startup failed due to previous errors
15-Mar-2020 08:08:17.641 INFO [http-nio-8080-exec-119] org.apache.catalina.util.LifecycleBase.stop The stop() method was called on component [StandardEngine[Catalina].$
15-Mar-2020 08:08:18.209 INFO [http-nio-8080-exec-119] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/cyclos]
15-Mar-2020 09:33:56.476 INFO [http-nio-8080-exec-118] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/var/lib/tomcat8/webapps/cyc$
15-Mar-2020 09:34:04.384 WARNING [http-nio-8080-exec-118] org.apache.jasper.servlet.TldScanner.scanJspConfig Failed to process TLD with path [/WEB-INF/taglibs/c.tld] a$
15-Mar-2020 09:34:04.385 WARNING [http-nio-8080-exec-118] org.apache.jasper.servlet.TldScanner.scanJspConfig Failed to process TLD with path [/WEB-INF/taglibs/fn.tld] $
15-Mar-2020 09:34:04.450 INFO [http-nio-8080-exec-118] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enabl$
2020-03-15T09:35:09.038Z WARN XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.fa$
2020-03-15T09:35:09.055Z ERROR ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [spring/bootstrap.xml]: In$
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1$
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.7.$
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.7.RE$
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEAS$
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.7.RELEASE.jar:$
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEAS$
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-5.1.7.R$
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400) ~[spring-web-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291) [spring-web-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) [spring-web-5.1.7.RELEASE.jar:5.1.7.RELEASE]
tugumestephen
Posts: 34
Joined: Sun Feb 26, 2017 11:57 pm

Re: DIGITAL OCEAN FAIL - Application at context path [/cyclos] could not be started

Post by tugumestephen »

Modified

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat8-catalina-8.5.39.jar:8.5.39]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798) [tomcat8-coyote-8.5.39.jar:8.5.39]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat8-coyote-8.5.39.jar:8.5.39]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) [tomcat8-coyote-8.5.39.jar:8.5.39]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) [tomcat8-coyote-8.5.39.jar:8.5.39]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat8-coyote-8.5.39.jar:8.5.39]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat8-util-8.5.39.jar:8.5.39]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException:$
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:305) ~[spring-jdbc-5.1.7.RELEASE.jar:5.1.7.RELEAS$
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:378) ~[spring-tx-5.1.7.REL$
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137) ~[spring-tx-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.cyclos.db.DatabaseUpgrade.readVersion(DatabaseUpgrade.java:301) ~[cyclos-impl.jar:4.12.5]
at org.cyclos.db.DatabaseUpgrade.<init>(DatabaseUpgrade.java:85) ~[cyclos-impl.jar:4.12.5]
at org.cyclos.bootstrap.DatabaseManager.doManageDatabase(DatabaseManager.java:141) ~[cyclos-impl.jar:4.12.5]
at org.cyclos.bootstrap.DatabaseManager.manageDatabase(DatabaseManager.java:105) ~[cyclos-impl.jar:4.12.5]
at org.cyclos.bootstrap.EntityManagerFactoryBean.postProcessEntityManagerFactory(EntityManagerFactoryBean.java:112) ~[cyclos-impl.jar:4.12.5]
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:366) ~[sprin$
at org.cyclos.bootstrap.EntityManagerFactoryBean.createNativeEntityManagerFactory(EntityManagerFactoryBean.java:105) ~[cyclos-impl.jar:4.12.5]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:390) ~[spring-orm-5.1.7.R$
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:377) ~[spring-orm-5.1.7.RELEASE.jar:5.$
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) ~[spring-orm-5.1.7.RE$
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837) ~[spring-beans-$
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774) ~[spring-beans-5.1$
... 48 more
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118) ~[mchange-commons-java-0.2.15.jar:0.2.15]
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692) ~[c3p0-0.9.5.4.jar:0.9.5.4]
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140) ~[c3p0-0.9.5.4.jar:0.9.5.4]
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:262) ~[spring-jdbc-5.1.7.RELEASE.jar:5.1.7.RELEAS$
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:378) ~[spring-tx-5.1.7.REL$

^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos M-U Undo M-A Mark Text M-] To Bracket M-▲ Previous
^X Exit ^R Read File ^\ Replace ^U Uncut Text ^T To Spell ^_ Go To Line M-E Redo M-6 Copy Text M-W WhereIs NextM-▼ Next
alexandre
Posts: 917
Joined: Wed Sep 06, 2006 9:06 am

Re: DIGITAL OCEAN FAIL - Application at context path [/cyclos] could not be started

Post by alexandre »

It says that Cyclos cannot connect to the database.
Make sure you configured it fine on the server and set the correct database name and credentials on the cyclos.properties file

regards
Alexandre Caurrinhos
Cyclos development team.
tugumestephen
Posts: 34
Joined: Sun Feb 26, 2017 11:57 pm

Re: DIGITAL OCEAN FAIL - Application at context path [/cyclos] could not be started

Post by tugumestephen »

This is now weird

Anyway about the database name

On the connection string should I use the IP address or can I use just localhost

Because for the database name, user and password

Am using the default values given during installation

Regards
tugumestephen
Posts: 34
Joined: Sun Feb 26, 2017 11:57 pm

Re: DIGITAL OCEAN FAIL - Application at context path [/cyclos] could not be started

Post by tugumestephen »

Which of this is correct

= jdbc:postgresql://localhost/cyclos4
cyclos.datasource.user = cyclos
cyclos.datasource.password = cyclos


Or this one

= jdbc:postgresql://64.227.18.21/cyclos4
cyclos.datasource.user = cyclos
cyclos.datasource.password = cyclos


Or this one


= jdbc:postgresql://64.227.18.21:5432/cyclos4
cyclos.datasource.user = cyclos
cyclos.datasource.password = cyclos
tugumestephen
Posts: 34
Joined: Sun Feb 26, 2017 11:57 pm

Re: DIGITAL OCEAN FAIL - Application at context path [/cyclos] could not be started

Post by tugumestephen »

I am installing on digital ocean droplet that has that up address above
Post Reply