We upgraded from 8.4.2 Community edition to 8.4.2 Developer edition, but Sonar is still showing as Community on the bottom of the page and there’s no License Manager tab under the Administration options.
Steps followed:
Stop Sonar service.
Uninstall service from previous version bin folder.
Edit new config files to match old version config files (connection string, java location etc).
Install service from new version bin folder.
Set service to run using service account.
Start service.
The documentation said there’s no need to run a setup but I checked anyway and it said the DB was up to date.
In the screenshot below you can see the path is pointing to the developer edition folder but it’s still registered as Community Edition.
2020.10.22 13:03:00 INFO web[][o.s.p.ProcessEntryPoint] Starting web
2020.10.22 13:03:03 INFO web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2020.10.22 13:03:06 INFO web[][o.e.p.PluginsService] no modules loaded
2020.10.22 13:03:06 INFO web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2020.10.22 13:03:06 INFO web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2020.10.22 13:03:06 INFO web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2020.10.22 13:03:07 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2020.10.22 13:03:07 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 8.4.2.36762 / d428d412047420f00c81110f95eaf1c709608af1
2020.10.22 13:03:07 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://localhost;databaseName=Sonar;integratedSecurity=true
2020.10.22 13:03:12 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762
2020.10.22 13:03:12 INFO web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin C# Code Quality and Security / 8.6.1.17183 / e9f4299031df68d8c4be6ba670fd4c0395eebf76
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin Checkstyle / 4.32 /
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin CodeScan / 4.3.11 / fc2d2432dc6d3410538411dfdaed62acee6ac2c7
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.11.1.2008 / 204dc9b2cc33ec6b780303f926234eed26aea67d
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin JSON / 2.4-SNAPSHOT / 0
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin JaCoCo / 1.0.2.475 / b79a4724f3a9af1051266b4f8ca0460977295ead
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarCSS / 1.2.0.1325 / 8dc9fe17b6230c20715d3b4cb34e0b6d02151afd
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarFlex / 2.5.1.1831 / a0c44437f6abb0feec76edd073f91fec64db2a6c
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarGo / 1.6.0.719 / edcc6a9e42fcdd30bb6f84a779c6cd7009ec72fd
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarHTML / 3.2.0.2082 / 997a51b39c4d0a5399c73a8fb729030a69eb392b
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarJS / 6.2.1.12157 / 3444def97744d3b811822b3a4bca74798de3ded1
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarJava / 5.13.1.18282 / 568f8ed2349f48e250a9329895b9a870100dfbeb
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarKotlin / 1.5.0.315 / 4ff3a145a58f3f84f1b39846a205a129d742e993
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarPHP / 3.3.0.5166 / 88e11dffb965aeef9d5bdd6d8413f394d35fecba
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarPython / 2.8.0.6204 / 5600d1ed780882d2362bedb3604dbad7ea63eb27
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarRuby / 1.5.0.315 / 4ff3a145a58f3f84f1b39846a205a129d742e993
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarScala / 1.5.0.315 / 4ff3a145a58f3f84f1b39846a205a129d742e993
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarTS / 2.1.0.4359 / 268ba9581b700c4fb2bc194d4069d283da915213
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarXML / 2.0.1.2020 / c5b84004face582d56f110e24c29bf9c6a679e69
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin Svn / 1.9.0.1295 / 942e075773975354e32691a60bfd968065703e04
2020.10.22 13:03:14 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin VB.NET Code Quality and Security / 8.6.1.17183 / e9f4299031df68d8c4be6ba670fd4c0395eebf76
2020.10.22 13:03:21 INFO web[][o.s.s.p.d.m.c.MssqlCharsetHandler] Verify that database collation is case-sensitive and accent-sensitive
2020.10.22 13:03:22 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@5a9b4f96 [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2020.10.22 13:03:22 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2020.10.22 13:03:28 INFO web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2020.10.22 13:03:30 INFO web[][o.s.s.s.LogServerId] Server ID: 079D80A9-105542e3c1fdd1d
2020.10.22 13:03:30 WARN web[][o.s.s.a.LogOAuthWarning] For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to a HTTPS URL.
2020.10.22 13:03:30 INFO web[][org.sonar.INFO] Security realm: LDAP
2020.10.22 13:03:30 INFO web[][o.s.a.l.LdapSettingsManager] User mapping: LdapUserMapping{baseDn=OU=AADDC Users,DC=engiealm,DC=onmicrosoft,DC=com, request=(&(objectClass=user)(sAMAccountName={0})), realNameAttribute=cn, emailAttribute=mail}
2020.10.22 13:03:30 INFO web[][o.s.a.l.LdapSettingsManager] Groups will not be synchronized, because property 'ldap.group.baseDn' is empty.
2020.10.22 13:03:30 INFO web[][o.s.a.l.LdapContextFactory] Test LDAP connection on ldap://<URL>.onmicrosoft.com: OK
2020.10.22 13:03:30 INFO web[][org.sonar.INFO] Security realm started
2020.10.22 13:03:31 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2020.10.22 13:03:31 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/permissions/search_templates
2020.10.22 13:03:31 INFO web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2020.10.22 13:03:31 INFO web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2020.10.22 13:03:31 INFO web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 1 elements
2020.10.22 13:03:31 INFO web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2020.10.22 13:03:31 INFO web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2020.10.22 13:03:31 INFO web[][o.s.s.s.RegisterPlugins] Register plugins
2020.10.22 13:03:31 INFO web[][o.s.s.s.RegisterMetrics] Register metrics
2020.10.22 13:03:31 INFO web[][o.s.s.r.RegisterRules] Register rules
2020.10.22 13:03:44 INFO web[][o.s.s.q.BuiltInQProfileRepositoryImpl] Load quality profiles
2020.10.22 13:03:45 INFO web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
2020.10.22 13:03:45 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile css/Sonar way
2020.10.22 13:03:46 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile scala/Sonar way
2020.10.22 13:03:46 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile jsp/Sonar way
2020.10.22 13:03:46 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile kotlin/Sonar way
2020.10.22 13:03:46 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile go/Sonar way
2020.10.22 13:03:46 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way
2020.10.22 13:03:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way Recommended
2020.10.22 13:03:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile py/Sonar way
2020.10.22 13:03:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile ruby/Sonar way
2020.10.22 13:03:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile vf/CodeScan way
2020.10.22 13:03:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile cs/Sonar way
2020.10.22 13:03:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile sf/CodeScan way
2020.10.22 13:03:48 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile sf/CodeScan strict way
2020.10.22 13:03:48 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile java/Sonar way
2020.10.22 13:03:48 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile web/Sonar way
2020.10.22 13:03:48 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile xml/Sonar way
2020.10.22 13:03:48 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile flex/Sonar way
2020.10.22 13:03:48 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Sonar way
2020.10.22 13:03:48 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile php/PSR-2
2020.10.22 13:03:49 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Drupal
2020.10.22 13:03:49 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile json/SonarQube Way
2020.10.22 13:03:49 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile vbnet/Sonar way
2020.10.22 13:03:49 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way
2020.10.22 13:03:49 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way recommended
2020.10.22 13:03:49 INFO web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2020.10.22 13:03:49 INFO web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2020.10.22 13:03:49 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@5167b276 [pattern=UrlPattern{inclusions=[/api/issues/delete_comment.*, ...], exclusions=[/api/authentication/login.*, ...]}]
2020.10.22 13:03:49 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceReroutingFilter@5d1b5c96 [pattern=UrlPattern{inclusions=[/api/components/bulk_update_key, ...], exclusions=[]}]
2020.10.22 13:03:49 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@67b73aa1 [pattern=UrlPattern{inclusions=[/sessions/init/*], exclusions=[]}]
2020.10.22 13:03:49 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@3aa5aeaf [pattern=UrlPattern{inclusions=[/oauth2/callback/*], exclusions=[]}]
2020.10.22 13:03:49 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@48bc4b40 [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=[]}]
2020.10.22 13:03:49 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@fa51396 [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=[]}]
2020.10.22 13:03:49 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@333775c4 [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=[]}]
2020.10.22 13:03:49 INFO web[][o.s.s.q.ProjectsInWarningDaemon] Counting number of projects in warning is not started as there are no projects in this situation.
2020.10.22 13:03:49 INFO web[][o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2020.10.22 13:03:49 INFO web[][o.s.s.p.Platform] WebServer is operational
sonar.log:
2020.10.22 13:02:28 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\temp
2020.10.22 13:02:28 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2020.10.22 13:02:28 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\elasticsearch]: C:\Program Files\Java\jdk-11.0.5\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\temp -XX:ErrorFile=../logs/es_hs_err_pid%p.log -Des.enforce.bootstrap.checks=true -Xmx512m -Xms512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\elasticsearch -Des.path.conf=E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
2020.10.22 13:02:29 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2020.10.22 13:02:30 INFO app[][o.e.p.PluginsService] no modules loaded
2020.10.22 13:02:30 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2020.10.22 13:02:59 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2020.10.22 13:02:59 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762]: C:\Program Files\Java\jdk-11.0.5\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*;E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\lib\jdbc\mssql\mssql-jdbc-7.4.1.jre11.jar org.sonar.server.app.WebServer E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\temp\sq-process15100962876049301048properties
2020.10.22 13:03:49 INFO app[][o.s.a.SchedulerImpl] Process[web] is up
2020.10.22 13:03:49 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762]: C:\Program Files\Java\jdk-11.0.5\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED -Xmx1536m -Xms1536m -XX:+UseG1GC -XX:-UseGCOverheadLimit -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*;E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\lib\jdbc\mssql\mssql-jdbc-7.4.1.jre11.jar org.sonar.ce.app.CeServer E:\Program Files\sonarqube-developer-8.4.2.36762\sonarqube-8.4.2.36762\temp\sq-process12959107580306959180properties
2020.10.22 13:04:05 INFO app[][o.s.a.SchedulerImpl] Process[ce] is up
2020.10.22 13:04:05 INFO app[][o.s.a.SchedulerImpl] SonarQube is up