Not possible to browse rules after upgrade to 6.3

243 views
Skip to first unread message

Jelle Nelis

unread,
Mar 19, 2017, 8:30:12 PM3/19/17
to SonarQube
Hi,

I recently upgraded to SonarQube 6.3 and I just noticed I could not browse rules anymore (/coding_rules). The logs (web.log) show this: 

2017.03.20 01:06:28 ERROR web[AVro+/pv+T8xK3qdAACF][o.s.s.w.WebServiceEngine] Fail to process request http://sonar.dyamand.ilabt.iminds.be/api/rules/search?p=1&ps=200&facets=types%2Clanguages&f=name%2Clang%2ClangName%2CsysTags%2Ctags%2Cstatus%2Cseverity&s=name&asc=true
java.lang.IllegalStateException: Fail to execute ES search request '{"from":0,"size":200,"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"must":{"bool":{"must_not":{"term":{"status":"REMOVED"}}}}}}}},"sort":[{"name.sortable_analyzer":{"order":"asc"}}],"aggregations":{"types":{"global":{},"aggregations":{"types_filter":{"filter":{"bool":{"must":[{"match_all":{}},{"bool":{"must_not":{"term":{"status":"REMOVED"}}}}]}},"aggregations":{"types":{"terms":{"field":"type","size":10,"min_doc_count":1,"order":{"_count":"desc"}}}}}}},"languages":{"global":{},"aggregations":{"languages_filter":{"filter":{"bool":{"must":[{"match_all":{}},{"bool":{"must_not":{"term":{"status":"REMOVED"}}}}]}},"aggregations":{"languages":{"terms":{"field":"lang","size":10,"min_doc_count":1,"order":{"_count":"desc"}}}}}}}}}' on indices '[rules]' on types '[rule]'
at org.sonar.server.es.request.ProxySearchRequestBuilder.get(ProxySearchRequestBuilder.java:48)
at org.sonar.server.es.request.ProxySearchRequestBuilder.get(ProxySearchRequestBuilder.java:36)
at org.sonar.server.rule.index.RuleIndex.search(RuleIndex.java:142)
at org.sonar.server.rule.ws.SearchAction.doSearch(SearchAction.java:353)
at org.sonar.server.rule.ws.SearchAction.handle(SearchAction.java:159)
at org.sonar.server.ws.WebServiceEngine.execute(WebServiceEngine.java:103)
at org.sonar.server.ws.WebServiceFilter.doFilter(WebServiceFilter.java:85)
at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:126)
at org.sonar.server.platform.web.MasterServletFilter.doFilter(MasterServletFilter.java:95)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.sonar.server.user.UserSessionFilter.doFilter(UserSessionFilter.java:76)
at org.sonar.server.user.UserSessionFilter.doFilter(UserSessionFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.sonar.server.platform.web.SecurityServletFilter.doHttpFilter(SecurityServletFilter.java:72)
at org.sonar.server.platform.web.SecurityServletFilter.doFilter(SecurityServletFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.sonar.server.platform.web.RoutesFilter.doFilter(RoutesFilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.sonar.server.platform.web.requestid.RequestIdFilter.doFilter(RequestIdFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.sonar.server.platform.web.RootFilter.doFilter(RootFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at ch.qos.logback.access.tomcat.LogbackValve.invoke(LogbackValve.java:256)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed
at org.elasticsearch.action.search.AbstractSearchAsyncAction.onFirstPhaseResult(AbstractSearchAsyncAction.java:206)
at org.elasticsearch.action.search.AbstractSearchAsyncAction$1.onFailure(AbstractSearchAsyncAction.java:152)
at org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:46)
at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:874)
at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:852)
at org.elasticsearch.transport.TransportService$4.onFailure(TransportService.java:389)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
... 1 common frames omitted
org.elasticsearch.search.SearchParseException: No mapping found for [name.sortable_analyzer] in order to sort on
at org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:213)
at org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:187)
at org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:85)
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:856)
at org.elasticsearch.search.SearchService.createContext(SearchService.java:667)
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:633)
at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:472)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryFetchTransportHandler.messageReceived(SearchServiceTransportAction.java:392)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryFetchTransportHandler.messageReceived(SearchServiceTransportAction.java:389)
at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33)
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:77)
at org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:378)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)

Can someone help me with this?
Thanks and kind regards,

Jelle 

Simon Brandhof

unread,
Mar 20, 2017, 4:25:11 AM3/20/17
to Jelle Nelis, SonarQube
Hi Jelle,

Can you provide the logs of upgrade please ?

Regards

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/ebdc13ee-a22f-4839-9fc2-0ad81e6f4334%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Simon BRANDHOF | SonarSource
Tech Lead & Co-Founder
http://twitter.com/SimonBrandhof

Jelle Nelis

unread,
Mar 20, 2017, 4:39:08 AM3/20/17
to Simon Brandhof, SonarQube

Hi Simon,

I got the following regarding the upgrade:

2017.03.20 00:51:32 INFO  web[][o.s.s.p.d.m.DatabaseMigrationImpl] Starting DB Migration and container restart
2017.03.20 00:51:33 INFO  web[][DbMigrations] Executing DB migrations...
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1500 'Add Events.UUID'...
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1500 'Add Events.UUID': success | time=65ms
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1501 'Populate Events.UUID'...
2017.03.20 00:51:33 INFO  web[][o.s.s.p.d.m.s.MassUpdate] 503 events processed (8 items/sec)
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1501 'Populate Events.UUID': success | time=122ms
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1502 'Make Events.UUID not nullable'...
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1502 'Make Events.UUID not nullable': success | time=41ms
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1503 'Add PROJECTS.ORGANIZATION_UUID'...
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1503 'Add PROJECTS.ORGANIZATION_UUID': success | time=344ms
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1504 'Populate PROJECTS.ORGANIZATION_UUID'...
2017.03.20 00:51:33 INFO  web[][o.s.s.p.d.m.s.MassUpdate] 7 project trees processed (0 items/sec)
2017.03.20 00:51:33 INFO  web[][o.s.s.p.d.m.s.MassUpdate] 0 components processed (0 items/sec)
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1504 'Populate PROJECTS.ORGANIZATION_UUID': success | time=215ms
2017.03.20 00:51:33 INFO  web[][DbMigrations] #1505 'Make PROJECTS.ORGANIZATION_UUID not nullable'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1505 'Make PROJECTS.ORGANIZATION_UUID not nullable': success | time=201ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1506 'Add index on PROJECTS.ORGANIZATION_UUID'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1506 'Add index on PROJECTS.ORGANIZATION_UUID': success | time=124ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1507 'Drop table RESOURCE_INDEX'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1507 'Drop table RESOURCE_INDEX': success | time=18ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1508 'Add columns ORGANIZATIONS.DEFAULT_PERM_TEMPLATE_*'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1508 'Add columns ORGANIZATIONS.DEFAULT_PERM_TEMPLATE_*': success | time=74ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1509 'Populate columns ORGANIZATIONS.DEFAULT_PERM_TEMPLATE_*'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1509 'Populate columns ORGANIZATIONS.DEFAULT_PERM_TEMPLATE_*': success | time=12ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1510 'Add ORGANIZATIONS.GUARDED'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1510 'Add ORGANIZATIONS.GUARDED': success | time=27ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1511 'Populate ORGANIZATIONS.GUARDED'...
2017.03.20 00:51:34 INFO  web[][o.s.s.p.d.m.s.MassUpdate] 1 organizations processed (0 items/sec)
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1511 'Populate ORGANIZATIONS.GUARDED': success | time=7ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1512 'Make ORGANIZATIONS.GUARDED not nullable'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1512 'Make ORGANIZATIONS.GUARDED not nullable': success | time=45ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1513 'Make default organization guarded'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1513 'Make default organization guarded': success | time=4ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1514 'Delete some entries in PROPERTIES'...
2017.03.20 00:51:34 INFO  web[][o.s.s.p.d.m.s.MassUpdate] 4 useless settings processed (0 items/sec)
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1514 'Delete some entries in PROPERTIES': success | time=6ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1515 'Unset user root flags'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1515 'Unset user root flags': success | time=3ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1516 'Add ORGANIZATIONS.USER_ID'...
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1516 'Add ORGANIZATIONS.USER_ID': success | time=14ms
2017.03.20 00:51:34 INFO  web[][DbMigrations] #1517 'Delete PROJECT_MEASURES rows having no value'...
2017.03.20 00:51:36 INFO  web[][o.s.s.p.d.m.s.MassUpdate] 0 measures processed (0 items/sec)
2017.03.20 00:51:36 INFO  web[][DbMigrations] #1517 'Delete PROJECT_MEASURES rows having no value': success | time=2053ms
2017.03.20 00:51:36 INFO  web[][DbMigrations] Executed DB migrations: success | time=3382ms
2017.03.20 00:51:37 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Create index components
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Create type components/component
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Create type components/authorization
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Delete index tests (settings changed)
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Create index tests
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Create type tests/test
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Delete index projectmeasures (settings changed)
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Create index projectmeasures
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Create type projectmeasures/projectmeasure
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Create type projectmeasures/authorization
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Delete index issues (settings changed)
2017.03.20 00:51:38 INFO  web[][o.s.s.e.IndexCreator] Create index issues
2017.03.20 00:51:39 INFO  web[][o.s.s.e.IndexCreator] Create type issues/issue
2017.03.20 00:51:39 INFO  web[][o.s.s.e.IndexCreator] Create type issues/authorization
2017.03.20 00:51:39 INFO  web[][o.s.s.e.IndexCreator] Delete index users (settings changed)
2017.03.20 00:51:39 INFO  web[][o.s.s.e.IndexCreator] Create index users
2017.03.20 00:51:39 INFO  web[][o.s.s.e.IndexCreator] Create type users/user
2017.03.20 00:51:39 INFO  web[][o.s.s.e.IndexCreator] Delete index views (settings changed)
2017.03.20 00:51:39 INFO  web[][o.s.s.e.IndexCreator] Create index views
2017.03.20 00:51:39 INFO  web[][o.s.s.e.IndexCreator] Create type views/view
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Sonargraph Structural Debt Dashbox' (sonargraph.structural_debt) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Sonargraph Structure Dashbox' (sonargraph.structure) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Sonargraph Architecture Dashbox' (sonargraph.architecture) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Project Motion Chart' (project_motion_chart) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Filter Motion Chart' (filter_motion_chart) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Alt Rules Compliance' (rules-alt) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'User Text Display' (user-text) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Differential Dropdown' (differential-dropdown) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Project Security Issues Tags' (security_issues_tag) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Global Security Issues Tags' (security_issues_tag_global) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Measure History as Bar Chart' (measure_bar_chart) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Page 'Metrics' (metricsTab) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Sonargraph Integration Architecture' (sonargraphintegration_architecture) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Sonargraph Integration Structure' (sonargraphintegration_structure) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Sonargraph Integration Structural Debt' (sonargraphintegration_structural_debt) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Useless Code' (useless-code-tracker) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Widget 'Pitest report' (pitest) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 WARN  web[][o.s.s.u.DeprecatedViews] Page 'Mutations Coverage' (Mutations Coverage) is ignored. See org.sonar.api.web.page.PageDefinition to define pages.
2017.03.20 00:51:39 INFO  web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2017.03.20 00:51:39 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceFilter@784c5f11 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@6ee5fad4]
2017.03.20 00:51:39 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.DeprecatedPropertiesWsFilter@2a902877 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@303e5ee3]
2017.03.20 00:51:39 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@41c9e6a5 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@6a31bd7b]
2017.03.20 00:51:39 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@386d8c94 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@361fa9f2]
2017.03.20 00:51:39 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@281d336c [pattern=org.sonar.api.web.ServletFilter$UrlPattern@7cc013d7]
2017.03.20 00:51:39 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@76392828 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@377ef3d0]
2017.03.20 00:51:39 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@27472bf9 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@18802f51]
2017.03.20 00:51:40 INFO  web[][o.s.s.s.RegisterMetrics] Register metrics
2017.03.20 00:51:40 INFO  web[][o.s.s.r.RegisterRules] Register rules
2017.03.20 00:51:43 INFO  web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
2017.03.20 00:51:46 INFO  web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2017.03.20 00:51:46 INFO  web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2017.03.20 00:51:46 INFO  web[][o.s.s.s.DeleteOldAnalysisReportsFromFs] Delete unused directory of analysis reports: /opt/sonar/data/ce/reports
2017.03.20 00:51:46 INFO  web[][o.s.s.e.IndexerStartupTask] Index authorization
2017.03.20 00:51:46 INFO  web[][o.s.s.e.IndexerStartupTask] Index issues
2017.03.20 00:51:47 INFO  web[][o.s.s.e.IndexerStartupTask] Index tests
2017.03.20 00:51:48 INFO  web[][o.s.s.e.IndexerStartupTask] Index users
2017.03.20 00:51:48 INFO  web[][o.s.s.e.IndexerStartupTask] Index views
2017.03.20 00:51:48 INFO  web[][o.s.s.e.IndexerStartupTask] Index project measures
2017.03.20 00:51:48 INFO  web[][o.s.s.e.IndexerStartupTask] Index components
2017.03.20 00:51:49 INFO  web[][o.s.s.p.d.m.DatabaseMigrationImpl] DB Migration and container restart: success | time=16370ms

After this, the next output in the log is the exception mentioned previously.

Kind regards,

Jelle

Simon Brandhof

unread,
Mar 20, 2017, 12:06:09 PM3/20/17
to SonarQube, simon.b...@sonarsource.com
It seems that the directory data/ has been copied from the installation of previous version 6.2. Do you confirm ?

Jelle Nelis

unread,
Mar 20, 2017, 12:18:14 PM3/20/17
to sona...@googlegroups.com

Hi Simon,

the installation has been updated from 6.2, so the data was already there, yes. De you need any specific information about the data directory (or any other information for that matter)? The problem is that it also affects the ability to perform analyses.

Kind regards,

Jelle


On 20-03-17 17:06, Simon Brandhof wrote:
It seems that the directory data/ has been copied from the installation of previous version 6.2. Do you confirm ?
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/fv3L2s4Dd4o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/46e0d837-9fb8-462e-942f-e85721133d3b%40googlegroups.com.

Simon Brandhof

unread,
Mar 20, 2017, 1:29:22 PM3/20/17
to Jelle Nelis, sona...@googlegroups.com
A fresh new directory must be used, not the one from previous installation : https://docs.sonarqube.org/display/SONAR/Upgrading
Please open a new thread if you still face a performance issue with scanners.

You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/74723b89-9f94-5cf5-e77d-7ad69b62eac5%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

Jelle Nelis

unread,
Mar 20, 2017, 1:54:00 PM3/20/17
to Simon Brandhof, sona...@googlegroups.com

Hi Simon,

thanks a lot, this indeed fixed the problem. I am using http://downloads.sourceforge.net/project/sonar-pkg/deb to update SonarQube and that just overwrites the previous SonarQube home, apparently. Taking into account your answer, I assume this is not an official channel to get SonarQube. Is the officially supported upgrade procedure to do it manually?

Kind regards,

Jelle

Julien Lancelot

unread,
Mar 21, 2017, 5:30:19 AM3/21/17
to Jelle Nelis, Simon Brandhof, sona...@googlegroups.com
Hi Jelle,

Indeed, if you have a look at the link Simon gave you (https://docs.sonarqube.org/display/SONAR/Upgrading), the official way to upgrade SonarQube is to deploy the new version in a new folder.

Regards,


For more options, visit https://groups.google.com/d/optout.
--
Julien LANCELOT | SonarSource
Reply all
Reply to author
Forward
0 new messages