0
Answered

Browser does not redirect to the application home page

Harald08 12 months ago updated by Nguyen 12 months ago 7

I installed the Community Version 7.0.1 downloaded at 10:00pm on march 6th 2019 in the following environment:

ubuntu 18.04, firefox

mysql version 5.7.25-0ubuntu0.18.04.2

openjdk version "1.8.0_191"

./startup.sh brings the application up, open localhost:8080 in Firefox shows the setup wizard.

After data input: 

Check DB connection is ok.

Check SMTP is ok. test e-mail arraived.

Setup button starts the setup process and in the Terminal app I can follow the process until it is completed.

But the setup wizard in Firefox does not finish and does not redierect to the applications homepage.

Trying to open the homepage with localhost:8080 says: no cennection.

How can I access the homepage of the applucation?

Under review

could you give me the error log in the console ? Or the recorded messages in log file in the folder %Mycollab_home%/logs

Here it is:

22:36:32,132 INFO com.mycollab.server.DefaultServerRunner:50 - Starting DefaultServerRunner v7.0.1 on MicroServer with PID 8127 (/home/hch-admin/Websites/MyCollab/lib/mycollab-server-runner-7.0.1.jar started by hch-admin in /home/hch-admin/Websites/MyCollab)
22:36:32,142 INFO com.mycollab.server.DefaultServerRunner:675 - No active profile set, falling back to default profiles: default
22:36:35,409 INFO org.springframework.context.annotation.ConfigurationClassPostProcessor:380 - Cannot enhance @Configuration bean definition 'com.vaadin.spring.VaadinConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
22:36:36,267 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$dd45b2ea] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
22:36:37,032 WARN io.undertow.websockets.jsr:68 - UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
22:36:37,071 INFO io.undertow.servlet:364 - Initializing Spring embedded WebApplicationContext
22:36:37,071 INFO org.springframework.web.context.ContextLoader:296 - Root WebApplicationContext: initialization completed in 4823 ms
22:36:37,164 INFO com.vaadin.spring.boot.internal.VaadinServletConfiguration:261 - Registering Vaadin servlet
22:36:37,164 INFO com.vaadin.spring.boot.internal.VaadinServletConfiguration:263 - Servlet will be mapped to URLs [/vaadinServlet/*, /VAADIN/*]
22:36:37,184 INFO com.vaadin.spring.boot.internal.VaadinServletConfiguration:282 - Setting servlet init parameters
22:36:37,187 INFO com.vaadin.spring.boot.internal.VaadinServletConfiguration:306 - Set servlet init parameter [productionMode] = [false]
22:36:37,188 INFO com.vaadin.spring.boot.internal.VaadinServletConfiguration:306 - Set servlet init parameter [resourceCacheTime] = [3600]
22:36:37,188 INFO com.vaadin.spring.boot.internal.VaadinServletConfiguration:306 - Set servlet init parameter [heartbeatInterval] = [300]
22:36:37,188 INFO com.vaadin.spring.boot.internal.VaadinServletConfiguration:306 - Set servlet init parameter [closeIdleSessions] = [false]
22:36:42,964 INFO org.apache.jackrabbit.core.RepositoryImpl:259 - Starting repository...

hch-admin@MicroServer:~/Websites/MyCollab/bin$ 22:36:43,413 INFO org.apache.jackrabbit.core.journal.DatabaseJournal:374 - Initialized local revision to 0
22:36:43,413 INFO org.apache.jackrabbit.core.journal.DatabaseJournal:383 - Cluster revision janitor thread not started
22:36:43,414 INFO org.apache.jackrabbit.core.journal.DatabaseJournal:280 - DatabaseJournal initialized.
22:36:43,511 INFO org.apache.jackrabbit.core.RepositoryImpl:2035 - initializing workspace 'ecm'...
22:36:43,657 INFO org.apache.jackrabbit.core.RepositoryImpl:2039 - workspace 'ecm' initialized
22:36:43,662 INFO org.apache.jackrabbit.core.cluster.ClusterNode:1065 - not started: namespace operation ignored.
22:36:43,663 INFO org.apache.jackrabbit.core.RepositoryImpl:547 - created system workspace: default2
22:36:43,667 INFO org.apache.jackrabbit.core.RepositoryImpl:455 - SecurityManager = class org.apache.jackrabbit.core.security.simple.SimpleSecurityManager
22:36:43,670 INFO org.apache.jackrabbit.core.RepositoryImpl:2035 - initializing workspace 'default2'...
22:36:43,697 INFO org.apache.jackrabbit.core.RepositoryImpl:2039 - workspace 'default2' initialized
22:36:43,699 INFO org.apache.jackrabbit.core.security.simple.SimpleSecurityManager:137 - init: using Repository LoginModule configuration for Jackrabbit
22:36:43,743 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 1
22:36:43,830 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 2
22:36:44,021 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 3
22:36:44,117 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 4
22:36:44,149 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 5
22:36:44,153 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 6
22:36:44,179 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 7
22:36:44,189 INFO org.apache.jackrabbit.core.RepositoryImpl:367 - Repository started (1225ms)
22:36:44,240 INFO com.mycollab.module.ecm.ContentSessionFactory:40 - Register node types
22:36:44,296 INFO com.mycollab.module.ecm.ContentSessionFactory:66 - Register mycollab content type
22:36:45,102 INFO org.apache.jackrabbit.core.RepositoryImpl:259 - Starting repository...
22:36:45,259 INFO org.apache.jackrabbit.core.journal.DatabaseJournal:374 - Initialized local revision to 0
22:36:45,260 INFO org.apache.jackrabbit.core.journal.DatabaseJournal:383 - Cluster revision janitor thread not started
22:36:45,260 INFO org.apache.jackrabbit.core.journal.DatabaseJournal:280 - DatabaseJournal initialized.
22:36:45,288 INFO org.apache.jackrabbit.core.RepositoryImpl:2035 - initializing workspace 'wiki'...
22:36:45,344 INFO org.apache.jackrabbit.core.RepositoryImpl:2039 - workspace 'wiki' initialized
22:36:45,344 INFO org.apache.jackrabbit.core.RepositoryImpl:455 - SecurityManager = class org.apache.jackrabbit.core.security.simple.SimpleSecurityManager
22:36:45,345 INFO org.apache.jackrabbit.core.security.simple.SimpleSecurityManager:137 - init: using Repository LoginModule configuration for Jackrabbit
22:36:45,347 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 1
22:36:45,403 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 2
22:36:45,510 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 3
22:36:45,580 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 4
22:36:45,599 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 5
22:36:45,600 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 6
22:36:45,621 INFO org.apache.jackrabbit.core.cluster.ClusterNode:858 - Processing revision: 7
22:36:45,642 INFO org.apache.jackrabbit.core.RepositoryImpl:367 - Repository started (540ms)
22:36:45,645 INFO com.mycollab.module.page.PageSessionFactory:41 - Register node types
22:36:45,662 INFO com.mycollab.module.page.PageSessionFactory:66 - Register MyCollab content type
22:36:46,675 INFO com.mycollab.vaadin.mvp.service.ComponentScannerService:51 - Started resolving view and presenter classes
22:36:47,699 INFO com.mycollab.vaadin.mvp.service.ComponentScannerService:61 - Resolved view and presenter classes com.mycollab.vaadin.mvp.service.ComponentScannerService@e47637c that has 64 view classes and 57 presenter classes
22:36:47,788 INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting...
22:36:47,814 INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed.
22:36:47,841 INFO org.flywaydb.core.internal.license.VersionPrinter:49 - Flyway Community Edition 5.2.4 by Boxfuse
22:36:47,855 INFO org.flywaydb.core.internal.database.DatabaseFactory:49 - Database: jdbc:mysql://localhost:3306/collab (MySQL 5.7)
22:36:48,247 INFO org.flywaydb.core.internal.command.DbMigrate:49 - Current version of schema `collab`: 20190212.1
22:36:48,254 ERROR com.mycollab.db.migration.service.DbMigrationRunner:62 - Error while migrate database
org.flywaydb.core.api.FlywayException: Schema `collab` contains a failed migration to version 20190212.1 !
at org.flywaydb.core.internal.command.DbMigrate.migrateGroup(DbMigrate.java:229)
at org.flywaydb.core.internal.command.DbMigrate.access$100(DbMigrate.java:54)
at org.flywaydb.core.internal.command.DbMigrate$2.call(DbMigrate.java:164)
at org.flywaydb.core.internal.command.DbMigrate$2.call(DbMigrate.java:161)
at org.flywaydb.core.internal.database.mysql.MySQLNamedLockTemplate.execute(MySQLNamedLockTemplate.java:60)
at org.flywaydb.core.internal.database.mysql.MySQLConnection.lock(MySQLConnection.java:147)
at org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory.lock(JdbcTableSchemaHistory.java:155)
at org.flywaydb.core.internal.command.DbMigrate.migrateAll(DbMigrate.java:161)
at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:139)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:1395)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:1356)
at org.flywaydb.core.Flyway.execute(Flyway.java:1711)
at org.flywaydb.core.Flyway.migrate(Flyway.java:1356)
at com.mycollab.db.migration.service.DbMigrationRunner.migrate(DbMigrationRunner.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1754)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
at com.mycollab.server.DefaultServerRunner.main(DefaultServerRunner.java:60)

It seems the above message is the one you run MyCollab script again.

Go to log folder at %mycollab_home%/logs and give me the first error message. Thanks 
 

Under review

by the way, the error caused by the last  database script. You almost done in installation ! When you download MyCollab files?

Yes, Thank you for that hint. I used the same database for the 1. installation also for the second installation. I now repeated the installation with a new clean database and the redirect works.

This problem is solved.

Answered

Perfect! Hope you enjoy MyCollab! If you have any issue, please let me know.

is this what you are looking for?

17:34:53,104 INFO c.m.s.DefaultServerRunner:50 - Starting DefaultServerRunner on q2256s-MacBook-Pro.local with PID 11519 (/Users/hainguyen/Projects/mycollab/mycollab2/mycollab-server-runner/target/classes started by hainguyen in /Users/hainguyen/Projects/mycollab/mycollab2/mycollab-app-community/src/main)
17:34:53,151 INFO c.m.s.DefaultServerRunner:675 - No active profile set, falling back to default profiles: default
17:34:55,727 INFO o.s.c.a.ConfigurationClassPostProcessor:380 - Cannot enhance @Configuration bean definition 'com.vaadin.spring.VaadinConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
17:34:56,442 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$201cf18f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
17:34:57,090 WARN i.u.w.jsr:68 - UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
17:34:57,125 INFO i.u.servlet:364 - Initializing Spring embedded WebApplicationContext

Shoud I set up a new clean database?