Blank page on fresh scm-server 2.45.1 install (Debian host)

  • SCM-Manager version: 2.45.1

  • Issue: scm-server starts up but when logging into site (IP:8080), a blank page shows up. Tried Chrome & Firefox, without any extensions or add-ons

  • Host OS: Debian Bullseye and Debian Bookworm

  • Did a completely fresh install of scm-server v 2.45.1 on two different “fresh” or “new” Debian LXC containers (Bullseye & Bookworm).

  • Note: Did have to install rng-tools otherwise no token / no start-up:

sudo apt-get install rng-tools
sudo rngd -r /dev/urandom
  • Can re-start scm-server via systemctl but still get a blank page when trying to bring up website

  • Tried apt-purge scm-server and apt-install scm-server , no change, still no website on initial login.

  • Have used and really like scm-server – I’ve installed and setup older versions of scm-server and the install on Debian has ALWAYS worked perfectly.

  • No major warnings or errors in log other than “init resteasy”:

2023-07-23 22:49:39.009 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.initialization.DefaultInitializationFinisher
2023-07-23 22:49:39.015 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ====================================================
2023-07-23 22:49:39.015 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-23 22:49:39.015 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==    Startup token for initial user creation     ==
2023-07-23 22:49:39.015 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-23 22:49:39.015 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==              p4WpPbjF1a45oFs5IY1m              ==
2023-07-23 22:49:39.015 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-23 22:49:39.015 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ====================================================
2023-07-23 22:49:39.016 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.EventDrivenRepositoryArchiveCheckInitializer
2023-07-23 22:49:39.092 [main] [          ] INFO  sonia.scm.repository.work.WorkdirProvider - deleting 0 old work dirs in /tmp/scm-work
2023-07-23 22:49:59.713 [qtp578866604-22] [          ] INFO  sonia.scm.lifecycle.modules.ResteasyAllInOneServletDispatcher - init resteasy

‘Finish Initialization’ web page comes up immediately after installing package

  • Tried a manual install of 2.45.0 and same “error” (blank page) ; did an apt-purge scm-server , removed all scm folders (/var/cache/scm , /var/lib/scm, /var/log/scm) and manually installed DEB

  • I believe there is a bug with 2.45.x ; should I file a bug report on Github?

Here’s a more complete log from 2.50.0

root@scmtesting:/var/log/scm# tail -f scm-manager.log
2023-07-24 20:54:56.779 [main] [          ] INFO  sonia.scm.lifecycle.classloading.ClassLoaderLifeCycle - create new simple ClassLoaderLifeCycle
2023-07-24 20:54:56.782 [main] [          ] INFO  sonia.scm.lifecycle.BootstrapContextFilter - register for restart events
2023-07-24 20:54:56.783 [main] [          ] INFO  sonia.scm.event.LegmanScmEventBus - create new event bus ScmEventBus-1
2023-07-24 20:54:56.817 [main] [          ] WARN  io.micrometer.core.instrument.binder.jvm.ExecutorServiceMetrics - Failed to bind as org.apache.shiro.concurrent.SubjectAwareExecutorService is unsupported.
2023-07-24 20:54:56.817 [main] [          ] INFO  sonia.scm.event.ScmEventBus - use sonia.scm.event.LegmanScmEventBus as event bus implementation
2023-07-24 20:54:56.842 [main] [          ] INFO  sonia.scm.lifecycle.BootstrapContextListener - start scm-manager initialization
2023-07-24 20:54:57.175 [main] [          ] INFO  sonia.scm.plugin.PluginProcessor - collect plugins
2023-07-24 20:54:57.198 [main] [          ] INFO  sonia.scm.plugin.PluginProcessor - install plugin tree:
+- scm-git-plugin@2.45.0
+- scm-legacy-plugin@2.45.0
+- scm-hg-plugin@2.45.0
+- scm-svn-plugin@2.45.0

2023-07-24 20:54:57.541 [main] [          ] INFO  sonia.scm.update.repository.XmlRepositoryV1UpdateStep - no v1 repositories database file found
2023-07-24 20:54:57.693 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.web.HgServletModule
2023-07-24 20:54:57.693 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.web.SvnServletModule
2023-07-24 20:54:57.693 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.security.gpg.GPGModule
2023-07-24 20:54:57.694 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.repository.hooks.HookModule
2023-07-24 20:54:57.694 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.web.GitServletModule
2023-07-24 20:54:57.694 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.autoconfig.AutoConfigModule
2023-07-24 20:54:57.694 [main] [          ] INFO  sonia.scm.lifecycle.modules.ApplicationModuleProvider - add module class sonia.scm.legacy.LegacyModule
2023-07-24 20:54:57.711 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.metrics.HttpMetricsFilter to filter chain
2023-07-24 20:54:57.712 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.filter.BaseUrlFilter to filter chain
2023-07-24 20:54:57.712 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.security.TokenExpiredFilter to filter chain
2023-07-24 20:54:57.713 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.web.filter.DefaultHttpProtocolServletAuthenticationFilter to filter chain
2023-07-24 20:54:57.713 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.legacy.LegacyProtocolServletAuthenticationFilter to filter chain
2023-07-24 20:54:57.713 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.web.security.ApiAuthenticationFilter to filter chain
2023-07-24 20:54:57.714 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.filter.MDCFilter to filter chain
2023-07-24 20:54:57.714 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.web.security.TokenRefreshFilter to filter chain
2023-07-24 20:54:57.715 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind filter class sonia.scm.filter.SecurityHeadersFilter to filter chain
2023-07-24 20:54:57.715 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.lifecycle.RestartServlet to servlet chain
2023-07-24 20:54:57.715 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.web.protocol.HttpProtocolServlet to servlet chain
2023-07-24 20:54:57.716 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.web.i18n.I18nServlet to servlet chain
2023-07-24 20:54:57.716 [main] [          ] INFO  sonia.scm.filter.WebElementModule - bind servlet class sonia.scm.WebResourceServlet to servlet chain
2023-07-24 20:54:57.735 [main] [          ] INFO  sonia.scm.plugin.DefaultExtensionProcessor - start processing extensions
2023-07-24 20:54:57.757 [main] [          ] WARN  sonia.scm.plugin.ExtensionBinder - could not find extension for extension point interface sonia.scm.io.FileSystem
2023-07-24 20:54:57.767 [main] [          ] WARN  sonia.scm.plugin.ExtensionBinder - could not find extension for extension point interface sonia.scm.api.v2.resources.LogoutRedirection
2023-07-24 20:54:57.783 [main] [          ] INFO  sonia.scm.plugin.DefaultExtensionProcessor - bound extensions in 47.91 ms
2023-07-24 20:54:57.832 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.initialization.InitializationRealm
2023-07-24 20:54:57.833 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.DefaultRealm
2023-07-24 20:54:57.833 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.legacy.LegacyRealm
2023-07-24 20:54:57.833 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.ApiKeyRealm
2023-07-24 20:54:57.833 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.web.security.AdministrationContextRealm
2023-07-24 20:54:57.833 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.BearerRealm
2023-07-24 20:54:57.833 [main] [          ] INFO  sonia.scm.lifecycle.modules.ScmSecurityModule - bind security realm class sonia.scm.security.AnonymousRealm
2023-07-24 20:54:58.532 [main] [          ] WARN  sonia.scm.cache.GuavaCacheConfigurationReader - could not find manual configuration at /var/lib/scm/ext/gcache.xml
2023-07-24 20:54:58.671 [main] [          ] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial}
2023-07-24 20:54:58.758 [main] [          ] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion}
2023-07-24 20:54:58.758 [main] [          ] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git}
2023-07-24 20:54:58.858 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.DefaultRepositoryRoleManager
2023-07-24 20:54:58.858 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.RemoveDeletedRepositoryRole
2023-07-24 20:54:58.858 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.plugin.PluginCenterRefresh
2023-07-24 20:54:58.858 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.DefaultBranchDeleteProtection
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.LastModifiedUpdateListener
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.GitRepositoryModifyListener
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.ReadOnlyCheckInitializer
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.user.AnonymousUserDeletionEventHandler
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.DefaultBranchChangedDispatcher
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.security.AuthorizationChangedEventProducer
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.config.ScmConfigurationChangedListener
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.update.RepositoryUpdateAfterCreationHook
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.api.v2.resources.GitRepositoryConfigChangeClearRepositoryCacheListener
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.spi.FileLockPreCommitHook
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.user.DefaultUserManager
2023-07-24 20:54:58.859 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.initialization.DefaultInitializationFinisher
2023-07-24 20:54:58.865 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ====================================================
2023-07-24 20:54:58.865 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-24 20:54:58.865 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==    Startup token for initial user creation     ==
2023-07-24 20:54:58.865 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-24 20:54:58.865 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==              ZfkSnDSri6KKcPSt3kNJ              ==
2023-07-24 20:54:58.865 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ==                                                ==
2023-07-24 20:54:58.865 [main] [          ] WARN  sonia.scm.lifecycle.AdminAccountStartupAction - ====================================================
2023-07-24 20:54:58.866 [main] [          ] INFO  sonia.scm.lifecycle.modules.EagerSingletonModule - initialize eager singleton sonia.scm.repository.EventDrivenRepositoryArchiveCheckInitializer
2023-07-24 20:54:58.923 [main] [          ] INFO  sonia.scm.repository.work.WorkdirProvider - deleting 0 old work dirs in /tmp/scm-work
2023-07-24 20:55:10.957 [qtp578866604-22] [          ] INFO  sonia.scm.lifecycle.modules.ResteasyAllInOneServletDispatcher - init resteasy

Fixed with release 2.45.2.