-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chocolatey GUI does not start if the config folder is missing from C:\ProgramData\Chocolatey GUI
#996
Closed
4 tasks done
Labels
5 - Released
The issue has been resolved, and released to the public for consumption
Bug
Issues where something has happened which was not expected or intended
Milestone
Comments
corbob
added a commit
to corbob/ChocolateyGUI
that referenced
this issue
Apr 22, 2024
If the directory for a LiteDatabase doesn't exist, LiteDatabase will not attempt to create it, and will throw an exception because it can't create the file without the parent directory. This ensures that the folder exists before trying to create the database.
10 tasks
corbob
added a commit
to corbob/ChocolateyGUI
that referenced
this issue
Apr 24, 2024
If the directory for a LiteDatabase doesn't exist, LiteDatabase will not attempt to create it, and will throw an exception because it can't create the file without the parent directory. This ensures that the folder exists before trying to create the database.
gep13
added a commit
that referenced
this issue
Apr 26, 2024
(#996) Create config directory if it doesn't exist
corbob
added a commit
that referenced
this issue
Apr 29, 2024
* hotfix/2.1.1: (build) Switch to a PowerShell step (maint) synced local '.templates/' with remote '.github/GitReleaseManager/.templates/' (build) Bump Recipe package to latest version (maint) Remove unnecessary whitespace (#996) Create config directory if it doesn't exist (maint) Remove unused pragmas (#967) Parse Info for Error, Warn, and Fatal
C:\ProgramData\Chocolatey GUI
C:\ProgramData\Chocolatey GUI
C:\ProgramData\Chocolatey GUI
🎉 This issue has been resolved in version 2.1.1 🎉 The release is available on: Your GitReleaseManager bot 📦 🚀 |
corbob
added a commit
that referenced
this issue
Apr 29, 2024
* master: (build) Switch to a PowerShell step (maint) synced local '.templates/' with remote '.github/GitReleaseManager/.templates/' (build) Bump Recipe package to latest version (maint) Remove unnecessary whitespace (#996) Create config directory if it doesn't exist (maint) Remove unused pragmas (#967) Parse Info for Error, Warn, and Fatal (maint) Remove mention of services no longer used (tests) Update Pester tests to be consistent (tests) Move the Pester tests to be consistent (maint) synced local '.templates/' with remote '.github/GitReleaseManager/.templates/' (maint) Update GRM configuration
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
5 - Released
The issue has been resolved, and released to the public for consumption
Bug
Issues where something has happened which was not expected or intended
Checklist
What You Are Seeing?
While troubleshooting another issue, we noticed that after deleting the Config folder from
C:\ProgramData\Chocolatey GUI
and thedata.db
file fromC:\Users\<USER>\AppData\Local\Chocolatey GUI
that thedata.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?
C:\ProgramData\Chocolatey GUI
and thedata.db
file fromC:\Users\<USER>\AppData\Local\Chocolatey GUI
.data.db
file being recreated in the User directory, and noticed that the Config folder was not recreated in the ProgramData directory.System Details
Installed Packages
Output Log
Additional Context
Found while troubleshooting for chocolatey/chocolatey-licensed-issues#395
The text was updated successfully, but these errors were encountered: