821c953216
Remove 'reconfigure' option ( #5887 )
2025-02-28 21:14:18 +00:00
ad6a48b219
Add comment about TLS-related file permissions
...
Co-authored-by: Dominik <DL6ER@users.noreply.github.com >
Signed-off-by: MichaIng <micha@dietpi.com >
2025-02-26 20:59:32 +01:00
83a38bb71d
Add comment about file permissions
...
Co-authored-by: Dominik <DL6ER@users.noreply.github.com >
Signed-off-by: MichaIng <micha@dietpi.com >
2025-02-26 12:26:50 +01:00
232d581916
Re-add comment about execute bit on directory
...
Co-authored-by: Dominik <DL6ER@users.noreply.github.com >
Signed-off-by: MichaIng <micha@dietpi.com >
2025-02-26 12:25:51 +01:00
0b380d671d
Follow symlinks with find
...
Incorporating https://github.com/pi-hole/pi-hole/pull/5997
Signed-off-by: MichaIng <micha@dietpi.com >
2025-02-24 17:37:01 +01:00
e70981d80f
Do not overwrite TLS cert/key mode
...
FTL correctly creates the cert and especially private key with 0600 mode. But the prestart scripts changes it to 0660.
After removing the dedicated webserver from Pi-hole setups, the pihole group has no purpose anymore, and files should not be writable to any other user than pihole itself, and the private TLS key not reasable to anyone else either.
Additionally, this commit consolidates the chmod calls, applying 0755 to all directories and 0640 to all files, but the TLS key and cert.
Signed-off-by: MichaIng <micha@dietpi.com >
2025-02-24 17:29:58 +01:00
b59ab5852a
Add missing trailing / when setting permissions of /etc/pihole
...
Signed-off-by: Christian König <github@yubiuser.dev >
2025-02-24 15:59:11 +01:00
cadee26dba
Improve dig error handlin in api.sh
...
Signed-off-by: Christian König <github@yubiuser.dev >
2025-02-22 13:48:55 +01:00
c9e58adc48
DHCP discover timeout was reduced by FTL
...
Signed-off-by: Christian König <github@yubiuser.dev >
2025-02-10 20:41:18 +01:00
d1639740d9
Fix database integrity check in debug log
...
Signed-off-by: Christian König <github@yubiuser.dev >
2025-02-10 20:29:05 +01:00
49cf5bb221
Remove 'reconfigure' option
...
Signed-off-by: Christian König <github@yubiuser.dev >
2025-02-06 21:57:05 +01:00
2ae78e02bd
Add call to os_check in the update script ( #5845 )
2025-02-04 17:35:15 +00:00
6d4d35e848
Merge branch 'development' into tweak/gravity_backup
2025-01-26 19:53:06 +01:00
254b67bca3
Using more user-friendly messages on git describe
failure
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-01-13 20:11:41 -03:00
0ae50eab87
Suppress error message on git describe
failure
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-01-12 20:25:32 -03:00
27fb2bbe3a
Replace some hardcoded paths with pihole.toml values
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-01-09 19:11:22 -03:00
c78be8a89d
No systemctl or service inside containers
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-01-09 19:11:22 -03:00
0590bbba2d
Skip some checks in docker container
...
These commands always fail in containers with "command not found" (as expected).
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-01-09 19:11:21 -03:00
733dce1c4c
If it's a docker container, consider the OS is supported
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-01-09 19:11:15 -03:00
bd9cc7cbb7
Clean up unused WEBCALL code
...
Debug Log is no longer available via web interface
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-01-09 17:15:12 -03:00
fab1ca3a40
Merge branch 'development' into tweak/gravity_backup
2025-01-01 18:46:33 +01:00
bd9cb00574
Perform os_check during update, in case the user has updated to an unsupported OS between Pi-hole updates.
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2024-12-31 15:31:04 +00:00
3011d48b6f
Use tail instead of parameter expansion
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-12-22 23:44:31 +01:00
c777152c04
Only separat data and status when needed
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-12-22 21:57:47 +01:00
4dbf9a0bbb
Install dependencies by creating a meta package on-the-fly ( #5785 )
2024-12-14 08:33:15 +01:00
c380c23592
Merge branch 'development' into packages
2024-12-11 18:34:34 +01:00
764aa48c14
Remove no-longer-needed utils
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2024-12-11 17:22:49 +00:00
11e00e04b5
Fix ARP flush command
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-12-07 11:22:58 +01:00
579dc07046
Merge branch 'development' into tweak/gravity_backup
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-11-26 21:08:09 +01:00
633c971a44
Store failed gravity restoration status in message table
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-11-23 09:44:39 +01:00
4137275f24
Merge branch 'development' into packages
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-11-17 21:13:16 +01:00
2dc5bd15cc
Remove remaining traces of audit log
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-11-16 09:45:53 +01:00
fd5b3be03f
Create meta package on the fly ... Debian
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-11-06 20:11:56 +01:00
8bf6480aed
Set exit code explicitly everywhere
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-10-20 09:36:28 +02:00
7ae0b207fc
Exit 1 if update script failed
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-10-20 09:34:15 +02:00
fa194e0a0c
Do not print FTL update check details on pihole -up ( #5800 )
2024-10-19 14:39:24 +02:00
2fd51bd244
Fix gavity version 19
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-10-18 23:00:31 +02:00
1ad135ad69
Do not print FTL update check details on pihole -up
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-10-18 22:30:22 +02:00
7dd2eb20a2
Remove the restartdns functionality and promote the reloaddns functions ( #5780 )
2024-10-02 21:27:08 +01:00
be00f3e723
Rename reloaddns-lists
to reloadlists
per suggestion
...
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br >
Signed-off-by: Adam Warner <github@adamwarner.co.uk >
2024-10-02 19:39:34 +01:00
bcc3a7e35e
Show version information after an web only update
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-09-30 21:04:55 +02:00
cc476a49fe
remove the restartdns functionality and promote the reloaddns functions
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2024-09-24 14:15:15 +01:00
d60ad57cac
Add /etc/pihole/dnsmasq.conf to debug log (stripped-down version)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-09-09 21:37:34 +02:00
333764a7c1
Account for renaming of devel
branch on web
repo
...
Signed-off-by: Christian König <github@yubiuser.dev >
2024-09-04 21:59:43 +02:00
b4444023a2
Wait after restarting FTL before trying to check version
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-09-02 15:54:27 +02:00
e3fc5cc8f2
Make the help text of "pihole checkout [what] [branch]" more colorful ( #5734 )
2024-08-28 08:43:11 +02:00
c26b043c58
Add pihole api [endpoint] callback suitable for local API requests ( #5736 )
2024-08-28 08:36:39 +02:00
cfbf3f61cd
Update advanced/Scripts/database_migration/gravity/16_to_17.sql
...
Co-authored-by: Dominik <DL6ER@users.noreply.github.com >
Signed-off-by: Adam Warner <github@adamwarner.co.uk >
2024-08-26 21:30:12 +01:00
e8582f7740
Add pihole -h and autocompletion entry
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-08-26 19:44:42 +02:00
9e9c985245
FTL checkout: Check for availability of branches before trying to download from the webserver. Also, fix check_download_exists() possibly killing the script on non-availability of requested branches
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-08-26 06:11:42 +02:00