SonarQube upgrade 4.2 -> 4.3 UpdateMeasuresDebtToMinutes appears hung - sonarqube

I'm updating SonarQube on Windows from v4.2 to v4.3 (Windows Server 2008 R2 with MS SQL Server 2008 R2). All goes well until browsing to the /Setup page and pressing the 'Upgrade' button, after which time the database begins updating, and has not yet completed after more than an hour's processing.
Opening the sonar.log file, I see the last logged migration to begin was 'UpdateMeasuresDebtToMinutes', which began within just a few seconds of the update's initiation.
I'm kind of stuck - SQL Profiler doesn't appear to be giving up much useful information, although it is logging the execution of 'SELECT 1' every few seconds.
If anyone else has had a similar issue, or has any idea how to resolve this problem, I'd sure appreciate some insight.
Thanks!

If you have set the property 'sonar.technicalDebt.hoursInDay', then this could be similar to this issue : http://sonarqube.15.x6.nabble.com/Fail-to-migrate-from-SonarQube-4-2-to-4-3-td5024979.html
"If you want to fix this issue, you'll have to apply the modification found here : https://github.com/SonarSource/sonarqube/commit/9ced48150f6570403469d4eaeaaa377e7d0550a4"
Hope it helps.

Related

Visual Studio 2013 Hangs with error AppHangB1

I have an existing report, I made a change to the stored procedure that loads the data, adding 2 fields. needed to refresh the data set. when I try to refresh, VS hangs up and when I try to close I get a message stating that a problem caused this program to stop interacting with windows. Problem event name: AppHangB1
After browsing for answers and finding different recommendations, restoring windows worked for me.
It seems that the problem was caused due to an automated windows update. My knowledge isn't that proper to know which part of it caused the issue. So I did this.
went to Start>System Restore
and then selected the previous restore point, and clicked on next, next until the system went on restoring.
It restarted the computer and when done, the program works just fine.

Oracle ODAC(with ODT) + VS2012

I installed Oracle 12 ODAC(with ODT) on two computers.
I notice two things :
The program doesn't appear in the "Windows program list" mainly used to remove/modify installed applications (only 40MB for documentation). Bad stuff, but why not...
Visual Studio is not aware about the installation and when I want to add a database connection by Tools/Connect to Database...", the new Oracle providers is not showned. VS asks for at least an Oracle 7, none is registered ! Like before to install Oracle product :(
My needs are basic, I'm quite surprise the Oracle setup has a strange behavior and doesn't seem to be fully registered.
Any idea about a missing stuff ?
Thanks by advance all,
Nd.
PS : I need a rest tonight, I'll be back tomorrow :)
I remember vaguely struggeling with the same issue. I went back to download and install the Oracle ODP.NET. That provided a setup to handle Visual studio integration and works fine for me. (Currently using ODP11.2.320)

CacheInstaller.exe has stopped working

I am having below mentioned issue when I am running Asp.Net MVC 2 project on windows Azure emulator (dev environment)
I have installed Windows Azure SDK for .NET - October 2012 version and I am using cache feature on my system.
With above error Below one is also comming.
How to get rid of this ?
Maybe I have an stupid solution, but that works with me.
When I begin to recieve the message "CacheInstaller.exe has stopped working", I do the following:
1) Stop the execution.
2) Go to the Role I'm using in the Azure project and open the corresponding Properties page.
3) Go to the "Caching" section and there I uncheck the "Enable Caching" checkbox. After that I checked again.
4) Save*, Run de application and never the warning appear again.
Is weird because nothing should change if you uncheck and check it again an option without save in the middle, but in this case when you do that the file changes (I can see it in the red icon that said something change there, :P)
I hope this helps. Cheers.
Do you have any error messages in the event log that may give more hint.
It could be an issue with missing dlls, do you have the windows server appFabric installed as well on this machine, which may be leading to a conflict with the dlls?
A procmon log might help you see what file paths its looking for.
"http://technet.microsoft.com/en-us/sysinternals/bb896645"
I banged my head against the wall on this one as well. I finally figured out the problem after digging deep into the crash-dump logs located within: C:\Users\{YOU}\AppData\Local\dftmp\Resources\{GUID}\directory\DiagnosticStore\AzureCaching\
AzureCaching does not allow UNC paths.
As my primary .net dev is from a vm, my documents/projects drive is mapped to my native drive located at: \\psf\Home\Documents\... Once I moved the project to the vm c:/ drive, CacheInstaller worked as intended.
Might as well post my experience as I was unable to locate anything on this specific problem.
I found today that if my system time was more than about 10 minutes wrong then CacheInstaller.exe bailed out on starting the emulator.
That includes the combination of system time and timezone being wrong, presumably as it results in an inability to calculate the correct UTC time at which Azure operates. Fixing the system clock resolved the issue in my case.

AppHangB1 causing vs 2010 in not responding mode while editing webforms

i was trying to change the table's width in IDE and then saving and refreshing my localhost version of the application. it was working fine but suddenly i found that whenever i made any changes to my design the IDE gets hang and it says not responding and it takes quite much time to resume. after several time of this happening and restarting IDE and computer, i still got the same problem and when i closed the not responding IDE by force then in view error detail i found that APPHangB1 is causing problem, it says something like this "program is unable to communicate with windows due to AppHangB1 ". what is teh problem kindly tell? shall i reinstall my VS 2010. i have stuck in the middle and have to complete my application fast. kindly suggest solutions if u faced any. i m in hurry

Setting up a Mercurial server on IIS 6

I've set up a Mercurial server on a Windows 2003 / IIS 6 machine and when I try to pull the repository I get the following sequence
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: premature EOF reading chunk (got 91303 bytes, expected 1542634)
I've tried pretty much everything I can think of, but with no success. I followed the steps of Jeremy Skinners guide on doing it for IIS7, but on an IIS6 server.
I found a post where the author was experiencing the same issue, but was unable to find a solution.
So far it looks like the solution is to migrate to Apache or upgrade to Windows 2008/II7 .. but if someone knows how to solve this, please let me know
I'll answer this one myself.
The problem turned out to be that there is a CGI script timeout of 5 minutes in IIS 6 (and below, not sure about 7) and this was what kept being hit. To change the timeout value you have to have the IIS 6 Resource Kit installed.
Once installed, start the MetaBase Explorer utility and navigate to \LM\W3SVC and locate the CGITimeout entry and change the value from the default 300 (5 minutes) to a higher value (I ended up using 20 minutes).
After changing the value I restarted IIS to make sure it was used by the server. Once this has been done, everything worked like a charm!
Cross posted on my blog
I haven't tried it yet, but there's this: Running Mercurial on Windows
If you scroll down to the "Windows Server 2003/XP" section, I think that should cover you for IIS 6.
Have you checked out Joel's tutorial? Maybe you'll find the answer there.

Resources