Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After running netlify-plugin-checklinks, my build freezes and then fails #112

Open
mark-plummer opened this issue May 27, 2020 · 2 comments

Comments

@mark-plummer
Copy link

mark-plummer commented May 27, 2020

After see the build completed message, I see this:

  1. onPostBuild command from netlify-plugin-checklinks

It runs for a while displaying both green dots and red Xs, and then stops but I never get a "Build completed" message in Netlify.

The build finally failed after about 15 minutes with this message:
Build exceeded maximum allowed runtime

A bit of context/background:
Our site is a Jekyll site that we have setup to automatically build in Netlify with a Github webhook when we merge into a particular branch.

I installed the netlify-plugin-checklinks through the Netlify UI, then created a netlify.toml file with these parameters you provided:
[[plugins]]
package = "netlify-plugin-checklinks"

I then saved the netlify.toml file in the root of our site.

Then I merged the netlify.toml file into the branch, which kicked off the build.

@mark-plummer mark-plummer changed the title After running netlify-plugin-checklinks, my build seems to hang/freeze indefinitely After running netlify-plugin-checklinks, my build freezes indefinitely and then fails May 27, 2020
@mark-plummer mark-plummer changed the title After running netlify-plugin-checklinks, my build freezes indefinitely and then fails After running netlify-plugin-checklinks, my build freezes and then fails May 27, 2020
@Munter
Copy link
Owner

Munter commented May 27, 2020

That is indeed not a nice behaviour. Is this a public page I could try to re-run the same check on, and if that is the case, could you share the URL?

@mark-plummer
Copy link
Author

mark-plummer commented May 28, 2020

I'm attaching the log that contains the errors. I'm not sure what all of them mean, but I think there is a combination of issues. Hope it helps. I tried running it a second time, and got the same results.

link_check_failure_log.txt

Honestly, I expect some broken links, because this is an individual branch of a larger site (a documentation site, that has branches that correspond to different software release versions of a product). This particular one is the 6.1 release. I expect that any links to another version would break, but I wasn't expecting as many errors as I see in the attached log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants