FDM80

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by FDM80

  1. On 1/19/2023 at 11:13 AM, Ademar said:

    why does the container run with "--cap-add=NET_ADMIN"? It seems to work fine without it.

     

    Copy and pasted from the pihole entry on dockerhub.

     

    • As of 2022.04.01, setting CAP_NET_ADMIN is only required if you are using Pi-hole as your DHCP server. The container will only try to set caps that are explicitly granted (or natively available)

  2. 43 minutes ago, Rebel said:

    Hi all, I am trying to enable nvidia transcoding (following spaceinvader one guide) after installing a card in my NAS but can't find the nvidia visible device field, has the template changed?

     

     

     

    15 minutes ago, wgstarks said:

    Probably. You should see this at the top of your template-

    Note the "switch to advanced view". Once you do you'll see it near the bottom.

     

    I was fiddling with my plex container the other day and noticed that the template did in fact change.  The part of the template with the directions about switching to advanced view to add the extra parameter, etc is no longer present anymore.  The NVIDIA_VISIBLE_DEVICES environment variable field now needs to be added manually.

  3. Posting to document my findings and possibly save other people time if they run into the same thing.

     

    Hardware transcoding (quicksync) doesn’t work in 1.27.2.5929 when HDR tone mapping is enabled. Hardware transcoding works when disabling HDR tone mapping.

     

    Reverting back to 1.27.1.5916 restores full functionality. Hardware transcoding works with HDR tone mapping enabled.

    • Upvote 2
  4. 37 minutes ago, kizer said:

    Removed plugin and now my drives are sleeping

    Just a small side effect of temporarily removing the plugin.

    I noticed that I kept getting the log entry:

     

    flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update

     

    while the plugin was uninstalled every minute.  I had to make sure the flash backup was deactivated prior to uninstalling.

    • Like 1
    • Thanks 1
  5. I've been experiencing the same issue the last few days, not realizing that it could be caused by that particular plugin.  I noticed the array disks would spin up when logging into the server, the Main tab would load, then within seconds I would see the drives spin up despite not having done anything after logging in.  My system logs seem to support this behavior.  I had one disk spin up overnight (probably plex) and then a few hours later spun down.  They were spun down for the duration of the day according to the log file.  The log shows the drives were spun down for about 12 hours.  As soon as I log into the server, they spin up.

     

    I deactivated the flash backup functionality, signed out of the plugin, then uninstalled the plugin and now the drives no longer unnecessarily spin up when loading the Main tab.

  6. 1 hour ago, kizer said:

    I suppose I could temporarily uninstall the plugin and re-install it later when its updated.

    I had been having my array drives spin up when I logged in and the Main tab loaded for the last few days.  Signing out of the plugin, then uninstalling it for the time being worked.

  7. 2 hours ago, RoninTech said:

    Pi-hole was working great with version 5.0.  I just updated to version 5.1 and now I see this permanently on the dashboard.  Anyone else seeing this?  Ad-blocking appears to still be working, so the issue is just a reporting one vs. core functionality.

    It is just the browser cache that needs to be cleared.  On mobile devices I had to clear my cache.  On Windows 10 in Chrome, all I had to do was a "Ctrl+F5" to refresh and force a bypass of the cache.

  8. 12 hours ago, shaunvis said:

    I got Pi-Hole up & running for a few days. It seems like it's working and is the DHCP & DNS server for my house. It doesn't seem like it's blocking much though.

     

    In Safari, I have ghostery and never really noticed may ads or things like that. But if I try Chrome or another browser, I still see tons of ads on websites.

     

    Is there a setting to check or adjust?

     

     

     

    Screen Shot 2019-02-26 at 6.46.27 AM.png

    You should check out this website.

    Ad blocking, telemetry, malicious sites, etc. that you can add to your pihole.

    https://firebog.net/

     

    For starters, I'd recommend the below list which is all the ones on the website with a check mark next to them.

    It is the list that is least likely to interfere with normal browsing habits (ie: not as aggressive as some of the other lists)

    https://v.firebog.net/hosts/lists.php?type=tick

     

    • Like 1
  9. 2 hours ago, Sinister said:

    I apologize if this is a noob question but how do you update this docker? pi hole tells me there is an update available but any CLI commands i try dont work

     

    thanks in advance

    We are waiting for the official docker container to be updated.  Once that happens, we will have caught up with the rest of the group.

    https://hub.docker.com/r/pihole/pihole/

    If you look at the Tags tab, you can see the one we normally use (latest) is 7 days old and there is a dev version that is 3 days old.

    • Like 1
  10. I think the --dns argument in combination with the network type set to Custom: br0 doesn't play nice together.

    Just in testing, when I set the network type to Host, start the container, and check the log, the DNS sets properly to 127.0.0.1.

    I didn't try Bridge mode because there is a conflict with port 80 and I don't feel like messing with those settings right now but that is something else to look into.

     

    I don't have enough knowledge of unraid and how the container networking works to offer a solution.  All I can do is point to the behavior I notice and hope that someone with more experience can shed some light.

     

    I get those other messages in my log as well but I don't see what negative repercussions there are from that so I personally am not concerned about those.

     

    At the end of the day, the 127.0.0.1 issue results in the container failing to resolve DHCP hostnames so you just see IP addresses in the dashboard.  Mainly a cosmetic issue.

  11. On 12/26/2018 at 1:45 PM, Big Dave Diode said:

    I've been running pihole on this docker for a few months. It works really well. Thanks for all your work on this. I am, however, running into a problem with the logs. The logs are going into /var/log/pihole inside the docker image. I can't see any way to change that; nor can I see any way to truncate the logs.I've read the first post, but don't see how I can do this as most of these instructions no longer seem to apply.

     

    So, how can I clear my pihole logs on a schedule?

     

    Again, thanks for all your work on this. It truly is a great tool!

    I've never tried to change the log storage length so I'm not an expert.  I think you can edit the "pihole-FTL.conf" file in the appdata folder to set when things get flushed.  See link below.  You should look at the "MAXLOGAGE" setting and / or the "MAXDBDAYS" from the looks of things.

    https://discourse.pi-hole.net/t/how-to-set-a-limit-to-log-file-length-to-maximum-used-log-file-space/6482

    My understanding is that the logs are short term storage (default 24 hours stored in the image) and the database is long term storage (default 365 days stored in the appdata folder outside the image).

     

    As for if you are concerned about the logs being stored inside the container image, you could maybe do the following to move the log storage out of the image.

    image.png.d8078adee7dee471bf2d40099bf5ecf5.png