Enabling versioned settings fails with github

Hi,

Our teamcity was configured to store settings in a git repository on github. Around 3 months ago it stopped making commits to that repository when the settings were changed, I'm not sure why. I am trying to start synchronizing settings in git again, but when I go to 'root project' > Versioned settings > Enabled > Apply > Overwrite settings in git with current settings, I wait for about a minute then an error message appears: 'c.onUnexpectedError is not a function', see screenshot [1]

I haven't found any similar issues yet in the forum. I checked the VCS root that's being used and it has the correct credentials. I can't see any useful error messages in logs. I _can_ see an entry is created in the 'long requests' folder, I have attached the full output from that [2], but the relevant snippet might be this

"TC: 15:47:56 POST '/admin/versionedSettings.html?synchronizationMode=enabled&-ufd-teamcity-ui-settingsVcsRootId=teamcity-config&settingsVcsRootId=TeamcityConfig&buildSettingsMode=ALWAYS_USE_CURRENT&_showSettingsChanges=&useCredentialsStorage=true&_useCredentialsStorage=&-ufd-teamcity-ui-settingsFormat=xml&settingsFormat=xml&useRelativeIds=true&_useRelativeIds=&tc-csrf-token=54a02406-1743-489d-bb58-57fee1468391&projectId=_Root&confirmation=override', from client 90.251.253.38 (172.17.0.3:49944), authenticated as 'martin@patientsknowbest.com' (Martin Ashby) {id=29}; http-nio-8111-exec-19963" daemon group="main" prio=5 tid=30735855 nid=30735855 waiting 
   java.lang.Thread.State: TIMED_WAITING
    at java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
    at java.base@11.0.9/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
    at java.base@11.0.9/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1079)
    at java.base@11.0.9/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1369)
    at java.base@11.0.9/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:278)
    at jetbrains.buildServer.serverSide.impl.persisting.BasePersistTask.await(BasePersistTask.java:64)
    at jetbrains.buildServer.serverSide.impl.projects.ProjectsWatcher.executeTask(ProjectsWatcher.java:48)
    at jetbrains.buildServer.controllers.project.VersionedSettingsController.deleteOldProjectDirs(VersionedSettingsController.java:165)
    at jetbrains.buildServer.controllers.project.VersionedSettingsController.regenerateProjectSettings(VersionedSettingsController.java:403)
    at jetbrains.buildServer.controllers.project.VersionedSettingsController.doPost(VersionedSettingsController.java:193)

[1] Upload id: 2021_07_27_Pja9dwhztL8TEsNm (file: 2021-07-27_19-16.png)

[2] Upload id: 2021_07_27_BWdUKdpwVCpfBsGv (file: 2021-07-27_15.48.56-longRequest-22.txt)

 

Any help appreciated, having our settings in version control is pretty important to roll back bad changes!

Please sign in to leave a comment.