Wowchemy academic website doesnt work anymore

Dear all, I hope you are well. I am trying to deploy my website with some modifications, it was working before around January but 2 days, I wanted to deploy some new informations and I am receiving errors, for instance this is the error I am getting at the moment : Run hugo --minify
WARN deprecated: site config key paginate was deprecated in Hugo v0.128.0 and will be removed in a future release. Use pagination.pagerSize instead.
hugo: downloading modules …
hugo: collected modules in 4915 ms
Start building sites …
hugo v0.138.0-ad82998d54b3f9f8c2741b67356813b55b3134b9+extended linux/amd64 BuildDate=2024-11-06T11:22:34Z VendorInfo=gohugoio

WARN In params.yaml, you requested theme_night: Earth but there is not a dark style in data/themes/earth.toml. Falling back to default dark style.
ERROR deprecated: .Site.GoogleAnalytics was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.139.0. Use .Site.Config.Services.GoogleAnalytics.ID instead.
ERROR deprecated: data.GetCSV was deprecated in Hugo v0.123.0 and will be removed in Hugo 0.139.0. use resources.Get or resources.GetRemote with transform.Unmarshal.
ERROR render of “page” failed: “/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403”: execute of template failed: template: landing/single.html:11:403: executing “landing/single.html” at <.File.UniqueID>: can’t evaluate field File in type *source.File
ERROR render of “section” failed: “/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403”: execute of template failed: template: section/post.html:11:403: executing “section/post.html” at <.File.UniqueID>: can’t evaluate field File in type *source.File
ERROR render of “section” failed: “/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403”: execute of template failed: template: section/publication.html:11:403: executing “section/publication.html” at <.File.UniqueID>: can’t evaluate field File in type *source.File
Total in 5788 ms
Error: error building site: render: failed to render pages: render of “home” failed: “/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403”: execute of template failed: template: index.html:11:403: executing “index.html” at <.File.UniqueID>: can’t evaluate field File in type *source.File
Error: Process completed with exit code 1.

Some people told me to change the hugo version to old version which I was using, so it could work but I dont know where to edit, would you help me with this? this is my repository: GitHub - serkankocabas/serkankocabas.github.io

Looks like the same issue as your previous topic

Or did I miss something.some hints:

First try to get the build locally runing and
Install the older version using the method for your os. There’s a page install hugo in the docs

Second you have two workflows running. One builds with jekyll. Why?

Third in the task setup huge theres the version set to 138. So you know where to change :wink:

Fourth wowchemy is special. Thats why @jmooring pointed you to your support.

My recommendation
Start with point one locally…

1 Like

Thank you so much for your comments, I was missing some files such as publish yaml, import publications yml etc , I copied them from hug blox and modified the version as the old one ‘0.111.3’ and now its working. I am not very good at this but I dont why it was working before without those files, maybe it was running with gh-pages and I didnt need those files? Now, its running from main and its working. To be honest, I dont know why its using jekyll and how. Again thank you for your comments and I will try to become more efficient with time.

1 Like