Error while fetching page. Duplicate entry detected. Reload the page to try again. #3709
Replies: 17 comments 11 replies
-
Any follow up on this @athenawisdoms ? I'm seeing the same thing |
Beta Was this translation helpful? Give feedback.
-
yes, I have the same problem, so it is affeted so that i can't use it! Error while fetching page. Duplicate entry detected. Reload the page to try again. |
Beta Was this translation helpful? Give feedback.
-
can you guys confirm the version Wiki.js 2.2.50 with fresh database is still happening? |
Beta Was this translation helpful? Give feedback.
-
I am running into the same issue |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I am still experiencing the same issue. It's completely unusable for me. @austin1howard Looks like it is not just me encountering this strange bug. |
Beta Was this translation helpful? Give feedback.
-
Same, I ran into this as well. Cannot seem to delete the page, but if I try to edit it, it actually still pulls up the saved edits. Note: I did not use the provided docker-compose.yml (installed locally in Linux with Postgres). |
Beta Was this translation helpful? Give feedback.
-
Ran into the same issue today, using docker compose. i do see that the transaction made it to postgres so i'm not sure what is it the client is complaining about, all i can tell is that the backend nodejs server responds with a 500. |
Beta Was this translation helpful? Give feedback.
-
Dear all, I've found the "Error while fetching page. Duplicate entry detected. Reload the page to try again." in the source code. You are seeing this error because the page is found in the database, but missing a html rendered version. One of the reason can simply because your page contains invalid HTML, which caused the renderer to crash. Watch the server logs to see if there is any render jobs failing when you save a page. example output of a PM2 deployment (make sure you set
in case you got the same render error as above, debug and inspect https:/Requarks/wiki/blob/70d4c069f8eb03eaaa67fd054f3470179a101356/server/jobs/render-page.js#L92 The above error can be reproduced by creating a file, and inserting an invalid html snippet:
|
Beta Was this translation helpful? Give feedback.
-
To add to this, it occurs for me both times I've attempted to create a new page. I'm running the latest wiki.js release as of today (2.5.201) on Debian with PG 13 and node 14.16.1. It's a brand new install, directly on the VM, but with the database (and therefore the content) restored from a working wiki.js on Windows deployment. All the existing pages seemed to work before I started digging further. The service is configured to run as a dedicated user wikijs, but the error also occurs if I run node as root. I've also tried:
I am beginning to suspect a plugin or something specific to the pages which fail. In my case I know I was using MultiMarkdown tables, so those and tabs are my first suspects. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue and solved it by using an alphanumeric password for PostreSQL. |
Beta Was this translation helpful? Give feedback.
-
Created with a fresh database 2021-08-01T18:18:16.165Z [JOB] error: Rendering page ID 1: [ FAILED ] Query with graphql shows the page i think it have todo with permission to write the cached folder, will logging IO on linux server next |
Beta Was this translation helpful? Give feedback.
-
I ran into the same issue. According to @DavidRawling, I removed the HTML comments, and the page rendered perfectly. It seemed to be an error even when the comments had data. |
Beta Was this translation helpful? Give feedback.
-
Same issue here, trying to create an almost empty first page in markdown editor:
|
Beta Was this translation helpful? Give feedback.
-
I noticed this warning:
So I mounted a local folder to I suspect that the rendering writes temporary files to
|
Beta Was this translation helpful? Give feedback.
-
I have the same problem after moving assets into new folders and then replacing the old path with the new one in the I wrote a Python script to do this. |
Beta Was this translation helpful? Give feedback.
-
Seeing the same issue: Server logs:
while trying to delete 'Home" page (the only page that is there), I'm getting:
|
Beta Was this translation helpful? Give feedback.
-
Hi. I have no problem accessing postgres DB container (172.18.0.2:5432 in the below log) from the wiki Docker container. Wiki configuration updated via the web UI is successfully saved in the DB. I disabled the comments in the wiki settings. When I tried to create the first page using Markdown, I received "Error when running job render-page: connect ECONNREFUSED 172.18.0.2:5432" in the web UI, however, the page was saved successfully:
The wiki container log showed this despite successfully saving the first page:
Checking config.yml also confirmed that 172.18.0.2 is indeed the IP of the DB container to which I refer via the hostname which I used to create it. When I tried to access the created page, I received this error:
Thus, there is no problem with accessing the postgres DB, nor with saving pages, but I can't render them. I'm not sure what to do. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
After installing Wiki.js using the provided docker-compose.yml, logging in and creating the first Home post, we are faced with the page that says
To Reproduce
Steps to reproduce the behavior:
docker-compose.yml
file using the contents provided here.docker-compose up -d
Modal is automatically closed
Expected behavior
On clicking the Create button in Step 8 above, it should show us the created page (I think, have not used Wiki.js before).
Screenshots
See above
Host Info (please complete the following information):
Additional context
Rebuild the docker 5X, encountered the same error.
docker-compose.yml
Obtained from official docs.
Beta Was this translation helpful? Give feedback.
All reactions