Get "Page not Found" error after "hugo server"

I’m having trouble with Hugo on a new install of Fedora. I tried to test the site using hugo server. After the build finished, I tried to access the site via the URL and got a “Page not Found” error in both Brave and Firefox. Any idea why I would get this error?

I’m using hugo v0.126.2+extended.

Here is the output of hugo server :

johnblood@fedora ~/D/g/gitpius (master)> hugo server
Watching for changes in /home/johnblood/Downloads/git-stuff/gitpius/{content,layouts,static}
Watching for config changes in /home/johnblood/Downloads/git-stuff/gitpius/config.toml
Start building sites … 
hugo v0.126.2+extended linux/amd64 BuildDate=2024-07-18T00:00:00+00:00 VendorInfo=Fedora:0.126.2-3.fc41

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 "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 "section": 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 "manifest" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  The author key in site configuration is deprecated. Use params.author.name instead.

                   | EN  
-------------------+-----
  Pages            | 74  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     | 51  
  Processed images |  0  
  Aliases          |  0  
  Cleaned          |  0  

Built in 51 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

Here is the source code for the site: John Paul Wohlscheid / gitpius · GitLab

You added your theme as a Git submodule.

To properly clone your repository to your local machine:

git clone --recurse-submodules https://gitlab.com/JohnBlood/gitpius

If you’ve already cloned the repository and forgot to use the --recurse-submodules flag:

git submodule update --init --recursive

Then, to update to the latest commit:

git submodule update --recursive --remote

Or do everything all at once:

git submodule update --init --recursive --remote

That did it. Thanks.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.