Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Added a new block list and updated gravity to block domains
Actual Behaviour:
Gravity error said using local cached copy. Added a different list. Now I have zero blocked domains.
Debug Token:
_[?] Would you like to upload the log? [y/N] y
* Using curl for transmission.
* curl failed, contact Pi-hole support for assistance.
* Error message: curl: error while loading shared libraries: /lib/arm-linux-gnueabihf/libcurl.so.4: invalid ELF header
[✗] There was an error uploading your debug log.
Please try again or contact the Pi-hole team for assistance.
A local copy of the debug log can be found at: /var/log/pihole/pihole_debug.log_
[✓] Building tree
[✓] Swapping databases
[✓] The old database remains available
[i] Number of gravity domains: 0 (0 unique domains)
[i] Number of exact blacklisted domains: 0
[i] Number of regex blacklist filters: 1
[i] Number of exact whitelisted domains: 0
[i] Number of regex whitelist filters: 0
[✓] Cleaning up stray matter
[✓] FTL is listening on port 53
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)
This message shows an issue in your Operating System, not Pi-hole.
The library /lib/arm-linux-gnueabihf/libcurl.so.4 has an invalid ELF header.
This usually means that the file was created for a different architecture, or perhaps the library is corrupted.
This library is responsible for the curl command. curl is used when you upload a debug log. It is also used when you download lists, but because the library is broken, both processes are failing.