Skip to content
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

hugo server (v0.15) hangs in Raspberry Pi #1716

Closed
xuqingfeng opened this issue Dec 18, 2015 · 9 comments
Closed

hugo server (v0.15) hangs in Raspberry Pi #1716

xuqingfeng opened this issue Dec 18, 2015 · 9 comments
Assignees
Milestone

Comments

@xuqingfeng
Copy link

I'm setting up hugo in a raspberry pi (armV7), when I run hugo server -v, it hangs until I exit it with Ctrl + C.

here is the output:

INFO: 2015/12/18 Using config file: /home/xqf/pi-hugo/config.toml
INFO: 2015/12/18 syncing from /home/xqf/pi-hugo/themes/cactus/static to /

@moorereason
Copy link
Contributor

This is a known issue with Hugo 0.15. See forum discussion. It's been fixed in 0.16-DEV.

The work around is to run hugo server --renderToDisk. The problem is with the new "render to memory" feature that's enabled by default when running in server mode.

@anthonyfok,
can you add a Known Issues section to the 0.15 release notes about this issue affecting Win32 and ARM? Should probably say the same thing or link to the release notes from the Github releases page.

@anthonyfok anthonyfok added this to the v0.15 milestone Dec 19, 2015
@anthonyfok anthonyfok self-assigned this Dec 19, 2015
@anthonyfok
Copy link
Member

@anthonyfok,
can you add a Known Issues section to the 0.15 release notes about this issue affecting Win32 and ARM? Should probably say the same thing or link to the release notes from the Github releases page.

@moorereason, thank you for the heads-up! I will do this before I go to bed tonight.

@anthonyfok
Copy link
Member

about this issue affecting Win32

Actually, if I am not mistaken, this issue affects Win64 users running a Win32 (so-called "windows_386") binary. Running hugo_0.15_windows_386.exe on Win32 should work just fine.

@anthonyfok
Copy link
Member

Sorry, I take back what I just said. The Win32 binary would crash anywhere due to this "bug" in Go that you found earlier: https://golang.org/pkg/sync/atomic/#pkg-note-BUG

@anthonyfok
Copy link
Member

The suggested "Known Issues" section has been added to the end of the v0.15 Release Notes, see:

@moorereason
Copy link
Contributor

Looks good, @anthonyfok

@matthewp
Copy link

matthewp commented Jan 8, 2016

On my raspberry pi I get "Illegal instruction" when I run Hugo. No such problem on 0.14.

@anthonyfok anthonyfok modified the milestones: v0.16, v0.15 Jun 13, 2016
@anthonyfok anthonyfok changed the title hugo server hangs in raspberry pi hugo server (v0.15) hangs in Raspberry Pi Jun 13, 2016
@anthonyfok
Copy link
Member

The newly release Hugo v0.16 works great on my Raspberry Pi 1 (Model B Revision 1.0 + ECN0001) and Raspberry Pi 3. It can be downloaded from:

@github-actions
Copy link

github-actions bot commented Apr 6, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants