Open utterances-bot opened 11 months ago
Hey! I was trying to follow your guide but I'm getting the following error when trying to run this on my pi:
[+] Running 1/11 ⠧ plausible Pulling 1.7s ⠧ plausible_db 8 layers [⠀⠀⠀⠀⠀⠀⠀⠀] 0B/0B Pulling 1.7s ⠴ f8dec92eec42 Pulling fs layer 0.4s ⠴ 5bf5c2c99c40 Pulling fs layer 0.4s ⠴ 06bb3f13868e Pulling fs layer 0.4s ⠴ ddf89fc73cd7 Waiting 0.4s ⠴ 7d0d4712e714 Waiting 0.4s ⠴ f3ed74d03a2a Waiting 0.4s ⠴ ff13d7166906 Waiting 0.4s ⠴ dc98ef6aff76 Waiting 0.4s ✘ plausible_events_db Error 1.7s no matching manifest for linux/arm/v8 in the manifest list entries
It's running a raspbian rather than ubuntu version. Not sure if that could have something to do with it.
@Juanpam If you are using a RPi4, then please double check you are using Raspbian 64bit.
I installed Ubuntu 22.04 LTS with full support for arm64 architecture. It still fails. Also I noticed that you are referencing the docker-smtp folder in the shared docker-compose-yml file but there is no folder called like that in your repo. It fails if I leave it as it is in the current repo as well
@Juanpam from your logs it's definitely an architecture issue. What's the output of uname -a
?
@iwishiwasaneagle This is the output of said command:
My first logs were from having an armhf architecture but to fix that I then installed Ubuntu 22.04 with full support for arm64 architecture. It fails but I don't have the logs with me. However I still found issues with the docker-smtp folder that is referenced in the docker compose file.
Thanks a lot for answering!
Hmmm yeah the docker-smtp folder might have been an error. I don't have access to my RPi4 for a while but will double check my config when I do.
why do we need SSL and nginx? If I have a self hosted website on a docker compose on my RPi4 and exposed to the internet with cloudflare tunnel with a domain that will have SSL provided by cloudflare. (we can do this with the free account)
Can we use that and avoid setting all nginx, ssl stuff that you did ? I want to monitor my website that is on my RPi4 exposed to the internet.
@asyba yes, I believe that that would be enough. I haven't had any experience with Cloudflare Tunnels but that sounds like an interesting solution.
Hosting Plausible Analytics On A Raspberry Pi 4 with SSL
Learn how to host Plausible, a privacy centric Google Analytics alternative, on your Raspberry Pi 4. This uses nginx, LetsEncrypt, and more for secure hosting.
https://janhendrikewers.uk/plausible_analytics_on_a_raspberry_pi_with_SSL.html