Chocolatey GUI does not start if the config folder is missing from C:\ProgramData\Chocolatey GUI
#996
Closed
Description
Checklist
- I have verified this is the correct repository for opening this issue.
- I have verified no other issues exist related to my problem.
- I have verified this is not an issue for a specific package.
- I have verified this issue is not security related.
What You Are Seeing?
While troubleshooting another issue, we noticed that after deleting the Config folder from C:\ProgramData\Chocolatey GUI
and the data.db
file from C:\Users\<USER>\AppData\Local\Chocolatey GUI
that the data.db
file was recreated in the Users directory, but the Config folder was not recreated in the ProgramData directory upon trying to start Chocolatey GUI.
Without the Config folder present, Chocolatey GUI will not start.
What is Expected?
If the Config folder is not present, Chocolatey GUI should recreate it upon startup.
How Did You Get This To Happen?
- Deleted the Config folder from
C:\ProgramData\Chocolatey GUI
and thedata.db
file fromC:\Users\<USER>\AppData\Local\Chocolatey GUI
. - Tried to launch Chocolatey GUI from the Start menu and from the CLI and it would not start.
- Witnessed the
data.db
file being recreated in the User directory, and noticed that the Config folder was not recreated in the ProgramData directory.
System Details
- Operating System: Windows Server 2019
- Windows PowerShell version: 5
- Chocolatey CLI Version: 1.3.1
- Chocolatey Licensed Extension version: 5.0.2
- Chocolatey License type: Business
Installed Packages
Chocolatey GUI 1.1.2
Chocolatey GUI Extension 1.0.2
Output Log
N/A
Additional Context
Found while troubleshooting for chocolatey/chocolatey-licensed-issues#395
Activity