{"action":"created","issue":{"url":"https://api.github.com/repos/Fourdee/DietPi/issues/1375","repository_url":"https://api.github.com/repos/Fourdee/DietPi","labels_url":"https://api.github.com/repos/Fourdee/DietPi/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/Fourdee/DietPi/issues/1375/comments","events_url":"https://api.github.com/repos/Fourdee/DietPi/issues/1375/events","html_url":"https://github.com/Fourdee/DietPi/issues/1375","id":286407992,"number":1375,"title":"DietPi-Software | Pi-hole: update process","user":{"login":"k-plan","id":17237601,"avatar_url":"https://avatars3.githubusercontent.com/u/17237601?v=4","gravatar_id":"","url":"https://api.github.com/users/k-plan","html_url":"https://github.com/k-plan","followers_url":"https://api.github.com/users/k-plan/followers","following_url":"https://api.github.com/users/k-plan/following{/other_user}","gists_url":"https://api.github.com/users/k-plan/gists{/gist_id}","starred_url":"https://api.github.com/users/k-plan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-plan/subscriptions","organizations_url":"https://api.github.com/users/k-plan/orgs","repos_url":"https://api.github.com/users/k-plan/repos","events_url":"https://api.github.com/users/k-plan/events{/privacy}","received_events_url":"https://api.github.com/users/k-plan/received_events","type":"User","site_admin":false},"labels":[{"id":789668648,"url":"https://api.github.com/repos/Fourdee/DietPi/labels/Investigation%20Required","name":"Investigation Required","color":"6ebf28","default":false},{"id":436545872,"url":"https://api.github.com/repos/Fourdee/DietPi/labels/Via%20Forum","name":"Via Forum","color":"d4c5f9","default":false},{"id":187191726,"url":"https://api.github.com/repos/Fourdee/DietPi/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Fourdee/DietPi/milestones/66","html_url":"https://github.com/Fourdee/DietPi/milestone/66","labels_url":"https://api.github.com/repos/Fourdee/DietPi/milestones/66/labels","id":3072736,"number":66,"title":"v6.2","description":"","creator":{"login":"Fourdee","id":7077026,"avatar_url":"https://avatars3.githubusercontent.com/u/7077026?v=4","gravatar_id":"","url":"https://api.github.com/users/Fourdee","html_url":"https://github.com/Fourdee","followers_url":"https://api.github.com/users/Fourdee/followers","following_url":"https://api.github.com/users/Fourdee/following{/other_user}","gists_url":"https://api.github.com/users/Fourdee/gists{/gist_id}","starred_url":"https://api.github.com/users/Fourdee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fourdee/subscriptions","organizations_url":"https://api.github.com/users/Fourdee/orgs","repos_url":"https://api.github.com/users/Fourdee/repos","events_url":"https://api.github.com/users/Fourdee/events{/privacy}","received_events_url":"https://api.github.com/users/Fourdee/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":12,"state":"open","created_at":"2018-01-29T19:32:06Z","updated_at":"2018-02-02T23:45:17Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-01-05T21:19:35Z","updated_at":"2018-02-02T23:45:23Z","closed_at":null,"author_association":"COLLABORATOR","body":"> http://dietpi.com/phpbb/viewtopic.php?f=9&t=2631#p10195\r\n\r\nThis did not help: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&start=20#p174\r\n\r\n- if it is ONLY a FTL version update, \r\n```\r\n:~# pihole -v\r\n  Pi-hole version is v3.2 (Latest: v3.2)\r\n  AdminLTE version is v3.2 (Latest: v3.2)\r\n  FTL version is vDev-437af07 (Latest: v2.13.1)\r\n```\r\nyou can simple start `pihole -up` without doing anything else. (tested - work)\r\n\r\n- if it is a pi-hole core and/or webinterface update\r\n```\r\n:~# pihole -v\r\n  Pi-hole version is v3.2 (Latest: v3.2.1)\r\n  AdminLTE version is v3.2 (Latest: v3.2.1)\r\n  FTL version is vDev-437af07 (Latest: v2.13.1)\r\n```\r\n\r\nyou have to do  (tested - work for me) :\r\n\r\n```\r\n#Exit path for non-root logins.\r\n\tif (( $UID != 0 )); then\r\n\r\n\t\techo -e 'Error: Root privileges required. Please run the command with \"sudo\"\\n'\r\n\t\texit 1\r\n\r\n\tfi\r\n\r\n##  have a look, what is to  update\r\n pihole -v\r\n\r\n## if only FTL version have to be updated // can be omitted\r\n# pihole -up\r\n## recheck version (if successful update)\r\n# pihole -v\r\n## finished\r\n\r\n## if it is a core/AdminLTE version update or more - Backup lighttpd.conf\r\nmv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.bak\r\n\r\n## https://discourse.pi-hole.net/t/why-does-the-pi-hole-installer-produce-the-error-unable-to-complete-update-contact-pi-hole/4159\r\ncd /etc/.pihole;git reset --hard\r\ncd /var/www/html/admin;git reset --hard\r\ncd \"$HOME\"\r\n\r\n## now update pi-hole\r\npihole -up\r\n\r\n## recheck version (if successful update)\r\npihole -v\r\n\r\n## Restore lighttpd.conf\r\ncp /etc/lighttpd/lighttpd.conf.bak /etc/lighttpd/lighttpd.conf\r\n\r\n## Restart all running services\r\ndietpi-services restart\r\n\r\n## finished\r\n```\r\n\r\n\r\nIs it possible to get something like this in a script (eg. with a nice menu) and   if `cat /DietPi/dietpi/.installed | grep 93` =2 , make it accessible via  eg. `dietpi-pihole-update`  for a user frindly update process without hassle?\r\n\r\nYes, if Pi-hole will change something in future, we get problems. \r\nBut this is not new and  since Fourdee has delete his own pi-hole repo, this will happend from time to time.\r\n\r\nhttps://github.com/Fourdee/DietPi/issues/1313\r\n  \r\n  "},"comment":{"url":"https://api.github.com/repos/Fourdee/DietPi/issues/comments/362743019","html_url":"https://github.com/Fourdee/DietPi/issues/1375#issuecomment-362743019","issue_url":"https://api.github.com/repos/Fourdee/DietPi/issues/1375","id":362743019,"user":{"login":"k-plan","id":17237601,"avatar_url":"https://avatars3.githubusercontent.com/u/17237601?v=4","gravatar_id":"","url":"https://api.github.com/users/k-plan","html_url":"https://github.com/k-plan","followers_url":"https://api.github.com/users/k-plan/followers","following_url":"https://api.github.com/users/k-plan/following{/other_user}","gists_url":"https://api.github.com/users/k-plan/gists{/gist_id}","starred_url":"https://api.github.com/users/k-plan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-plan/subscriptions","organizations_url":"https://api.github.com/users/k-plan/orgs","repos_url":"https://api.github.com/users/k-plan/repos","events_url":"https://api.github.com/users/k-plan/events{/privacy}","received_events_url":"https://api.github.com/users/k-plan/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T23:45:23Z","updated_at":"2018-02-02T23:45:23Z","author_association":"COLLABORATOR","body":"@Fourdee \r\n\r\n👍 \r\n\r\n> then we can discuss possible\r\n\r\nSorry, I don't want to discuss with you. You can do or not do what ever you like. 😄 \r\nIt's okay for me.\r\n\r\nLong day, let's  pack up. Good night. \r\n"}}
{"actor":{"display_login":"k-plan"}}