lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
657 stars 362 forks source link

Render issues after upgrading to Hugo v0.111.3 #444

Closed pcamelo closed 1 year ago

pcamelo commented 1 year ago

Describe the bug After upgrading to Hugo v0.111.3 I'm no longer able to render pages. I get a 404 Page Not Found error in all pages, except some XML pages.

To Reproduce

  1. Call hugo server -D
  2. Navigate to http://localhost:1313/

Expected behavior Pages to render seamlessly

Desktop:

Additional context I also get the following warnings in the terminal with the --debug flag active:

Start building sites …
hugo v0.111.3+extended darwin/arm64 BuildDate=unknown
INFO 2023/04/14 00:49:53 syncing static files to /
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/04/14 00:49:53 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
DEBUG 2023/04/14 00:49:53 Render XML for "sitemap" to "/sitemap.xml"
DEBUG 2023/04/14 00:49:53 Render page Call Me Pedro to "/index.xml"
DEBUG 2023/04/14 00:49:53 Render page Tags to "/tags/index.xml"
DEBUG 2023/04/14 00:49:53 Render page Categories to "/categories/index.xml"
DEBUG 2023/04/14 00:49:53 Render page AirTag to "/tags/airtag/index.xml"
DEBUG 2023/04/14 00:49:53 Render page CommandLineTools to "/tags/commandlinetools/index.xml"
DEBUG 2023/04/14 00:49:53 Render page DevOps to "/tags/devops/index.xml"
DEBUG 2023/04/14 00:49:53 Render page DIY to "/tags/diy/index.xml"
DEBUG 2023/04/14 00:49:53 Render page 3DPrinting to "/tags/3dprinting/index.xml"
DEBUG 2023/04/14 00:49:53 Render page Posts to "/posts/index.xml"
DEBUG 2023/04/14 00:49:53 Render page FlipperZero to "/tags/flipperzero/index.xml"
DEBUG 2023/04/14 00:49:53 Render page NetworkAnalysis to "/tags/networkanalysis/index.xml"
DEBUG 2023/04/14 00:49:53 Render page NetworkX to "/tags/networkx/index.xml"
DEBUG 2023/04/14 00:49:53 Render page Productivity to "/tags/productivity/index.xml"
DEBUG 2023/04/14 00:49:53 Render page Programming to "/tags/programming/index.xml"
DEBUG 2023/04/14 00:49:53 Render page PLA to "/tags/pla/index.xml"
DEBUG 2023/04/14 00:49:53 Render page Python to "/tags/python/index.xml"
DEBUG 2023/04/14 00:49:53 Render page PyVis to "/tags/pyvis/index.xml"
DEBUG 2023/04/14 00:49:53 Render page Scapy to "/tags/scapy/index.xml"
DEBUG 2023/04/14 00:49:53 Render page Security to "/tags/security/index.xml"
DEBUG 2023/04/14 00:49:53 Render page SoftwareDevelopment to "/tags/softwaredevelopment/index.xml"
DEBUG 2023/04/14 00:49:53 Render page Wallet to "/tags/wallet/index.xml"
DEBUG 2023/04/14 00:49:53 Render page WiFiSecurity to "/tags/wifisecurity/index.xml"

                   | EN
-------------------+-----
  Pages            | 22
  Paginator pages  |  0
  Non-page files   |  0
  Static files     |  6
  Processed images |  0
  Aliases          |  0
  Sitemaps         |  1
  Cleaned          |  0

Built in 21 ms
Watching for changes in (redacted)/{archetypes,assets,content,data,layouts,static}
Watching for config changes in (redacted)/config.toml, (redacted)/go.mod
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
pcamelo commented 1 year ago

I rebooted and now everything works. I don't know why this happened in the first place. I will reopen the ticket if I get this bug again.