Hosting Umbraco 12 on a Raspberry Pi 3B+ ?
# help-with-umbraco
z
So I have two servers in my apartment - both Raspberry Pi 3B+. One of them is dedicated to Home Assistant, the other is basically free. As I couldn't really find too much interesting on Umbraco spec requirements (and .NET 7 web apps seeming to require around 1GB), I was curious if this would be suited for hosting an Umbraco server, or if I would run into any sort of hardware limitations. Raspberry Pi 3B+ specs: SoC: Broadcom BCM2837B0 quad-core A53 (ARMv8) 64-bit @ 1.4GHz RAM: 1GB LPDDR2 SDRAM
j
So I don’t know about the specific specs but I know that Seb wrote an article on this: https://cultiv.nl/blog/how-i-run-this-very-website-on-a-raspberry-pi-in-my-closet-at-home/
h
From the image in the blog it looks like a pi4
k
Using
cloudflared
and tunnels seems overkill. Or is it to offload https from the RPi?
s
It's a Pi4 and I have no idea how well a Pi3 would work, do report back, the process should be the same @zylvian @kdx-perbol
cloudflared
a tiny app! It helps satisfy the need for this Pi be on the internet without having to poke at routers, opening ports, etc. Yes, I could do this at home probably, my ISP will allow it, but there's no way this would be allowed at the office for example.
Just had a look and It looks to be taking up about 400-600 megs of memory though so I think you'll run in to severe memory issues with just the 1GB.
z
Reporting back: after working two days on containerizing the thing (including the problem of .NET containers not being shipped with ICU language libraries, and having a bunch of struggles getting the app to run), I finally got it deployed on my RPi 3B+, and it bricked the entire thing. I didn't bother testing it with memory limitation, as it seem it truly was not up for the job.
s
Oof! I think it bricked it because it ran out of memory/cpu probably. It would be really cool to be able to do it, maybe try to put it on without the container like in my blog post linked above? I am extremely curious how you containerize it though, any chance you can blog about that? I am sure @Janae would be happy to help you get an article up on https://skrift.io 😁
j
I would love to have an article about that in the new year!
h
m
@UMB.FYI tip
u
Thanks for the tip
h
had a play myself over the weekend 😄 https://umbtest.themediawizards.co.uk/
running on linux does seem to have some issues with 3rd party packages, I'm assumin it is to do with incorrect case when using paths, but will investigate further
s
@huwred Haha my first computer, an Amstrad looked kinda like this! Not with the 5¼ slot though, I had 2(!) 3½ disk readers. Why where they still called "floppy" by the way, they were definitely rigid (okay, I guess it was about the spinning disk inside). Anyway, looking good on the test site! Wonder which packages are still problematic? Thought most of them should be fine by now!
I need to add a new post about how to deploy updates by the way, that was a bit more trouble than I thought it would be.
h
having an issue with UmbNav, property editor gone on the pi
s
Aah, haven't tried that one! When you say "gone" .. not available at all? Or just javascript errors?
h
angular controller reg errors, get the same with the block preview as well
h
doesn't appear to like any third party plugins at all TBH they all error when registering the controller
very possibly, i re-published it but in debug not release build, plugins now all work ok in backoffice
s
Yep, then that is definitely it!
h
Is it possible to disable smidge for the back-office other than releasing in debug mode?
s
nope! the plugins need updating.. :/
h
I think something must have gotten mangled some where along the way. I rebuilt it from a new umBootstrap template, I then added all the other packages one by one publishing in between each nuget install, that seems to have sorted it all out and so far everything seems to be ok in the backoffice (in release mode)
Just an FYI, it runs quite happily on Pi OS
s
I never thought of using Pi OS actually, is it as easy to install .NET there as well? Not sure if it's a Ubuntu derivative as well.
h
Yes, just as easy, it is a Debian derivative.
2 Views