Skip to content
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

Failed to load settings from DB on fresh install #292

Closed
philosowaffle opened this issue Aug 11, 2022 · 0 comments · Fixed by #293
Closed

Failed to load settings from DB on fresh install #292

philosowaffle opened this issue Aug 11, 2022 · 0 comments · Fixed by #293
Labels
bug Web UI issues/features impacting the Web application
Milestone

Comments

@philosowaffle
Copy link
Owner

Describe the bug
On a fresh install of the Web UI version of P2G, if now SettingsDb.json file previously existed one is created, but a bunch of debugs are also generated.

To Reproduce
Steps to reproduce the behavior:

  1. Run a fresh install of Api and WebUI v3.0.1
  2. Check out the log file

Expected behavior
No error messages in log, P2G should handle this scenario gracefully.

Logs

[12:37:45 ERR] Failed to get settings from db
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at JsonFlatFileDataStore.DataStore.GetItem[T](String key)
   at Common.Database.SettingsDb.GetSettingsAsync() in /build/src/Common/Database/SettingsDb.cs:line 38

Installation (please complete the following information):

  • Method: docker
  • Version: stable / v3.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Web UI issues/features impacting the Web application
Projects
None yet
1 participant