You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The project was initially running on Hugo v0.57.2, which is outdated and has several deprecated functions. To resolve this, an upgrade to Hugo v0.143.1 was attempted. However, after upgrading, the project fails to run.
Warnings Encountered in v0.57.2
.Hugo is deprecated – Use the global hugo function.
.RSSLink is deprecated – Use {{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }} instead.
.URL is deprecated – Use .Permalink or .RelPermalink.
.UniqueID is deprecated – Use .File.UniqueID instead.
Steps to Reproduce
Run the project on Hugo v0.57.2 → Project runs, but warnings appear.
Upgrade Hugo to v0.143.1.
Attempt to run the project → Project fails to start.
Suggested Fix
Investigate why the project does not work after upgrading.
Check for breaking changes between Hugo v0.57.2 and v0.143.1.
Update template files and configurations to align with the latest Hugo syntax.
Verify whether any custom themes or modules are incompatible with the newer version.
Impact
Sticking to v0.57.2 will cause issues in future releases as deprecated functions will be removed.
Upgrading to v0.143.1 breaks the project, making it non-functional.
A proper migration strategy is needed to ensure smooth transition.
Additional Notes
Logs from the failing run on Hugo v0.143.1 should be analyzed to determine the root cause.
The text was updated successfully, but these errors were encountered:
Great! It's very useful, I also have met the problem that hugo version can't upgrade to the latest because it will impact the whole page. Our contributors in volcano are not familiar with HTML/js, so very happy to see you can contribute for our website/dashboard
Hi, @JesseStutler its not a big issue, it will take some time I will upgrade hugo manually and provide u dependencies with newest version for the same.
hi @Monokaix@JesseStutler I will propose a draft PR.
I have upgraded hugo but was encountering one issue related that.
please give your valuable suggestions to me to solve it.
Shrutim1505
changed the title
Hugo Version Upgrade Causes Project to Stop Running
Hugo Version Upgrade Causes Project to Stop Running [WIP]
Feb 8, 2025
Shrutim1505
changed the title
Hugo Version Upgrade Causes Project to Stop Running [WIP]
Hugo Version Upgrade Causes Project to Stop Running
Feb 8, 2025
Description
The project was initially running on Hugo v0.57.2, which is outdated and has several deprecated functions. To resolve this, an upgrade to Hugo v0.143.1 was attempted. However, after upgrading, the project fails to run.
Warnings Encountered in v0.57.2
Steps to Reproduce
Suggested Fix
Impact
Additional Notes
Logs from the failing run on Hugo v0.143.1 should be analyzed to determine the root cause.
The text was updated successfully, but these errors were encountered: