Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank page instead of startup screen #2186

Closed
aunicorn111 opened this issue Jul 24, 2023 · 28 comments
Closed

Blank page instead of startup screen #2186

aunicorn111 opened this issue Jul 24, 2023 · 28 comments

Comments

@aunicorn111
Copy link

aunicorn111 commented Jul 24, 2023

Hello! Stumbled upon an issue: I have a blank page whenever I try to connect to scm-manager via firefox browser. Don't think the issue is in the browser since I used scm-manager before and it worked fine with firefox. Log info also didn't help much...
Here are the logs.

2023-07-24 00:11:05.929 [main] [          ] INFO  sonia.scm.lifecycle.classloading.ClassLoaderLifeCycle - create new simple ClassLoaderLifeCycle
2023-07-24 00:11:05.933 [main] [          ] INFO  sonia.scm.lifecycle.BootstrapContextFilter - register for restart events
2023-07-24 00:11:05.936 [main] [          ] INFO  sonia.scm.event.LegmanScmEventBus - create new event bus ScmEventBus-1
2023-07-24 00:11:06.006 [main] [          ] WARN  io.micrometer.core.instrument.binder.jvm.ExecutorServiceMetrics - Failed to bind as org.apache.shiro.concurrent.SubjectAwareExecutorService is unsupported.
2023-07-24 00:11:06.008 [main] [          ] INFO  sonia.scm.event.ScmEventBus - use sonia.scm.event.LegmanScmEventBus as event bus implementation
2023-07-24 00:11:06.051 [main] [          ] INFO  sonia.scm.lifecycle.BootstrapContextListener - start scm-manager initialization
2023-07-24 00:11:06.629 [main] [          ] INFO  sonia.scm.plugin.PluginProcessor - collect plugins
2023-07-24 00:11:06.657 [main] [          ] INFO  sonia.scm.plugin.PluginProcessor - install plugin tree:
+- scm-git-plugin@2.45.1
+- scm-legacy-plugin@2.45.1
+- scm-svn-plugin@2.45.1
+- scm-hg-plugin@2.45.1

2023-07-24 00:11:07.159 [main] [          ] INFO  sonia.scm.update.repository.XmlRepositoryV1UpdateStep - no v1 repositories database file found
2023-07-24 00:11:07.471 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.repository.hooks.HookModule
2023-07-24 00:11:07.471 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.web.HgServletModule
2023-07-24 00:11:07.471 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.legacy.LegacyModule
2023-07-24 00:11:07.471 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.web.SvnServletModule
2023-07-24 00:11:07.471 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.autoconfig.AutoConfigModule
2023-07-24 00:11:07.471 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.security.gpg.GPGModule
2023-07-24 00:11:07.472 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.web.GitServletModule
2023-07-24 00:11:07.505 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.metrics.HttpMetricsFilter to filter chain
2023-07-24 00:11:07.505 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.filter.BaseUrlFilter to filter chain
2023-07-24 00:11:07.506 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.security.TokenExpiredFilter to filter chain
2023-07-24 00:11:07.506 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.legacy.LegacyProtocolServletAuthenticationFilter to filter chain
2023-07-24 00:11:07.508 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.web.filter.DefaultHttpProtocolServletAuthenticationFilter to filter chain
2023-07-24 00:11:07.509 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.web.security.ApiAuthenticationFilter to filter chain
2023-07-24 00:11:07.509 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.web.security.TokenRefreshFilter to filter chain
2023-07-24 00:11:07.510 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.filter.MDCFilter to filter chain
2023-07-24 00:11:07.510 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.filter.SecurityHeadersFilter to filter chain
2023-07-24 00:11:07.511 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.lifecycle.RestartServlet to servlet chain
2023-07-24 00:11:07.511 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.web.i18n.I18nServlet to servlet chain
2023-07-24 00:11:07.513 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.web.protocol.HttpProtocolServlet to servlet chain
2023-07-24 00:11:07.513 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.WebResourceServlet to servlet chain
2023-07-24 00:11:07.547 [main] [          ] INFO  sonia.scm.plugin.DefaultExtensionProcessor - start processing extensions
2023-07-24 00:11:07.570 [main] [          ] WARN  sonia.scm.plugin.ExtensionBinder - could not find extension for extension point interface sonia.scm.io.FileSystem
2023-07-24 00:11:07.599 [main] [          ] WARN  sonia.scm.plugin.ExtensionBinder - could not find extension for extension point interface sonia.scm.api.v2.resources.LogoutRedirection
2023-07-24 00:11:07.627 [main] [          ] INFO  sonia.scm.plugin.DefaultExtensionProcessor - bound extensions in 79.22 ms
2023-07-24 00:11:07.708 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.AnonymousRealm
2023-07-24 00:11:07.710 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.legacy.LegacyRealm
2023-07-24 00:11:07.710 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.initialization.InitializationRealm
2023-07-24 00:11:07.710 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.ApiKeyRealm
2023-07-24 00:11:07.710 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.BearerRealm
2023-07-24 00:11:07.711 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.DefaultRealm
2023-07-24 00:11:07.711 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.web.security.AdministrationContextRealm
2023-07-24 00:11:08.907 [main] [          ] WARN  sonia.scm.cache.GuavaCacheConfigurationReader - could not find manual configuration at /var/lib/scm/ext/gcache.xml
2023-07-24 00:11:09.361 [main] [          ] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial}
2023-07-24 00:11:09.498 [main] [          ] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion}
2023-07-24 00:11:09.499 [main] [          ] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git}
2023-07-24 00:11:09.651 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.EventDrivenRepositoryArchiveCheckInitializer
2023-07-24 00:11:09.652 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.DefaultBranchDeleteProtection
2023-07-24 00:11:09.652 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.ReadOnlyCheckInitializer
2023-07-24 00:11:09.652 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.plugin.PluginCenterRefresh
2023-07-24 00:11:09.652 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.update.RepositoryUpdateAfterCreationHook
2023-07-24 00:11:09.652 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.DefaultBranchChangedDispatcher
2023-07-24 00:11:09.652 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.user.AnonymousUserDeletionEventHandler
2023-07-24 00:11:09.652 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.user.DefaultUserManager
2023-07-24 00:11:09.652 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.initialization.DefaultInitializationFinisher
2023-07-24 00:11:09.661 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ====================================================
2023-07-24 00:11:09.661 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-24 00:11:09.661 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==    Startup token for initial user creation     ==
2023-07-24 00:11:09.661 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-24 00:11:09.661 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==             ==
2023-07-24 00:11:09.661 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-24 00:11:09.661 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ====================================================
2023-07-24 00:11:09.662 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.LastModifiedUpdateListener
2023-07-24 00:11:09.662 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.config.ScmConfigurationChangedListener
2023-07-24 00:11:09.662 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.api.v2.resources.GitRepositoryConfigChangeClearRepositoryCacheListener
2023-07-24 00:11:09.662 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.GitRepositoryModifyListener
2023-07-24 00:11:09.662 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.RemoveDeletedRepositoryRole
2023-07-24 00:11:09.662 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.DefaultRepositoryRoleManager
2023-07-24 00:11:09.662 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.spi.FileLockPreCommitHook
2023-07-24 00:11:09.662 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.security.AuthorizationChangedEventProducer
2023-07-24 00:11:09.753 [main] [          ] INFO  sonia.scm.repository.work.WorkdirProvider - deleting 0 old work dirs in /tmp/scm-work
2023-07-24 00:11:13.352 [qtp1151020327-13] [          ] INFO  sonia.scm.lifecycle.modules.ResteasyAllInOneServletDispatcher - init resteasy
2023-07-24 17:43:33.848 [main] [          ] INFO  sonia.scm.lifecycle.classloading.ClassLoaderLifeCycle - create new simple ClassLoaderLifeCycle
2023-07-24 17:43:33.853 [main] [          ] INFO  sonia.scm.lifecycle.BootstrapContextFilter - register for restart events
2023-07-24 17:43:33.855 [main] [          ] INFO  sonia.scm.event.LegmanScmEventBus - create new event bus ScmEventBus-1
2023-07-24 17:43:33.918 [main] [          ] WARN  io.micrometer.core.instrument.binder.jvm.ExecutorServiceMetrics - Failed to bind as org.apache.shiro.concurrent.SubjectAwareExecutorService is unsupported.
2023-07-24 17:43:33.920 [main] [          ] INFO  sonia.scm.event.ScmEventBus - use sonia.scm.event.LegmanScmEventBus as event bus implementation
2023-07-24 17:43:33.961 [main] [          ] INFO  sonia.scm.lifecycle.BootstrapContextListener - start scm-manager initialization
2023-07-24 17:43:34.616 [main] [          ] INFO  sonia.scm.plugin.PluginProcessor - collect plugins
2023-07-24 17:43:34.659 [main] [          ] INFO  sonia.scm.plugin.PluginProcessor - install plugin tree:
+- scm-git-plugin@2.45.1
+- scm-legacy-plugin@2.45.1
+- scm-svn-plugin@2.45.1
+- scm-hg-plugin@2.45.1

2023-07-24 17:43:35.320 [main] [          ] INFO  sonia.scm.update.repository.XmlRepositoryV1UpdateStep - no v1 repositories database file found
2023-07-24 17:43:35.635 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.repository.hooks.HookModule
2023-07-24 17:43:35.635 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.web.HgServletModule
2023-07-24 17:43:35.635 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.legacy.LegacyModule
2023-07-24 17:43:35.635 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.web.SvnServletModule
2023-07-24 17:43:35.635 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.autoconfig.AutoConfigModule
2023-07-24 17:43:35.635 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.security.gpg.GPGModule
2023-07-24 17:43:35.636 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.web.GitServletModule
2023-07-24 17:43:35.664 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.metrics.HttpMetricsFilter to filter chain
2023-07-24 17:43:35.665 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.filter.BaseUrlFilter to filter chain
2023-07-24 17:43:35.665 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.security.TokenExpiredFilter to filter chain
2023-07-24 17:43:35.666 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.legacy.LegacyProtocolServletAuthenticationFilter to filter chain
2023-07-24 17:43:35.668 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.web.filter.DefaultHttpProtocolServletAuthenticationFilter to filter chain
2023-07-24 17:43:35.668 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.web.security.ApiAuthenticationFilter to filter chain
2023-07-24 17:43:35.668 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.web.security.TokenRefreshFilter to filter chain
2023-07-24 17:43:35.669 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.filter.MDCFilter to filter chain
2023-07-24 17:43:35.669 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.filter.SecurityHeadersFilter to filter chain
2023-07-24 17:43:35.669 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.lifecycle.RestartServlet to servlet chain
2023-07-24 17:43:35.670 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.web.i18n.I18nServlet to servlet chain
2023-07-24 17:43:35.671 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.web.protocol.HttpProtocolServlet to servlet chain
2023-07-24 17:43:35.671 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.WebResourceServlet to servlet chain
2023-07-24 17:43:35.708 [main] [          ] INFO  sonia.scm.plugin.DefaultExtensionProcessor - start processing extensions
2023-07-24 17:43:35.730 [main] [          ] WARN  sonia.scm.plugin.ExtensionBinder - could not find extension for extension point interface sonia.scm.io.FileSystem
2023-07-24 17:43:35.767 [main] [          ] WARN  sonia.scm.plugin.ExtensionBinder - could not find extension for extension point interface sonia.scm.api.v2.resources.LogoutRedirection
2023-07-24 17:43:35.800 [main] [          ] INFO  sonia.scm.plugin.DefaultExtensionProcessor - bound extensions in 91.48 ms
2023-07-24 17:43:35.882 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.AnonymousRealm
2023-07-24 17:43:35.884 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.legacy.LegacyRealm
2023-07-24 17:43:35.885 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.initialization.InitializationRealm
2023-07-24 17:43:35.885 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.ApiKeyRealm
2023-07-24 17:43:35.885 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.BearerRealm
2023-07-24 17:43:35.885 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.DefaultRealm
2023-07-24 17:43:35.885 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.web.security.AdministrationContextRealm
2023-07-24 17:43:36.915 [main] [          ] WARN  sonia.scm.cache.GuavaCacheConfigurationReader - could not find manual configuration at /var/lib/scm/ext/gcache.xml
2023-07-24 17:43:37.325 [main] [          ] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial}
2023-07-24 17:43:37.465 [main] [          ] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion}
2023-07-24 17:43:37.465 [main] [          ] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git}
2023-07-24 17:43:37.654 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.EventDrivenRepositoryArchiveCheckInitializer
2023-07-24 17:43:37.655 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.DefaultBranchDeleteProtection
2023-07-24 17:43:37.655 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.ReadOnlyCheckInitializer
2023-07-24 17:43:37.655 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.plugin.PluginCenterRefresh
2023-07-24 17:43:37.655 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.update.RepositoryUpdateAfterCreationHook
2023-07-24 17:43:37.656 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.DefaultBranchChangedDispatcher
2023-07-24 17:43:37.656 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.user.AnonymousUserDeletionEventHandler
2023-07-24 17:43:37.656 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.user.DefaultUserManager
2023-07-24 17:43:37.656 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.initialization.DefaultInitializationFinisher
2023-07-24 17:43:37.670 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ====================================================
2023-07-24 17:43:37.670 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-24 17:43:37.671 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==    Startup token for initial user creation     ==
2023-07-24 17:43:37.671 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-24 17:43:37.671 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                          ==
2023-07-24 17:43:37.671 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-24 17:43:37.671 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ====================================================
2023-07-24 17:43:37.671 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.LastModifiedUpdateListener
2023-07-24 17:43:37.671 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.config.ScmConfigurationChangedListener
2023-07-24 17:43:37.671 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.api.v2.resources.GitRepositoryConfigChangeClearRepositoryCacheListener
2023-07-24 17:43:37.672 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.GitRepositoryModifyListener
2023-07-24 17:43:37.672 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.RemoveDeletedRepositoryRole
2023-07-24 17:43:37.672 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.DefaultRepositoryRoleManager
2023-07-24 17:43:37.672 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.spi.FileLockPreCommitHook
2023-07-24 17:43:37.672 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.security.AuthorizationChangedEventProducer
2023-07-24 17:43:37.783 [main] [          ] INFO  sonia.scm.repository.work.WorkdirProvider - deleting 0 old work dirs in /tmp/scm-work
2023-07-24 17:43:42.157 [qtp1151020327-13] [          ] INFO  sonia.scm.lifecycle.modules.ResteasyAllInOneServletDispatcher - init resteasy

```


Here's what java --version says
```
openjdk 17.0.7 2023-04-18
OpenJDK Runtime Environment (build 17.0.7+7-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 17.0.7+7-Debian-1deb11u1, mixed mode, sharing)
```

Not sure what might be causing the issue...

@aunicorn111
Copy link
Author

I also have the same issue with docker version... Hm

@eheimbuch
Copy link
Member

eheimbuch commented Jul 24, 2023 via email

@vrreg
Copy link

vrreg commented Jul 25, 2023

Hi,

I have the exact same issue on 2.45.0 / 2.45.1 Debian host. I created a ticket on the community site but just registered on Github to file a bug report here.

Logs posted on the community link, but I can mirror the data here if it helps:

https://community.cloudogu.com/t/blank-page-on-fresh-scm-server-2-45-1-install-debian-host/1202

@eheimbuch
Copy link
Member

eheimbuch commented Jul 25, 2023

Just to be sure i don't miss anything. You did start your server somewhat like that?:

docker run -p 8080:8080 scmmanager/scm-manager:2.45.1.

@vrreg
Copy link

vrreg commented Jul 25, 2023

@eheimbuch :

If your question is directed to me, I have done an install of the .deb in my Debian host (Bullseye and also tried Bookworm) and used systemctl start scm-server to get scm-server to run.

I can manually stop scm-server, re-start it and I still get a blank page when logging in. The process is loaded and there are no systemctl errors.

scm 11691 0.0 0.5 21807472 345808 ? Ssl Jul24 1:09 /usr/bin/java -Djava.awt.headless=true -Dlogback.configurationFile=logging.xml -Djetty.host=0.0.0.0 -Djetty.port=8080 -classpath :/opt/scm-server/conf:/opt/scm-server/lib/* -Dap

root@scmtesting:~# netstat -an | more Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN udp 0 0 192.168.8.103:68 0.0.0.0:*

If I "downgrade" to 2.44, then everything works as expected.

@eheimbuch
Copy link
Member

I will try to reproduce your error with an debian machine.

We had several issues releasing version 2.45.0 and therefore recommend using version 2.45.1 instead.

@vrreg
Copy link

vrreg commented Jul 25, 2023

@eheimbuch :

I have 2.45.1 installed and also tried 2.45.0 , both result in a blank page on login.

@eheimbuch
Copy link
Member

Could you please check your network- and console tab in your browser? Does any kind of frontend error occur?

@vrreg
Copy link

vrreg commented Jul 25, 2023

@eheimbuch :

I can guarantee that it is not a network or console issue. Why? Because I can apt-purge scm-server and manually install the .DEB for 2.44.2 and can immediately log in. No other change to the server or desktop.

I see no observable front-end issues. The only "noteworthy" comment in the scm-server log is 2023-07-24 20:55:10.957 [qtp578866604-22] [ ] INFO sonia.scm.lifecycle.modules.ResteasyAllInOneServletDispatcher - init resteasy on 2.45.1 when trying to log-in.

I have tried clearing history, caches, etc and am using Firefox and Chrome and ran them with ZERO extentions. I have set up numerous versions of scm-server in the past with ZERO issues.

Please see my cloudogu community posting for logs and history of debugging.

@eheimbuch
Copy link
Member

I have tried Docker and Debian installations. Both worked for me with version 2.45.1....

I'll do some research to see what has actually changed since version 2.44.2. Sorry for the inconvenience.

Screenshot from 2023-07-25 10-30-13

@vrreg
Copy link

vrreg commented Jul 25, 2023

@eheimbuch :

Are you doing a Debian install on a machine that previously had scm-server and/or data already present? I am trying on a new setup which has no prior scm-server install.

@eheimbuch
Copy link
Member

Freshly installed, not an upgrade.

Just to be sure. You have not modified your server-config.xml nor does any kind of reverse proxy is used on this machine?

Also: You cannot see the initialization page where you should insert your startup token?

@vrreg
Copy link

vrreg commented Jul 25, 2023

@eheimbuch :

  1. Correct, ZERO modifications of any kind to server-config.xml, no reverse proxy setup.
  2. No login page to insert start-up token, just a blank page
  3. If I apt-purge scm-server and then dpkg -i scm-server_2.44.2_all.deb , I get the familiar page to do a new scm-manager setup.

Which Debian image did you install? I have tried amd64/Bullseye & amd64/Bookworm but I can try to do a completely clean install on another machine.

@eheimbuch
Copy link
Member

I tried our debian docker image and addinationally installed the debian package on my own ubuntu machine following our instructions.

@vrreg
Copy link

vrreg commented Jul 25, 2023

@eheimbuch :

May I respectfully ask you try installing the .DEB on a Debian host and not Ubuntu to try and re-produce? You can even try in an lxc / lxd container to avoid a new machine setup.

I can try also in an Ubuntu container to see if that makes any difference. Which Ubuntu version are you using?

@eheimbuch
Copy link
Member

I will try amd64/bookworm with the .DEB.

My machine is running: Ubuntu 22.04.2 LTS (Jammy Jellyfish)

@vrreg
Copy link

vrreg commented Jul 25, 2023

You may run into a bug with ca-certificates and Java, suggest you try amd64/Bullseye for now.

I tried installing 2.45.1 in an Ubuntu/Jammy in an lxc based container and experience same issue.

Note: I looked into dev tools and do see this, perhaps this is an http / https issue?

Screen Shot 2023-07-25 at 1 59 47 AM

@eheimbuch
Copy link
Member

Yes, this could be the issue. Do you use the https in your browser? You stated that your server-config.xml was not modified therefore https should not work.

@aunicorn111
Copy link
Author

For me the issue resolved by installing ver 2.44.1 >.>
Have no idea what was going wrong with 2.45.x

@aunicorn111
Copy link
Author

Not sure if I should close the issue or not since the problem stays with ver 2.45.x 👀

@vrreg
Copy link

vrreg commented Jul 25, 2023

@eheimbuch :

1). Apologies on missing your suggestion to check network & console in the browser, I thought you meant general network issues
2). I am not using https
3). server-config.xml is NOT modified in anyway
4). How do we get 2.45.1 to work with regular http?

Is scm-server (jetty?) automatically re-directing to use https by default now? This sounds like a circular problem if on 2.45.x http has been deprecated but if the scm-server instance hasn't been set up to use https.

Note : If I want to move to https, I would set this up in the reverse proxy (nginx) and not in scm-server.

Screen Shot 2023-07-25 at 3 42 44 PM

@eheimbuch
Copy link
Member

eheimbuch commented Jul 26, 2023

@vrreg We have not upgraded jetty (yet) and i could not figure out why it is not working for you guys. Unfortunately it works on my machines... I will ask a colleague to try to reproduce it.

If you want to try https with SCMM please find our documentation here.

BTW: I could not make Bullseye work. Could you provide a command to start Bullseye as a docker container?

Another wild guess: Have you tried to connect to port 8080? In your case that would be http://scmtesting:8080/scm.

@vrreg
Copy link

vrreg commented Jul 26, 2023

@eheimbuch :

  1. I am connecting to port 8080 for sure (no reverse proxy / no port 80 without nginx)
  2. I avoid docker because it is hard to debug and too many moving parts :( . I know some people will disagree but I find lxc very "sane".
  3. Can you try on a physical Debian computer (using these instructions which use apt-get: https://scm-manager.org/docs/2.45.x/en/installation/debian/) or via QEMU / VirtualBox?
  4. If not above, can you try lxc or lxd? If you are running on a Debian host it will be lxc, if you are running on Ubuntu(host) I believe they use lxd.

I have a Debian Bullseye host(physical computer, not virtual or container) and I create a new "container" using :

lxc-create -n scmtesting -t download -- --no-validate

I then answer 'debian', 'bullseye', 'amd64' . You can also try 'ubuntu', 'jammy', 'amd64' as an lxc-container.

Note: lxc / lxd (like Docker) can use dnsmasq and/or alter your networking setup (bridge, tunnels, etc) so installing lxc or lxd should be done with some caution if this is a main development machine.

@eheimbuch
Copy link
Member

We can finally reproduce this error on a bookworm machine. We assume that installing the openjdk jre 17 packages somehow broke the certificates on the machine respectively the certificates are maybe not compatible with our jetty config. We are currently looking for fixes. Maybe we will rollback the jre 17 stuff and release a new version 2.45.2.

Thanks for your help and patience. I will get back too you soon.

@eheimbuch
Copy link
Member

eheimbuch commented Jul 26, 2023

The errors were really confusing but we found the culprit. With SCM-Manager version < 2.45.0 we added more strict security headers. One of them is this Content security header: Upgrade-Insecure-Requests, which seems only to work on Debian and therefore this error could not be reproduced on other platforms.

We will remove this security header and release a new version 2.45.2 asap.

Again thanks for the report.

@vrreg
Copy link

vrreg commented Jul 26, 2023

@eheimbuch :

Thank you and the SCM team so much for working on resolution so quickly!

@eheimbuch
Copy link
Member

Hey, version 2.45.2 was just released and we tested it for debian. Hopefully it should work again for everyone.

@vrreg
Copy link

vrreg commented Jul 27, 2023

@eheimbuch :

Confirmed that 2.45.2 fixes the issue, login page comes up properly on a new Debian setup!

THANK YOU!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants