Closed gene1wood closed 2 years ago
Awesome, thanks for the copy pasta commands! š
Search looks like it's giving less results now. Let me know if you think it's fixed now? š
I think it's fixed now. Anyway thanks again for the help and taking the time to create the detailed issue šÆ
@qdm12 No problem, thank you for making this great docker container. Least I can do.
@qdm12 Hmm it looks like it didn't work.
Doing a search for all wiki pages returns 110 pages but there are only 65 actual pages in the wiki.
Also, that search still shows ones like Commands
.
Could you try creating empty pages for all of those ghost wiki pages, pushing it up to the wiki, letting it sit for a day for GitHub to notice and index the new empty pages, then as a second step, commit a deletion?
I did a complete listing of every wiki page in the search cache and did a set comparison with the contents of the wiki. There are 33 pages (total) present in the cache that are missing from the wiki.
Would you do these two steps on two different days from a fresh clone of the wiki?
git clone git@github.com:qdm12/gluetun.wiki.git
cd gluetun.wiki
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "32 bit setup.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Advanced.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Commands.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Connect to gluetun.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Cyberghost Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "DNS over TLS.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Docker image.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Fastestvpn Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Guidelines.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "HideMyAss Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Mullvad IPv6.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Mullvad Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Openvpn file.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Openvpn.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Ping timeout.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Portainer iptables error.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Privado Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Private Internet Access Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Privatevpn Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Protonvpn Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Purevpn Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Servers Readme.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Setup.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Surfshark Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Synology setup.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Synology.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Testing the setup.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Testing.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Torguard Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Updating Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Updating.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Vyprvpn Servers.md"
echo "Disregard this wiki page. It will only be here temporarily while we clear out garbage from GitHub's search cache" > "Windscribe Servers.md"
git commit -m "Adding temp wiki pages to work around GitHub bug https://github.com/orgs/community/discussions/22085#discussioncomment-3235485"
git push
cd gluetun.wiki
git pull
rm -f "32 bit setup.md"
rm -f "Advanced.md"
rm -f "Commands.md"
rm -f "Connect to gluetun.md"
rm -f "Cyberghost Servers.md"
rm -f "DNS over TLS.md"
rm -f "Docker image.md"
rm -f "Fastestvpn Servers.md"
rm -f "Guidelines.md"
rm -f "HideMyAss Servers.md"
rm -f "Mullvad IPv6.md"
rm -f "Mullvad Servers.md"
rm -f "Openvpn file.md"
rm -f "Openvpn.md"
rm -f "Ping timeout.md"
rm -f "Portainer iptables error.md"
rm -f "Privado Servers.md"
rm -f "Private Internet Access Servers.md"
rm -f "Privatevpn Servers.md"
rm -f "Protonvpn Servers.md"
rm -f "Purevpn Servers.md"
rm -f "Servers Readme.md"
rm -f "Setup.md"
rm -f "Surfshark Servers.md"
rm -f "Synology setup.md"
rm -f "Synology.md"
rm -f "Testing the setup.md"
rm -f "Testing.md"
rm -f "Torguard Servers.md"
rm -f "Updating Servers.md"
rm -f "Updating.md"
rm -f "Vyprvpn Servers.md"
rm -f "Windscribe Servers.md"
git commit -m "Removing temp wiki pages to work around GitHub bug https://github.com/orgs/community/discussions/22085#discussioncomment-3235485"
git push
I pushed the 'day 1' files yesterday, do you see any improvement? I got 144 results š¤
@qdm12 Yes, I also see 144. But importantly, I see the new updated pages in the index. Would you go ahead and execute the Day 2 steps to see if that clears all those pages from the index? (what a pain)
Done, let's see what happens like tomorrow. Really disappointing Github š¢ I guess I should work on #579 sooner rather than later.
Maddening. Looks like the search index has reverted to the contents from before the temp files (I can't even imagine how this is possible).
Ok, I guess we just give up?
š Yeah... Well let me try to nuke it and restore it see if this helps.
Ok so I tried force pushing all the commits in a single squashed commit. Let's wait tomorrow, if it doesn't work, yeah give up and move away from this (sadly) terrible wiki system.
Yeah it doesn't work still, I have restored the git history and dropped the commits trying to fix it š¢ I'll try to move to another wiki system soon. Let's close this for now.
URL to the Wiki page
Many URLs
What's the issue?
It looks like there was a bug in GitHub's wiki system a while back that caused wiki page deletions to not remove the page from the search index. As a result, when you search the gluetun wiki, there are many pages that are returned which don't exist.
You can see many of them using this search
https://github.com/qdm12/gluetun/search?o=asc&q=the&s=updated&type=wikis
This post says that the fix for the bug for these old deleted wiki pages is to recreate the page and then delete it again.
https://github.com/orgs/community/discussions/22085#discussioncomment-3235485
Below is the list of wiki pages that I found in search but which don't exist.
Likely the easiest way to do this is not through the web UI but directly with the GitHub git repo that backs the wiki.
The steps would be something like this
Here's the list of pages that show up in search but which don't exist
https://github.com/qdm12/gluetun/wiki/32-bit-setup https://github.com/qdm12/gluetun/wiki/Advanced https://github.com/qdm12/gluetun/wiki/Commands https://github.com/qdm12/gluetun/wiki/Connect-to-gluetun https://github.com/qdm12/gluetun/wiki/Cyberghost-Servers https://github.com/qdm12/gluetun/wiki/DNS-over-TLS https://github.com/qdm12/gluetun/wiki/Docker-image https://github.com/qdm12/gluetun/wiki/External-firewall-requirements https://github.com/qdm12/gluetun/wiki/Fastestvpn-Servers https://github.com/qdm12/gluetun/wiki/Guidelines https://github.com/qdm12/gluetun/wiki/HideMyAss-Servers https://github.com/qdm12/gluetun/wiki/Mullvad-IPv6 https://github.com/qdm12/gluetun/wiki/Niche-features https://github.com/qdm12/gluetun/wiki/Openvpn https://github.com/qdm12/gluetun/wiki/Openvpn-file https://github.com/qdm12/gluetun/wiki/Ping-timeout https://github.com/qdm12/gluetun/wiki/Portainer-iptables-error https://github.com/qdm12/gluetun/wiki/Privado-Servers https://github.com/qdm12/gluetun/wiki/Private-Internet-Access-Servers https://github.com/qdm12/gluetun/wiki/Privatevpn-Servers https://github.com/qdm12/gluetun/wiki/Purevpn-Servers https://github.com/qdm12/gluetun/wiki/Servers-Readme https://github.com/qdm12/gluetun/wiki/Setup https://github.com/qdm12/gluetun/wiki/Surfshark-Servers https://github.com/qdm12/gluetun/wiki/Synology https://github.com/qdm12/gluetun/wiki/Synology-setup https://github.com/qdm12/gluetun/wiki/Testing https://github.com/qdm12/gluetun/wiki/Testing-the-setup https://github.com/qdm12/gluetun/wiki/Torguard-Servers https://github.com/qdm12/gluetun/wiki/Uncommon-issues https://github.com/qdm12/gluetun/wiki/Update-servers-information https://github.com/qdm12/gluetun/wiki/Updating https://github.com/qdm12/gluetun/wiki/Vyprvpn-Servers