Open Closed

Volo.Docs with Mongo error: The given key GitHubRootUrl was not present #2766


User avatar
0
simix.markus created

We follow the documentation to integrate Docs module. In sql it seems ok, but with mongo we get the error.

  • ABP Framework version: v5.1.4
  • UI type: MVC
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:

  • Steps to reproduce the issue:" Run the project in zip, login, and got to /Documents

Sample project:

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will check this.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    This is right JSON of mongodb.

    [
      {
        "_id": {"$binary": {"base64": "SFPE7JswPI6PCzoCvemr2w==", "subType": "03"}},
        "ConcurrencyStamp": "a412abf04f4049cc8125bec75ced62b2",
        "DefaultDocumentName": "Index",
        "DocumentStoreType": "GitHub",
        "Format": "md",
        "GitHubAccessToken": "ghp_xxx",
        "GitHubRootUrl": "https://github.com/simixsistemas/SuperMidia.Cloud.Docs/tree/main/",
        "GitHubUserAgent": null,
        "LatestVersionBranchName": null,
        "MainWebsiteUrl": null,
        "MinimumVersion": null,
        "Name": "Simix SuperMidia (GitHub)",
        "NavigationDocumentName": "docs-nav.json",
        "ParametersDocumentName": "docs-params.json",
        "ShortName": "cloud",
        "VersionBranchPrefix": null
      }
    ]
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    simix.markus created

    Hi, thanks! Everthing is working now, besides your template we need add the values to MainWebsiteUrl e VersionBranchPrefix to make it work. We have open a PR for the documentation. https://github.com/abpframework/abp/pull/12114

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on October 05, 2026, 11:32
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.