1
0
Fork 0
mirror of https://github.com/requarks/wiki.git synced 2026-03-02 22:06:55 -05:00

Navigation menu breaks when new pages are imported from Git #2062

Closed
opened 2026-02-20 18:27:30 -05:00 by deekerman · 1 comment
Owner

Originally created by @eeriksp on GitHub (Sep 21, 2020).

Originally assigned to: @NGPixel on GitHub.

Describe the bug
After importing some .md files from Git, no pages are shown in the navigation drawer and the loading circle in the top right corner will be looping endlessly. On the console there is the message Could not find current page in page tree listing!.

To Reproduce
Steps to reproduce the behavior:

  1. Set up Git integration
  2. Go to Administration area > Storage > GIt and click "Force Sync" and then "Import Everything"
  3. Go to the home page and look at the navigation menu which might not be showing properly

However, this does not always produce a bug. Usually it worked just fine. In the folder which produced the problem, there was one file without the the .md extension, perhaps this causes the problem.

Screenshots
image

Host Info (please complete the following information):

  • OS: Ubuntu 20
  • Wiki.js version: 2.5.144
  • Database engine: sqlite

Additional context

I have tried to fix the error by going to the Administration area > Utilities and executing

  1. Content > Rebuild Page Tree
  2. Content > Rerender All Pages
Originally created by @eeriksp on GitHub (Sep 21, 2020). Originally assigned to: @NGPixel on GitHub. **Describe the bug** After importing some `.md` files from Git, no pages are shown in the navigation drawer and the loading circle in the top right corner will be looping endlessly. On the console there is the message `Could not find current page in page tree listing!`. **To Reproduce** Steps to reproduce the behavior: 1. Set up Git integration 2. Go to Administration area > Storage > GIt and click "Force Sync" and then "Import Everything" 3. Go to the home page and look at the navigation menu which might not be showing properly However, this does not always produce a bug. Usually it worked just fine. In the folder which produced the problem, there was one file without the the `.md` extension, perhaps this causes the problem. **Screenshots** ![image](https://user-images.githubusercontent.com/35540617/93735652-57a98a00-fbe6-11ea-860d-b9773989321e.png) **Host Info (please complete the following information):** - OS: Ubuntu 20 - Wiki.js version: 2.5.144 - Database engine: sqlite **Additional context** I have tried to fix the error by going to the Administration area > Utilities and executing 1. Content > Rebuild Page Tree 2. Content > Rerender All Pages
deekerman 2026-02-20 18:27:30 -05:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@pchinery commented on GitHub (Oct 14, 2020):

This is the same bug as in #1503 and can be hot-fixed as mentioned in #2553 (I had the same issue and have just verified this with my instance)

@pchinery commented on GitHub (Oct 14, 2020): This is the same bug as in #1503 and can be hot-fixed as mentioned in #2553 (I had the same issue and have just verified this with my instance)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wiki-requarks#2062
No description provided.