Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 4.x ONLY - FTL not updating to v5.19.2 after "p4a-install" #36

Closed
FDisk80 opened this issue Nov 19, 2022 · 11 comments
Closed

Android 4.x ONLY - FTL not updating to v5.19.2 after "p4a-install" #36

FDisk80 opened this issue Nov 19, 2022 · 11 comments

Comments

@FDisk80
Copy link

FDisk80 commented Nov 19, 2022

[✓] Update complete!

/etc/pihole/versions: line 14: invalid: command not found
/etc/pihole/versions: line 15: Command:: command not found
/etc/pihole/versions: line 16: Try: command not found

Cloning into 'FTL'...sion is v5.14.1
remote: Enumerating objects: 295, done.
remote: Counting objects: 100% (295/295), done.
remote: Compressing objects: 100% (279/279), done.
remote: Total 295 (delta 25), reused 105 (delta 12), pack-reused 0
Receiving objects: 100% (295/295), 3.38 MiB | 104.00 KiB/s, done.
Resolving deltas: 100% (25/25), done.

Building pihole-FTL from source. This will take a few minutes...

/etc/pihole/versions: line 14: invalid: command not found
/etc/pihole/versions: line 15: Command:: command not found
/etc/pihole/versions: line 16: Try: command not found

Pi-hole version is v5.14.1 (Latest: v5.14.1)
AdminLTE version is v5.17 (Latest: v5.17)
FTL version is v5.16.3 (Latest: v5.19.2)
[✓] FTL is listening on port 53
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)

[✓] Pi-hole blocking is enabled

@FDisk80
Copy link
Author

FDisk80 commented Nov 20, 2022

Should I start from scratch with the new Pi Deploy installation method? Or is it possible to fix with previous installation method?

@DesktopECHO
Copy link
Owner

Hi I'm looking into this... Ideally if you're on Android 5.x or newer, go with the new Pi Deploy package.

I'm not seeing your reported issue but I do have a problem compiling pihole-FTL due to a new build dependency upstream.

@DesktopECHO
Copy link
Owner

DesktopECHO commented Nov 20, 2022

Looks like pihole-FTL v5.19 requires Nettle 3.4.1
CentOS 7 ships with 2.7-ish

image

@FDisk80
Copy link
Author

FDisk80 commented Nov 20, 2022

Yea, I went with a new deploy and everything is working fine. Thanks.
No point no more sticking with CentOS 7.

@DesktopECHO
Copy link
Owner

Good to hear, thanks for the feedback.

@DesktopECHO
Copy link
Owner

For Legacy Android 4.x devices, run:

sudo rpm -ivh https://github.com/DesktopECHO/Pi-hole-for-Android/raw/legacy/rpm/nettle-3.4.1-7.el7.armv7hl.rpm https://github.com/DesktopECHO/Pi-hole-for-Android/raw/legacy/rpm/nettle-devel-3.4.1-7.el7.armv7hl.rpm --force

Re-run p4a-install and pihole-FTL will compile normally.

@DesktopECHO DesktopECHO pinned this issue Nov 20, 2022
@DesktopECHO DesktopECHO changed the title Errors when checking for version and FTL not updating to v5.19.2 after "p4a-install" FTL not updating to v5.19.2 after "p4a-install" Nov 20, 2022
@DesktopECHO DesktopECHO changed the title FTL not updating to v5.19.2 after "p4a-install" Android 4.x ONLY - FTL not updating to v5.19.2 after "p4a-install" Nov 20, 2022
@nikhilk0
Copy link

Getting below error when running p4a-install on android 4.4

image

I have updated Nettle as suggested above.

@DesktopECHO
Copy link
Owner

These are just (new) warnings but harmless... the build should finish successfully.

@nikhilk0
Copy link

Looks like 512mb ram isn't enough to perform this update operation. My phone got super slow while updating. I waited for about 20 mins but the ssh connection closed automatically.

Looks like the end of road for 4.x devices. I had a good run with this project on this device. But it looks like I'll need to find alternate solutions. Either a newer distro or newer device.

@DesktopECHO
Copy link
Owner

DesktopECHO commented Nov 21, 2022

Reboot your device and start fresh - it could take that long or longer on a device so resource constrained.
It may take a couple of tries but it should work.
If your SSH connection is being dropped you can try temporarily enabling the telnet server (and disable localhost only).
Telnet in on 5023 and run linuxdeploy shell
You'll be dropped into the chroot and re-try p4a-install from there.

@Adel0201
Copy link

Adel0201 commented Jun 2, 2023

Hey

I am running pihole on android 4.1

and I ran this command: sudo rpm -ivh https://github.com/DesktopECHO/Pi-hole-for-Android/raw/legacy/rpm/nettle-3.4.1-7.el7.armv7hl.rpm https://github.com/DesktopECHO/Pi-hole-for-Android/raw/legacy/rpm/nettle-devel-3.4.1-7.el7.armv7hl.rpm --force

and then "p4a-install" but i still getting errors.

/etc/pihole/versions: line 14: invalid: command not found
/etc/pihole/versions: line 15: Command:: command not found
/etc/pihole/versions: line 16: Try: command not found

should I be worried?

FTL_HASH=pihole-FTL: invalid option -- '--hash'
Command: 'pihole-FTL --hash'
Try 'pihole-FTL --help' for more information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants