Re: [go-cd] Log in Issues

2023-08-08 Thread Chad Wilson
I didn't say to delete the config file (I explained why that might not work) - I said to *edit* the config file and remove the ... block from the XML content. -Chad On Tue, Aug 8, 2023 at 5:37 PM Alex Murphy wrote: > I tried the way you told me, but nothing changed. I followed the above >

Re: [go-cd] Log in Issues

2023-08-08 Thread Alex Murphy
I tried the way you told me, but nothing changed. I followed the above steps: 1. stop the GoCD server service 2. delete the config file 3. start the server service And then the config file was shown again and the content is same as the file was deleted. 在2023年8月8日星期二 UTC+8 11:11:21 写道: >

Re: [go-cd] Log in Issues

2023-08-07 Thread Chad Wilson
Forgot to add that if the server seems to be restoring the "old" content, make sure that the service is not running at the time you manually edit the config on disk. The server may cache, flush and overwrite config for various reasons so best to avoid this by ensuring it isn't running or

Re: [go-cd] Log in Issues

2023-08-07 Thread Chad Wilson
I can't recall exactly how it works, but perhaps if the config file is *completely removed* like you say you did below, GoCD does some magic to restore the latest known version from the history git repo (that I referred to below) rather than starting from scratch. The most reliable way is to look

Re: [go-cd] Log in Issues

2023-08-07 Thread Alex Murphy
Hi Chad, Yeah, I forgot to tell you the GoCD server is a Windows version, and I located the file, but I tried to delete the content or this file, then I restarted the GoCD Server Service, and the file will recover from before. How can I change the login type to default that login without any

Re: [go-cd] Log in Issues

2023-08-07 Thread Chad Wilson
The server configuration that controls this is plain XML, and has source controlled history using git itself so you can use standard git tools (git log, git show etc) to find the config revision as it was before your change and revert the security/login settings back to what they were before.

[go-cd] Log in Issues

2023-08-07 Thread Alex Murphy
Hi guys, I encountered a problem on login surface, the reason is I made a mistake in the server config, I set the wrong LDAP and clicked save, and now I cannot log in when I input any accounts and passwords. And I tried to reinstall the GoCD Server and it was not work. Can anyone give me some