Hugo 0.155 not showing new posts

Hi, today I was trying to publish a new post (it’s been a while since my last post) but Hugo was not showing it.

My Hugo version is hugo v0.155.2+extended+withdeploy darwin/arm64 BuildDate=2026-02-02T10:04:51Z VendorInfo=Homebrew

The new post is :

---
title: "Mounting Longhorn PersistenVolumeClaim on non-root containers"
author: Marco
draft: false
date: 2026-02-07T00:00:00+00:00
publishDate: 2026-02-07T00:00:00+00:00
categories:
  - Guides
tags:
  - longhorn
  - kubernetes
  - docker
---
Just a test

But running hugo server -D -F --logLevel debug doesn’t make the post to show up.

I am using the theme hugo-theme-stack and I’m posting in two languages: italian and english; thus I have a contentDir: content/italian and contentDir: content/english.

The post is inside /Users/marco/Documents/mlazzarotto.it/content/english/posts/longhorn-with-non-root-container.md where mlazzarotto.it is the hugo folder.

When using the debug logs, I get this output:

> ~/D/mlazzarotto.it on master ⨯ hugo server -D -F --logLevel debug                                                                                                                   10:39:09
INFO  Translation func for language en not found, use default.
Watching for changes in /Users/marco/Documents/mlazzarotto.it/archetypes, /Users/marco/Documents/mlazzarotto.it/content/english/posts, /Users/marco/Documents/mlazzarotto.it/content/italian/posts, /Users/marco/Documents/mlazzarotto.it/layouts/partials, /Users/marco/Documents/mlazzarotto.it/static/img
Watching for config changes in /Users/marco/Documents/mlazzarotto.it/config.yml
Start building sites …
hugo v0.155.2+extended+withdeploy darwin/arm64 BuildDate=2026-02-02T10:04:51Z VendorInfo=Homebrew

INFO  build:  step process substep collect files 28 files_total 28 pagesources_total 28 resourcesources_total 0 duration 281.917µs
INFO  build:  step process duration 302.917µs
DEBUG Set expanded permalink path for page posts/boosting-seafile-security-hidigin-login fields-when-using-sso.md to "/boosting-seafile-security-hiding-login-fields-when-using-sso"
DEBUG Set expanded permalink path for page posts/demo-nextcloud-hub.md to "/nextcloud-hub-demo-how-to-try-it"
DEBUG Set expanded permalink path for page posts/how-to-bind-logstash-on-port-514-on-centos-8.md to "/centos-8-how-to-bind-logstash-on-port-514"
DEBUG Set expanded permalink path for page posts/hugo-static-site-generator.md to "/hugo-static-site-generator"
DEBUG Set expanded permalink path for page posts/installation-zabbix-agent-homeassistant.md to "/installation-of-zabbix-agent-in-home-assistant-os"
DEBUG Set expanded permalink path for page posts/longhorn-with-non-root-container.md to "/mounting-longhorn-persistenvolumeclaim-on-non-root-containers"
DEBUG Set expanded permalink path for page posts/navidrome-traefik-authentik.md to "/boosting-navidrome-security-sso-auth-with-traefik-and-authentik"
DEBUG Set expanded permalink path for page posts/traefik-config-seafile-12.md to "/exposing-seafile-12-behind-traefik-the-complete-configuration-guide"
DEBUG Set expanded permalink path for page posts/boosting-seafile-security-hidigin-login fields-when-using-sso.md to "/aumentare-la-sicurezza-di-seafile-nascondere-i-campi-di-accesso-quando-si-usa-sso"
DEBUG Set expanded permalink path for page posts/come-eliminare-password-da-repo-github.md to "/come-eliminare-password-e-altro-da-un-repo-su-github"
DEBUG Set expanded permalink path for page posts/come-generare-le-anteprime-su-nextcloud.md to "/generazione-anteprime-automatica-su-nextcloud-con-preview-generator"
DEBUG Set expanded permalink path for page posts/come-installare-lampp-su-ubuntu-16.md to "/come-installare-lamp-su-ubuntu-16"
DEBUG Set expanded permalink path for page posts/cose-nextcloud-il-cloud-personale-e-open-source.md to "/cosè-nextcloud-il-cloud-personale-e-open-source"
DEBUG Set expanded permalink path for page posts/demo-nextcloud-hub.md to "/demo-di-nextcloud-hub-come-provarlo"
DEBUG Set expanded permalink path for page posts/how-to-bind-logstash-on-port-514-on-centos-8.md to "/centos-8-bind-di-logstash-su-porta-514"
DEBUG Set expanded permalink path for page posts/hugo-static-site-generator.md to "/hugo-generatore-di-siti-statici"
DEBUG Set expanded permalink path for page posts/installare-nextcloud-20-su-ubuntu.md to "/installare-nextcloud-20-su-ubuntu-il-metodo-lungo"
DEBUG Set expanded permalink path for page posts/installare-transmission-ubuntu-16.md to "/come-installare-transmission-su-ubuntu-16"
DEBUG Set expanded permalink path for page posts/installation-zabbix-agent-homeassistant.md to "/installazione-di-zabbix-agent-in-home-assistant-os"
DEBUG Set expanded permalink path for page posts/navidrome-traefik-authentik.md to "/aumentare-la-sicurezza-di-navidrome-autenticazione-sso-con-traefik-e-authentik"
DEBUG Set expanded permalink path for page posts/nextcloud-security-scan.md to "/nextcloud-security-scan"
DEBUG Set expanded permalink path for page posts/traefik-config-seafile-12.md to "/esporre-seafile-12-dietro-traefik-la-guida-completa-alla-configurazione"
INFO  build:  step assemble duration 2.63525ms
WARN  found no layout file for "html" for layout "archives" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  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  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  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  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  found no layout file for "html" for layout "search" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
INFO  static: syncing static files to / duration 3.233542ms
INFO  build:  step render substep pages site en outputFormat html duration 2.241458ms
WARN  found no layout file for "json" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
INFO  build:  step render substep pages site en outputFormat json duration 36.833µs
INFO  build:  step render substep pages site en outputFormat rss duration 3.763459ms
INFO  build:  step render substep pages site it outputFormat html duration 938.625µs
INFO  build:  step render substep pages site it outputFormat json duration 24.25µs
WARN  Raw HTML omitted while rendering "/Users/marco/Documents/mlazzarotto.it/content/italian/posts/come-generare-le-anteprime-su-nextcloud.md"; see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe
You can suppress this warning by adding the following to your site configuration:
ignoreLogs = ['warning-goldmark-raw-html']
WARN  Raw HTML omitted while rendering "/Users/marco/Documents/mlazzarotto.it/content/italian/posts/installare-transmission-ubuntu-16.md"; see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe
You can suppress this warning by adding the following to your site configuration:
ignoreLogs = ['warning-goldmark-raw-html']
INFO  build:  step render substep pages site it outputFormat rss duration 6.324833ms
INFO  build:  step render pages 61 content 78 duration 13.671834ms
INFO  build:  step render deferred count 0 duration 333ns
INFO  build:  step postProcess duration 1.5µs
INFO  build:  duration 16.697292ms

                  │ EN │ IT
──────────────────┼────┼────
 Pages            │ 28 │ 33
 Paginator pages  │  0 │  0
 Non-page files   │  0 │  0
 Static files     │ 21 │ 21
 Processed images │  0 │  0
 Aliases          │  0 │  0
 Cleaned          │  0 │  0

Built in 17 ms
Environment: "development"
Serving pages from disk
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

Browsing either one of

http://localhost:1313/en/mounting-longhorn-persistenvolumeclaim-on-non-root-containers

http://localhost:1313/mounting-longhorn-persistenvolumeclaim-on-non-root-containers gives me a 404 error.

I have my site on Github, but it’s a private repo.

Uhm, I have really no idea why, but I put my laptop in standby, took a nap, sat back at the computer after a couple of hours, deleted and repulled my git repo and the new post was right there. Literally, I did not change anything and I now that because I was periodically checking with git status.

Perhaps your system date was off and the publishing date was still considered to be in the future?

looks like you lost your theme if used as a submodule… cause no layouts could be found.

Yeah, go figure why… :smiley: