Pi-Hosted : Installing and Configuring Homer Dashboard Part 2
HTML-код
- Опубликовано: 13 сен 2024
- Continuing with our Pi-Hosted Series we will begin with installing Homer Dashboard to host all our services we will be creating. Thanks for the view!
○○○ LINKS ○○○
github.com/bas...
○○○ SHOP ○○○
Novaspirit Shop ► teespring.com/...
Amazon Store ► amzn.to/2AYs3dI
○○○ SUPPORT ○○○
💗 Patreon ► goo.gl/xpgbzB
○○○ SOCIAL ○○○
🎮 Twitch ► / novaspirit
🎮 Pandemic Playground ► / @pandemicplayground
▶️ novaspirit tv ► goo.gl/uokXYr
🎮 Novaspirit Gaming ► / @novaspiritgaming
🐤 Twitter ► / novaspirittech
👾 Discord chat ► / discord
FB Group Novaspirit ► / novasspirittech
○○○ Send Me Stuff ○○○
Don Hui
PO BOX 765
Farmingville, NY 11738
○○○ Music ○○○
From Epidemic Sounds
patreon @ / novaspirittech
Tweet me: @ / novaspirittech
facebook: @ / novaspirittech
Instagram @ / novaspirittech
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission.
If your IP address is not showing up next to Homer but it states it is running and healthy try: Removing Homer and while setting it back up head into advanced and then change it from bind too auto next to both container options.
Thanks
my goodness I had no idea why it wasn't working and you fixed it! thank you so much!
Thank you!
Note: For some reason, everything in my assets folders were missing. I played around with permissions and recreated the container but noting worked. Finally, I removed the container yet again, changed it back to bind, and my assets showed up this time. SMH leaving this here for anyone who had the same issue I did.
and now where is the folder? with auto?
thank you so much!!!!! life saver
fantastic stuff! I like how you always go from "here is the project page" to "hey guys, this is how you actually install, use, and tweak this project".
Some developers get so caught up in their project that they forget average people will stumble on to it and have no idea how to use it, no matter how amazing it is. You always break down that barrier! thanks!
Great stuff again!! P.S. You can put your Pi’s IP to Portainer -> Settings -> Endpoints -> Public IP, and then you can just click the Published Ports to open each containers web page.
This is now located under the "Environments" section.
Select the "local" environment, add the IP address into the "Public IP" field, and then "Update Environment".
Dude, your content is brilliant. You actually go into how to configure & use the software! Keep up the amazing work 🙂
I try to do what you're going, but all of those folders (/portainer/Files/AppData etc.) are empty... I changed nothing in the config of the deployed Homer. what's happening?
Do this -> sudo chown -R $USER /portainer then restart, this should solve the problem
Thanks a lot. I am an (really) old (unemployed) coder and thanks a lot for all this information:
1/ you show a lot of interesting stuff
2/ you save me a lot of time
It is something like to much information in one video, I have to breathe and drink a coffee. Thanks again.
OMG... Watching you modify the configuration file in this video reminds
me of when I first became a programmer. The primary way of inputting
instructions to a computer was via punched cards. IBM punched cards
had 80 columns and typically they were broken down into fields beginning
in a certain column and of a certain length. For example, a certain parameter
might be in columns 10 through 13.
That was in the mid to late 1960s and it looks like we are back to the
future watching this video. In a way it saddens me that the programmer
wasn't motivated to parse the input the way that would be expected
decades later.
This is the best channel I've come across this month. Thank you for doing what you do.
Thank you so much sir! My passion and creativity in IT return to me again.
You're my hero, man. This was so much fun and easy to follow.
I LOVE this! Definitely looking forward to the next episodes!
i freaking love this. i wanted to install containers on my pi for a project for class. i just started researching this. thank you!!
A nice alternative to Homer is Heimdall.
agreed, Heimdall seems a bit easier to configure, but there's plenty of personal preference out there. :)
really appreciated the fact you keep recorded fails on the video, especially this series. @Novaspirit you really should look at swapping over the Master/Main repo to "pi-hosted" organisation (ala Issue #13)
Very nice project and video! It could be very interesting to configure the server's services to be restarted when the pi is switched off/on.
Love these projects on the RPI learning a ton. Thanks
I agree that Homer looks great and can organize well but the command line interface to a yml config file just was just too much for me. I went with Heimdall instead, super easy to configure through a GUI. The command line is a tool to me, use when appropriate, otherwise use an app / GUI.
Thanks for the videos.
How did you get heimdall to work? I kept on getting a 500 server error
This was great! Looking forward to the next episode.
Good content! Have you considered to use Heimdal as an alternative to Homer? It offers same functionalities but without the yaml editing nigtmare. 😁
ditto
Any fix for getting Homer to work? just get a 404 error when trying to connect to Homer, and the logs spits out an error: Assets directory not writable. Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0
No configuration found, installing default config & assets
Any help would be appreciated so I can carry on with the series.
Getting the same issue. Amy idea anyone?
Really nice! Thanks a LOT! I am learning a lot of useful stuff here.
Do you have to manually add the files into /assets? It empty for me, am I missing something?
Amazing job! I was trying to follow your steps. I couldn't find Homer in the App Template though. Did they take it out or is there a way to add the library?
Great video. I was starting to play around with Homer as well. I haven't done it myself for this app, but most containers you can deploy as a non-root user, so if you had deployed it as the "pi" user, then you wouldn't need to use sudo to edit the files.
You need to check your'e video camera settings on which ever live broad casting suite you'r'e using and consider re rendering the whole or parts and pieces as needed.
Thanks for this series Don - one suggestion - instead of looking for applications icons - why not use the icons in the actual templates page?
I also noticed you can replace the "logo" line of an app with "icon" and use font awesome like this:
icon: "fas fa-terminal"
and one more thing :) - Can you please right click on the shellinabox and change the color to white on black? (the black on white is an eyesore)
Hi,
How can we change the shell In the Box colors .... as I am also facing this ... for time being I installed extension to apply dark theme.
Great job ! You are my master in Docker. you could use heimdall instead of Homer ...
Very nice tutorial.
I am running the 64 bit raspbian. Did it fine until the Homer installation. No files installed in the assets folder.
Any idea if this tutorial fits the 64bit image or do I need to get the 32bit up-and-running?
BR Arjen
Second this. It looks like there arent any files at all in the assets folders. Will try coping the config.yml code over manually
I had a similar problem. Looked at the logs and it showed permission problems. Ran “crown -R pi:pi /portaner” and then container deployment seemed to work.
Nice one Randy. Hey that's actually my nickname ;-)
Just for the record it seems you have autocorrect on so for the total newbs that command is: "sudo chown -R pi:pi /portainer". I'd have never have guessed this would work but great one anyways. Hope it didn't break anything else.
@@DudeWithADrone Wow - where were you guys when I uninstalled and reinstalled portainer - twice! Thanks for posting this.
You guys are all heroes. Thanks for taking the time...
Good afternoon friend, I'm following the project and performing on my pi3b+, a question and possible add authentication on the homer page? congratulations for the content and sorry for the google translation.
I speak from Brazil
very nice,
gonna probably try this during the week-end, i have a 32 micro sd, maybe this i will try to use a little more docker et try to understand more
Great Video !!
Request you to include Kodi, I know this is not related to this series of videos, but I would love to see Kodi as I have my Pi hooked up to the TV.
Thanks for making useful videos.
How'd you type out those pound signs so fast when you were commenting out the optional message section?
edit: pound signs aka hashtags
I have tried your App Templates URL and my pi can not see it, can you tell me if it is still up, if so could you paste the link below
Some apps/service suggestions to host: Snapdrop, Deluge
Haha already on it.
I have absolutely nothing in the /portainer/Files/AppData/Config/Homer directory - homer shows up at the ip but the config files are not showing up
The changes to config.yml don't show in the Brave browser, but the do in Chrome. It took me a while to resolve the problem.
Thank you! I have been fighting with this for the last week. I did not even think to try a different browser.
Amazing video! Request, to add a custom website, like a ASPNET, or python flask, webserver
No configuration found, installing default config & assets
Assets directory not writable. Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0
I'm getting an error like this
Could you go through a step by step installation of Home Assistant please?
Assets directory not writable. Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0"
I'd rather not create EVERYTHING. Is there a way of fixing this without setting INIT_ASSETS to 0?
Latest version of Homer doesn't want to run.
I installed an older version using this tag
b4bz/homer:21.09.2
and ... 'walah!' that one works
Fantastic video, could you add service called untangle firewall
i don't think so since untangled is only for x86
I can't get Homer to work. I've tried reinstalling it multiple times and rebooting my raspberry pie zero w and it says that the status is unhealthy and it doesn't show an IP address or published ports next to homer
Same here
Same here. If I go into the container, join the (bridge) network again, i got a new IP and it shows with port# next to the Homer container. BUT after a few seconds (or when you refresh the screen) , it become blank again.
same!
@@Negrisho a gentleman above just dropped this in the comment section, it worked for me: sudo chown -R $USER /portainer
sudo chown -R $USER /portainer. After this reboot and try again, will be able to see the files. Remember install portainer-ce:2.16.2 only as the latest version has issues
Just as curiosity: any particular reason for choosing Homer over other options?
I'm using heimdall, much easier without using shell
Oh yeah...Heimdall makes ALL that config stuff ALOT easier...using it on my UnRaid server to list all my services and stuff I need to get to...also added alot of netdata links to other machines in my network for monitoring
Not just .png. You can also use .svg.
HI, Great project I have learn a lot watching these videos. I am new to this technology but I have managed to copy exactly from scratch the project unfortunately I am stuck to configure HOMER dashboard. I am getting an error message " Assets directory not writable. Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0
No configuration found, installing default config & assets ". Please I need help
many thanks
SOLVED: Sort RUclips comments by "Newest first". You will find a few comments with solutions.
1. I used `sudo chown -R $USER /portainer` mentioned by a couple people.
2. Others say use an older version.
@@ShoruKen
Hi there, Many thanks it works like charm. Best regards
Hi Don, would it be possible to do the same on an Apache web server? I love these videos, I want to set up a private server too!! Thanks for sharing.
Hello, I have now reinstalled Docker, Portainer, Shell In A Box and Homer 3 times according to your instructions. Unfortunately Homer doesn't work, can't access the ip:8902. In the Portainer, no published ports are displayed for Homer. What can I do? As I said, always made according to their instructions. I had previously run Homer but stopped working from one day to the next. Could it be that this happened with an update? can i send you a picture
3 days ago there was an update. since then my homer doesn't work anymore.
I had whatchtower installed, so the update was probably carried out :-(
I have the similar problem installed homer but doest open up
same
sudo chown -R $USER /portainer. After this reboot and try again, will be able to see the files
bro this good content keep on on sharing i love to setup servers running this distro
A Raspberry Pi can serve anything, anytime :)
When one whole pie doesn't have what you need all you need to do is cut another slice(add another app).
@@polraudiozion1156 Hahahahah, that's completely true. Enjoy with your PI :)
Yes! Bigger is better (in this case😏)
Homer does not show up in any of my pi's running portainer..
How do you change the homer icon/logo form being a donut? I wanted to make it a server logo icon but I can't find where to place the file to replace the donut logo
i can't access the port pi-ip-adress:8902 like you. Also the homer container doesn't show ip adress in Portainer. How can I fix it ?
would be useful to tell us how to clean up as well
I do not see the Endpoints option on my Portainer installation. Has it been moved to a secondary menu?
Maybe some grafana + prometheus for getting app logs
I use Organizr for a similar purpose to Homer :)
DAM! What a great video!
Hi bro... I'm a very big fan of yours... nice work...
I'm trying to add plex in raspberry pi docker.
By default the official one doesn't work. So we have to create an image.
And creating an image from ubuntu 20.04(default) always fails due to unsigned files.
But compiling from ubuntu 18.04 works. But the plex fails to load.
Latest plex image from Linuxserver also doesn't work. Only very old outdated image works for me.
Help me out....
I have Docker/Portainer running on a Raspberry pi 4 on a public IP address. Portainer is running on that public IP address on port 9000. when I add a container It creates that container to run on a port on an IP address 172.17.0.X How do I get my container to be running on my Publicly PI address so I can access the container? 172.17.0.X are not IP addresses I can connect to.
I'm having issues with Homer not reading the config.yml file. Anytime I make an update to the service section, it does not reflect. Is there a fix for this? I can not add other items as well.
very informative
Brill stuff thanks
Started to do this project and am at the rpi-docker monitoring stage and and have added the new link to my homer dashboard and today it decides not to read my config.yml file , tried re-installing homer through portainer and no joy any ideas anyone???? was working fine since starting this project at the weekend.
Getting this error : -bash: cd: /portainer/files/AppData/Config/Homer/: No such file or directory (4:30)
Thank you! Great Videos, not just another talking head... I have a question: When I deploy homer, my published ports/IP address disappears after a few seconds and I can't connect. Makes no difference what port I assign... Rpi 4 - 8 Gig Any Ideas? -update: even tried a totally different pi4. Crazy
sudo chown -R $USER /portainer. After this reboot and try again, will be able to see the files and ports. Remember install portainer-ce:2.16.2 only as the latest version has issues
thx very good
Homer wont recognize 8902 what am i doing wrong?
I have nothing in my assets? any help would be appreciated. EDIT YOU HAVE TO ADD ENVIRONMENTAL VARIABLE on recent update
FYI, The latest homer has an issue with permission to the homer folder.
thanks king, finding that same issue :p I guess no braindead install for me 😢
Has anyone made a service to provide a proxy/redirector for services for web apps? I can never remember the damn ports everything uses.. Subdomains would be nice, homer is promising but not automatic etc.
Am I the only person that since Homer updated a coupla days ago any changes I make to the config.yaml file no longer register? I'm trying to add NextCloud to it and ... nothing.
bro it was readable at 100% if you are viewing the video in 1080p, but zoomed in is better.
Love this series. Question, When I set up homer, it seems as though all my settings are the same but my homer container won't hold its IP after starting up. I can manually assign one but after a minute it drops it so I have no IP and obviously no port to view. Anyone have an idea what I am doing wrong?
Exact problem here, Did you find a solution?
@@trayermusselman9033 Try doing what Hozefa Ali said in his reply to Paul Randall. It helped me
@@trayermusselman9033 I didn’t find a fix. I setup hiemdal instead. If you watch Novas latest video he switched to a different dashboard away from homer. I forget the name of the dashboard but it’s in his video on running 25+ containers.
Homer doesn't work anymore, something regarding the PUID GUID needs to be changed
I've tried and I've tried to get Homer to deploy this way (using default settings like you did) but for some reason it says it's "running" in the containers list but there is no IP Address or Public Ports shown in the respective columns in Container List and it simply doesn't appear in a browser. I've tried putting the local IP address of the RPi into Environments->local->Public IP then removing Homer and re-deploying it but that makes no difference. One thing that I did see was in the logs for Homer it keeps saying "No configuration found, installing default config & assets. Assets directory not writable. Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0"
I have managed to get a few things to work from the App Templates area like "Heimdall" and "Code-Server"
Try putting 0:0 in Advanced container settings -> Command & Logging -> User
I'm a total noob at this, but i had the same problem. The way i fixed it was to make a directory in my home folder, for example docker/homer/assets. Then i linked that path in the docker container. Keep in mind that you have to type in the entire path. home/"your username"/docker/homer/assets. And in the other box home/"your username"/docker/homer. It probably has something to do with permission to write in the portainer folder. I think .
My /assets is empty, any suggestions?
Personaly i would do a dockerfile and copy all the assest and config from git and build a custom container and deploy it. Hit me up if you need any help 🤙🏼
Building The Fortress around the Digital World
As great as nano is....it's not. Do yourself a favor and add a container of code-server, using vs code to edit the config.yml and drag/drop png files is way easier than nano.
Which subreddit was it??
i have a link in the part 1 of this series, it's from r/selfhosted
Please Help! So I followed all the steps in the previous video and ran the scripts to install docker and portainer, but when I deploy the homer template it does not work and in the log it says assets folder is not writable. Does anyone know how I can fix permissions for this? I am unfamiliar with docker and portainer so I don't know where the files are located for changing this. I am having trouble finding info on this online so if anyone could maybe point me to resources to learn this that would be great!
Nevermind! found the answer in the comments with others having the issue. what fixed it was this command:
sudo chown -R $USER /portainer
@@jeffreygustafson5633 thank you!
Thank you. For the research and for sharing, it helped me a lot!@@jeffreygustafson5633
make a Tutorial about grafana dashbaord and show as how to import data like cpu load ram load or network usesage or from another app
that will be coming in the future, i did this before on my channel with loading network data and plex info
hi, followed the tutorial , but now cant find the assets and config.yml files
sudo chown -R $USER /portainer. After this reboot and try again, will be able to see the files
homer is not working at 8902 port for me
same
sudo chown -R $USER /portainer. After this reboot and try again, will be able to see the files. Remember install portainer-ce:2.16.2 only as latest version has issues
HEHE! And I installed nginx and made simple html file with applications links. And how do you like this, Don Hui?;-)
LOL python -m SimpleHTTPServer 8080
@@NovaspiritTech And where is scripts for systemd? Nowhere! Its not true HomeEnterprise! :-)))))
Are you doing this on the 8gb model?
it started on a 4gb, then i moved it over to the 8gb cause it was easier since the 8gb is on the server rack with cooling
@@NovaspiritTech I see, I own a single 4gb so will be following along as far as I can. Will prioritise what I need then until I'm Maxed out.
Despite using all the default settings as shown, for some reason my Homer container didn't create any of the config files in the assets folder. Anyone have any idea why that would be and what I can do to fix it?
I had the same issue Fraggle. Did you figure it out in the end? I'm still scratching my head!!!
Same here
sudo chown -R $USER /portainer. After this reboot and try again, will be able to see the files and ports. Remember to install portainer-ce:2.16.2 only as the latest version has issues
I like what you present. You show many interesting bits of hardware and software, but you always leave us hanging because you don't give us a framework for maintaining what you show. That makes most of what you show worthless to us newbies.
I hope that this time you are presenting an environment that we can maintain.
That also means you should cycle back to some of your presentations when there are big enough changes that require explanation.
i love your feed back and i'm taking everything you write into considerations. somethings i might have not even notice i'm not doing. but yes this time around i will be circling back to everything when something changes. one of the major changes i wanted to do after the vacation i took was to start a series like this instead off only one off videos. but again. thank you for your feed back. i need more like this
Looks like you have to update the read write option for homer if your IP address isn't showing up. ruclips.net/video/KO9oMXkz0QA/видео.html
Torrent with vpn as in the reddit post
Hello mate its bit sad you dont reply to peoples problem facing with home but you seems to have time to read reply and like to the comments which give feedback atleast give us a solution in one of the post just dont ignore us.
1st
Wowsers
Sir How to Make Rubber Ducky Using Raspberry Pi Pico Make Detail Video Please Sir Please 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
Sir How to Make Rubber Ducky Using Raspberry Pi Pico Make Detail Video Please Sir Please 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏