TeamCity 9.1.1 upgrade not working - teamcity

I'm currently using TeamCity 9.0 with MS-SQL as the repository. I want to upgrade to version 9.1.1. I run the installer and I see 9.0 being uninstalled, followed by the 9.1.1 installation. After the installation is done TeamCity won't come back. The Web portal shows this error:
TeamCity server is connecting to MSSQL database. The database server is not started yet, or the database specified in '/config/database.properties' file is inaccessible.
I am using the same user account as the previous installation so it doesn't look like a permissions issue.
According to the documentation the installer should prompt for the data directory, but I never got that prompt.
While uninstalling I removed the TeamCity/lib/jdbc folder (those are the libraries to use MS-SQL). After installing 9.1.1 I copied back the folder and restarted the TC service.
Thoughts?

Check your config/database.properties file, and see if your database is still there.

Related

mongodump.exe and mongorestore.exe files are missing

Yesterday I reinstalled Windows 10 on my PC and downloaded and installed the current version of MongoDB Enterprise from the MongoDB website. After installing MongoDB, it works fine. But the mongodump.exe and mongorestore.exe files are missing in the C:\Program Files\MongoDB\Server\4.4\bin directory. So, I cannot restore my previous database and continue my work. Am I doing anything wrong? How can I get those files back so that I can restore my previous database?
Starting with Mongo 4.4 the database tools are not part of the MongoDB Server package anymore.
You have to download MongoDB Database Tools separately from https://www.mongodb.com/try/download/database-tools

Upgrade SonarQube from version 5.6.4 to 6.7.2

I want to upgrade SonarQube and I haven't done this before so I have few question. Please could you help me with them?
How can I find which edition is installed on my server?
How can I find if the installed version is licensed or not?
How can I upgrade from 5.6.4 to 6.7 LTS? Do you have upgrade guide for the same?
You can always find which version is installed by logging into the SonarQube web app and looking at the footer of the page or by going to Administration / System / System Info. If you for some reason can't log in to the web app, and installation folder name does not contain the version number as it does by default, look in the "lib" folder for a file that looks like "sonar-application-6.3.1.jar". That will tell you the version number as well.
Here are the general steps for upgrading, from the Upgrade the Server docs:
Download and unzip the SonarQube distribution of your edition in a
fresh directory, let's say $NEW_SONARQUBE_HOME
Manually install the
non-default plugins that are compatible with your version of
SonarQube. Use the Compatibility Matrix to ensure that the versions
you install are compatible with your server version. Note that the
most recent versions of all SonarSource code analyzers available in
your edition are installed by default. Simply copying plugins from
the old server to the new is not recommended; incompatible or
duplicate plugins could cause startup errors.
Update the contents of
sonar.properties and wrapper.conf files (in
$NEW_SONARQUBE_HOME/conf) with the settings of the related files in
the $OLD_SONARQUBE_HOME/conf directory (web server URL, database,
ldap settings, etc.). Do not copy-paste the old files. If you are
using the Oracle DB, copy its JDBC driver into
$NEW_SONARQUBE_HOME/extensions/jdbc-driver/oracle
Stop your old
SonarQube Server
Start your new SonarQube Server
Browse to
http://yourSonarQubeServerURL/setup and follow the setup
instructions
Analyze your projects (and compute your
Views|Portofolios|Application if you own the Enterprise Edition
product) to get fresh data
Before embarking on this, you will want to check out the intermediate upgrade notes for each version in order: 6.0, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, and 6.7.
Note that upgrade notes for versions after 6.7 are hosted at the new documentation site.

Unable to upgrade from 9.x to 10.x

I am a teamcity developer and our organisation currently uses Team-city 9.0.3 Free version. Now we maxed out Builds. So we are planning to take an enterprise edition.
But before that we need to upgrade the teamcity to latest version 10.x. while i am doing the upgrade it throws the following error.
Please click the link to see the error
The steps i did for the upgrade are
-- Take a back up of entire Teamcity which will be in /root/.BuildServer/backup
-- Stop the Teamcity server and delete the whole teamcity directory
-- copy the backup .Zip file into import section.
-- download the latest teamcity and do the necessary configurations and start the teamcity server.
-- go to Administration/Import and start importing the file from /root/.BuildServer/import
While importing i am getting the above error as version is not supported.
Please help me on this so that i have to upgrade the Teamcity and go for enterprise edition
Thankyou in advance..
It sounds like you are trying to import a backup created with TeamCity 9 into TeamCity 10, that isn't supported, backups can only be restored with the same version they were created with.
When you install TeamCity you usually have a data directory (probably ".BuildServer" in your case) and the software in a different location. You shouldn't delete the data directory, you should upgrade the database and data directory in place (TeamCity will prompt to do this when the new software starts, refer maintenance mode below).
If you continue with your proposed route you'll need to create a fresh TeamCity 10 database with the new schema version, however you'll loose all the other settings and data as that backup sounds like a project config only backup.
JetBrains provide detailed guides to perform upgrades:
https://confluence.jetbrains.com/display/TCD10/Upgrade
https://confluence.jetbrains.com/display/TCD10/TeamCity+Maintenance+Mode

ibm Rational Clear case plugin(extension) is not working in Oracle Jdeveloper

Presently i am working with Oracle Jdeveloper 11g Release 1(11.1.1.6.0) as IDE and Rational clear case Remote client 7.1.2 for version control.
While installing the plug in for clear case there was only an option with clear case version 11.1.1.6.38.61.92 and i proceeded with the installation
but when i am trying to connect with clear case using the plugin i am getting an error message "clear case executable is not installed ot not located in your system
environment path".Is the plug in is backward compatible? please Help me to fix this issue.
The ClearCase plugin would only work with a full ClearCase installation on your workstation (where JDeveloper is installed)
But I would be surprised if that plugin would work in a CCRC environment (where you don't have cleartool installed locally)

BizTalk application fails to install: "newer version of the application installed"

I am having issues installing a BizTalk application using the msi-installer generated by BizTalk deployment framework.
When I run the installer, I instantly get an error telling me that there is a newer version of the application installed on the computer.
I have tried to look for the BizTalk application on the computer, but I am pretty sure that it isn't there.
Does anyone have any similar experiences?
What might cause such error?
Someone had copied the Product Upgrade Code in the Deployment file from another solution. I changed it to a new guid, and the application installed fine.

Resources