Error copying static files: decorate: EvalSymlinks: too many links

Hello, I got this error after upgrade (Hugo 0.62) to Hugo 72.

> hugo version
Hugo Static Site Generator v0.72.0-8A7EF3CF linux/amd64 BuildDate: 2020-05-31T12:07:45Z

I can’t run the server and build site:

> hugo server --debug
INFO 2020/06/05 19:20:18 No translation bundle found for default language "en"
INFO 2020/06/05 19:20:18 Translation func for language en not found, use default.
INFO 2020/06/05 19:20:18 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
INFO 2020/06/05 19:20:18 Using config file: 
Building sites … INFO 2020/06/05 19:20:18 syncing static files to /
DEBUG 2020/06/05 19:20:18 creating alias: /project redirecting to http://localhost:1313/works/
DEBUG 2020/06/05 19:20:18 creating alias: /blog/lombok-phonegrapy-3/ redirecting to http://localhost:1313/blog/lombok-phonegraphy-3/
DEBUG 2020/06/05 19:20:18 found menu: "main", in site config
DEBUG 2020/06/05 19:20:18 found menu: "main", in site config
DEBUG 2020/06/05 19:20:18 found menu: "main", in site config
DEBUG 2020/06/05 19:20:18 found menu: "main", in site config
DEBUG 2020/06/05 19:20:18 found menu: "main", in site config
DEBUG 2020/06/05 19:20:18 Render XML for "sitemap" to "/sitemap.xml"
Built in 257 ms
Error: Error copying static files: decorate: EvalSymlinks: too many links

Here my site: https://github.com/ardianta/blog

But, when I tested with another site… It’s worked.

You have a symbolic link inside /static/img that looks like a loop.

Hi @bep thank you for the response.

Sorry, I forget to check the symbolic link inside /static/img. Now it worked after I delete it. :smiley:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.