jsclayton / prometheus-plex-exporter

Export metrics from your Plex Media Server
GNU Affero General Public License v3.0
117 stars 13 forks source link

Ever got this running on a raspberry pi? #15

Open craigvphillips opened 11 months ago

craigvphillips commented 11 months ago

Sorry feels like I'm having permission issues trying to copy files.

craigvphillips commented 11 months ago

close

MasterEvarior commented 2 months ago

@craigvphillips Did you ever manage to get it running?

craigvphillips commented 2 months ago

Yes, it's just go, I was making it way harder than it should have been.

MasterEvarior commented 2 months ago

Can you explain to me how you did it? I getting the same error as you are but have not yet found a solution.

craigvphillips commented 2 months ago

Absolutely, when I get home I can get my docker file and commands and I will reply to you.

MasterEvarior commented 2 months ago

Thank you very much :smiley:

craigvphillips commented 2 months ago

well crap, I don't really know what I'm doing in go, but essentially you have to clone the repo and build a go executable on your raspberry pi so it's the right architecture. However, I'm getting an error now.

pi@raspberrypi:~/promplex/prometheus-plex-exporter $ go build can't load package: package github.com/grafana/plexporter: unknown import path "github.com/grafana/plexporter": cannot find module providing package github.com/grafana/plexporter

Definitely didn't have that error when I did it on my other one. I will also say that the grafana dashboard doesn't work very well for the watched movies, hoping someone smarter than me can fix it one day. I'll ask some go people tomorrow how to fix that error.