-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bash - Hugo Serve - results in 404 #48
Comments
This happened to me a few months ago, and I had no idea why. Didn't dig into it much at the time, and probably should have. |
Weird! @SamFritz could you visit the main page that works, and then visit a page that doesn't work. Then go in and copy and paste the output from the terminal window that's running |
Tested out hugo while I was making some edits. Steps
Will continue to investigate |
Weird. And going to http://localhost:1313/vancouver directly leads to the 404? Any error message that pops up when you do that? |
correct, went to http://localhost:1313/vancouver shows the 404 but there is no error message in terminal. @ruebot was this the same experience for you? no error in terminal? are you still unable to launch |
I think I found the problem/solution - there has been a noted issue for hugo serve Trying out suggestions listed on ticket, fingers crossed! |
This is just continuing to document 404 issue, looks like we are getting closer Not sure if this is a quick fix or if it will stick but I now have http://localhost:1313/ working for all pages now, however, it brings me back to an earlier version of our website (there is no vancouver menu, it's displaying when our Toronto event was running) Steps:
This was based on threads from digitalcraftsman/hugo-material-docs Issue #84 Seems that v0.32-0.34 have caused some problems related to 404. |
That makes sense. If you don't mind renaming all the content pages for each directory, that'd be awesome. |
...and I'll assume @ianmilligan1 has the older version of Hugo still. iirc, we had different versions back a few months ago when it was happening to me. For me:
|
@ruebot - yep, just renaming now :) Ah, okay that makes sense why @ianmilligan1 wasn't experiencing this hiccup. I'm on same version as you |
Good catch! Yeah, at least on this machine I'm on an earlier version (I think my laptop and desktop are on different versions). I'll update to the most recent one. |
No longer a 404 page, however when navigating to any page (except home page) they are blank and no error is presented in terminal. Steps:
http://localhost:1313 renders homepage only; clicking on any other page displays as follows with no errors or notices listed in terminal. This was tested on Safari Version 11.1.1 (13605.2.8) and Chrome Version 67.0.3396.99 (Official Build) (64-bit) |
Just chatting with @SamFritz in Slack, I'll take a quick try right now too.. |
Conversation with @ianmilligan1 in slack:
For those that do not have previous versions of hugo, a possible solution might be found via:
|
While updating the Vancouver event page, I noticed that when I launched Hugo serve command, it brings me to the archivesunleashed.org main page, however navigating to any other page to view changes resulting in 404 error.
Checked:
Will try to see if there are any other paths that might not be syncing correctly.
Attached documentation for reference:
Bash-Hugo serve- results in 404.pdf
The text was updated successfully, but these errors were encountered: