[PostGIS] #6116: postgis hugo publish job is failing
PostGIS
trac at osgeo.org
Mon Aug 17 10:22:43 PDT 2026
#6116: postgis hugo publish job is failing
----------------------+--------------------------------------
Reporter: robe | Owner: robe
Type: defect | Status: closed
Priority: medium | Milestone: Website Management, Bots
Component: website | Version: master
Resolution: fixed | Keywords:
----------------------+--------------------------------------
Changes (by robe):
* resolution: => fixed
* status: new => closed
Old description:
> I noticed this error and not sure why we have a pre-publish job before
> our update
>
> {{{
> hugo v0.97.3-078053a43d746a26aa3d48cf1ec7122ae78a9bb4 linux/amd64
> BuildDate=2022-04-18T17:22:19Z VendorInfo=gohugoio
> ERROR 2026/08/17 17:10:09 render of "page" failed: execute of template
> failed: template: _default/single.html:20:7: executing
> "_default/single.html" at <partial "head/others" .>: error calling
> partial:
> "/var/www/postgis_website/layouts/partials/head/others.html:2:31":
> execute of template failed: template: partials/head/others.html:2:31:
> executing "partials/head/others.html" at <hugo>: can't evaluate field
> Data in type interface {}
> ERROR 2026/08/17 17:10:09 render of "page" failed: execute of template
> failed: template: _default/single.html:20:7: executing
> "_default/single.html" at <partial "head/others" .>: error calling
> partial:
> "/var/www/postgis_website/layouts/partials/head/others.html:2:31":
> execute of template failed: template: partials/head/others.html:2:31:
> executing "partials/head/others.html" at <hugo>: can't evaluate field
> Data in type interface {}
> ERROR 2026/08/17 17:10:09 render of "page" failed: execute of template
> failed: template: _default/single.html:20:7: executing
> "_default/single.html" at <partial "head/others" .>: error calling
> partial:
> "/var/www/postgis_website/layouts/partials/head/others.html:2:31":
> execute of template failed: template: partials/head/others.html:2:31:
> executing "partials/head/others.html" at <hugo>: can't evaluate field
> Data in type interface {}
> ERROR 2026/08/17 17:10:09 render of "page" failed: execute of template
> failed: template: _default/single.html:20:7: executing
> "_default/single.html" at <partial "head/others" .>: error calling
> partial:
> "/var/www/postgis_website/layouts/partials/head/others.html:2:31":
> execute of template failed: template: partials/head/others.html:2:31:
> executing "partials/head/others.html" at <hugo>: can't evaluate field
> Data in type interface {}
> Error: Error building site: failed to render pages: render of "page"
> failed: execute of template failed: template: _default/single.html:20:7:
> executing "_default/single.html" at <partial "head/others" .>: error
> calling partial:
> "/var/www/postgis_website/layouts/partials/head/others.html:2:31":
> execute of template failed: template: partials/head/others.html:2:31:
> executing "partials/head/others.html" at <hugo>: can't evaluate field
> Data in type interface {}
> Total in 330 ms
> make[1]: *** [Makefile:46: site] Error 255
> make[1]: Leaving directory '/var/www/postgis_website'
>
> }}}
New description:
I noticed this error
{{{
hugo v0.97.3-078053a43d746a26aa3d48cf1ec7122ae78a9bb4 linux/amd64
BuildDate=2022-04-18T17:22:19Z VendorInfo=gohugoio
ERROR 2026/08/17 17:10:09 render of "page" failed: execute of template
failed: template: _default/single.html:20:7: executing
"_default/single.html" at <partial "head/others" .>: error calling
partial:
"/var/www/postgis_website/layouts/partials/head/others.html:2:31": execute
of template failed: template: partials/head/others.html:2:31: executing
"partials/head/others.html" at <hugo>: can't evaluate field Data in type
interface {}
ERROR 2026/08/17 17:10:09 render of "page" failed: execute of template
failed: template: _default/single.html:20:7: executing
"_default/single.html" at <partial "head/others" .>: error calling
partial:
"/var/www/postgis_website/layouts/partials/head/others.html:2:31": execute
of template failed: template: partials/head/others.html:2:31: executing
"partials/head/others.html" at <hugo>: can't evaluate field Data in type
interface {}
ERROR 2026/08/17 17:10:09 render of "page" failed: execute of template
failed: template: _default/single.html:20:7: executing
"_default/single.html" at <partial "head/others" .>: error calling
partial:
"/var/www/postgis_website/layouts/partials/head/others.html:2:31": execute
of template failed: template: partials/head/others.html:2:31: executing
"partials/head/others.html" at <hugo>: can't evaluate field Data in type
interface {}
ERROR 2026/08/17 17:10:09 render of "page" failed: execute of template
failed: template: _default/single.html:20:7: executing
"_default/single.html" at <partial "head/others" .>: error calling
partial:
"/var/www/postgis_website/layouts/partials/head/others.html:2:31": execute
of template failed: template: partials/head/others.html:2:31: executing
"partials/head/others.html" at <hugo>: can't evaluate field Data in type
interface {}
Error: Error building site: failed to render pages: render of "page"
failed: execute of template failed: template: _default/single.html:20:7:
executing "_default/single.html" at <partial "head/others" .>: error
calling partial:
"/var/www/postgis_website/layouts/partials/head/others.html:2:31": execute
of template failed: template: partials/head/others.html:2:31: executing
"partials/head/others.html" at <hugo>: can't evaluate field Data in type
interface {}
Total in 330 ms
make[1]: *** [Makefile:46: site] Error 255
make[1]: Leaving directory '/var/www/postgis_website'
}}}
--
Comment:
Updating hugo to
https://github.com/gohugoio/hugo/releases/download/v0.165.0/hugo_extended_0.165
.0_linux-amd64.tar.gz seems to have fixed the issue
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6116#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list