Skip to content

Chocolatey GUI does not start if the config folder is missing from C:\ProgramData\Chocolatey GUI #996

Closed
@imm0rtalsupp0rt

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?

  1. Deleted the Config folder from C:\ProgramData\Chocolatey GUI and the data.db file from C:\Users\<USER>\AppData\Local\Chocolatey GUI.
  2. Tried to launch Chocolatey GUI from the Start menu and from the CLI and it would not start.
  3. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

5 - ReleasedThe issue has been resolved, and released to the public for consumptionBugIssues where something has happened which was not expected or intended

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions