diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index 80d9c43a4..4b834f240 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -36,6 +36,13 @@ jobs: set -e cd $GITHUB_WORKSPACE/${{github.repository}}.wiki cp -r $GITHUB_WORKSPACE/${{github.repository}}/docs/* . + + stable="$(git describe --abbrev=0 --tags)" + if ! git -C $GITHUB_WORKSPACE/${{github.repository}} log --exit-code --pretty= "$stable.." -- docs/Configuring-Suwayomi‐Server.md; then + echo "Changes to config detected, embedding link to stable" + sed -i '1s/^/> [!WARNING]\n> This document describes the settings available in the preview version. Please head to ['$stable'](https:\/\/github.com\/Suwayomi\/Suwayomi-Server\/blob\/'$stable'\/docs\/Configuring-Suwayomi%E2%80%90Server.md) for the current stable version\n\n/' Configuring-Suwayomi‐Server.md + fi + git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add . diff --git a/docs/Troubleshooting.md b/docs/Troubleshooting.md index b86dad4e4..70f346f5a 100644 --- a/docs/Troubleshooting.md +++ b/docs/Troubleshooting.md @@ -52,6 +52,29 @@ Solutions: - If the WebView still does not work after a restart, your installation is incomplete. On Linux, refer to [the README](https://github.com/Suwayomi/Suwayomi-Server#webview-support-gnulinux). +## Flaresolverr required + +- `java.io.IOException: Cloudflare bypass currently disabled` + +The source you are using has enabled CloudFlare's bot protection. +If you open the source's website in your browser, you should see the "Confirm I'm human" page. + +Solution: +- Download and set up [Flaresolverr](https://github.com/FlareSolverr/FlareSolverr) or [Byparr](https://github.com/ThePhaseless/Byparr). Make sure to run Flaresolverr/Byparr every time you use this source. + + +## Flaresolverr not running + +- `java.io.IOException: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:8191` + +You have configured Flaresolverr by enabling the `server.flareSolverrEnabled` setting, but Flaresolverr is not installed and/or running. + +Solutions: +- Install Flaresolverr if you haven't already (see previous section). Then ensure it is running (Windows: do not close the console window!). +- If it is running, ensure the configured url in `server.flareSolverrUrl` is correct. There is usually no need to change this. +- If it is running and the url is correct, check your firewall settings, your system may be blocking access to Flaresolverr. + + ## General Troubleshooting This guide will try to fix Suwayomi by reseting it to a clean installation state.