Good day,
I have to change the git repo and user PSU is using.
I had PSU 3.0.6 installed and git worked (We are using gitlab). Then changed simply appsettings.json param
GitRemote and GitPassword (which is a project api key)
"Data": {
"RepositoryPath": "%ProgramData%\\UniversalAutomation\\Repository",
"ConnectionString": "filename=%ProgramData%\\UniversalAutomation\\database.db;upgrade=true",
"GitRemote": "https://****/psu/powershell-universal.git",
"GitUserName": "any",
"GitPassword": "****",
"GitBranch": "",
"GitSyncBehavior": "PushOnly",
"ConfigurationScript": ""
}
This failed, so I went under “%ProgramData%\UniversalAutomation\Repository” and deleted
.git folder in the hope PSU will recreate it with the new repo, I didn’t worked.
Updated to the latest version 3.1.0, which has the new git function in the Dashboard.
Removed the settings from the appsettings.json and reconfigured it within the Dashboard with Git Settings. Start sync doesn’t do anything even when the Dashboard is showing the proper settings,
.git folder is still missing.
I believe PSU has the settings somewhere saved within his database which arnt consistent with the new settings, is there a way to clean the whole git settings up?
Product: PowerShell Universal
Version: 3.1.0