spants

Community Developer
  • Content Count

    568
  • Joined

  • Last visited

Everything posted by spants

  1. No problem. If you needed Node.js 12 - just use nodered/node-red:latest-12 in the repository field of the template
  2. Great - thats the way to do it. The template is for the official Pi-hole docker, I don't make any changes so please check their github for issues. I just changed the template to remove the dns entries from the extra parameters setting though as this was causing issues for some... Unfortunately this change doesnt roll down if you have already have Pihole setup. ( I dont think this fixes your issue though). I will take another look tomorrow (I'm in the UK).
  3. how did you update? Was it the docker container or inside the docker container (which you shouldn't do)?. My template pulls down the official docker container with no changes. If there are bugs with Pi-hole, please log them at https://github.com/pi-hole/pi-hole/issues or https://pi-hole.net/
  4. Which version of NodeJS do you need? You can change the version by using the appropriate tag in the Repository field: https://hub.docker.com/r/nodered/node-red/tags?page=1&ordering=last_updated
  5. Thanks guys - unfortunately I only made the template and cannot vouch for the actual docker container. I'm sure they will fix the docker component quickly!
  6. Your serverIP should be the same as the fixed ip address Sent from my SM-N976B using Tapatalk
  7. The problem with the 404 method is that if you use a custom network (say PROXYNET for dockers that can be reached from outside), then you cannot (well, I couldn't!) reach the /admin endpoint from inside either. I have made some changes regarding the 403/401 error codes and now use this.... (based on an old bitwarden template) #BITWARDEN # make sure that your domain has dns has a cname or a record set for the subdomain bitwarden # This config file will work as is when using a custom docker network the same as letesencrypt (proxynet). # However the container name is expected
  8. For folks that want to protect the /admin page from being accessed from outside of the internal network when using SWAG, I think this is a better way..... Note 192.168.1.0 is the LAN network and 10.0.10.0 is a VPN network attaching remotely location /admin { allow 192.168.1.0/24; allow 10.0.10.0/24; deny all; # enable the next two lines for http auth # auth_basic "Restricted"; # auth_basic_user_file /config/nginx/.htpasswd; proxy_pass http://bitwarden; }
  9. I have two network cards to avoid any problems and my main pihole is the docker. I have a secondary pihole as a physical machine with opnsense providing both DNS ips for DHCP Sent from my SM-N976B using Tapatalk
  10. If you use RETAINED topics, it can write them to a temporary db in case of restarting. Most people dont need this. There seems to be a permissions issue with some dockers, I should take a look at this as I made it some time ago (it just works for me!). I saw on another thread that someone had similar issues on another docker and was advised to run a script (attached). It will reset the directory permissions on the appdata directory. Run it at your own risk (I just tried it) fixAppdataPerms.sh
  11. if you dont need persistance, please edit the mosquitto.conf: persistence false persistence_file mosquitto.db persistence_location /config/data/ and restart MQTT...
  12. Does your MQTT directory look like this?: You can also try setting open permissions on that directory: cd /mnt/user/appdata chmod -R 777 MQTT
  13. @Lebowski that is strange. That error looks to be caused by having persistence=true in the config file and not being able to write the mosquitto.db file. Can you share the config file (delete any private bits) ?
  14. @Lebowski sorry for the delay in the reply. please try this fix: Change the permissions of the appdata directory for your MQTT data: for example: chown -R nobody:users /mnt/user/appdata/MQTT and you should be ok.
  15. can you do an ls -al on that directory please?
  16. for serial devices (such as my two 3d printers using octoprint), I just use the /dev/serial/by-id/@xxxxxxxxxx paths for them.
  17. I use the /dev/serial/by-id/@xxxxxxxxxx paths for my devices
  18. You may have to keep changing it as the template is not refreshed on the update. Check your /boot/config directory structure for the cached templates and also edit it there Sent from my SM-N976B using Tapatalk
  19. I have pushed this - note that you will not see the change if you already downloaded NR as the template is cached on your boot drive. Thanks for the link - I didnt see it when I first made the template in 2016! You can change it on your own system btw
  20. actually I was wrong again - NodeRed was changed but not pihole... SORRY - will fix it now
  21. I've not changed it yet....... :-) WRONG!! I did change it some time ago to /mnt/user/appdata/nodered/ .It must be cached on your boot/config volume.....
  22. You are free to set the appdata to where you like. This was a setting that I used when the template was originally written. The problem is that changes to templates are not written back to existing installations.
  23. nbrowser seems to have not been updated for a long while. There is another node (scrape-it) that may help?. I used to use the HTTP nodes when I wrote an integration to HiveHome - but I swapped that over to HomeAssistant.
  24. tried this one: https://flows.nodered.org/node/node-red-contrib-pocket-api ?