Recent update has cause connection to API issues. Also "Failed to Fork"

The issue I am facing:
After update, I get this error on home screen:

Details about my system:

What I have changed since installing Pi-hole:

I have done "sudo apt update", upgraded to Bullseye,

root(at)pihole:~# sudo apt update
sudo: unable to resolve host pihole: Name or service not known
Get:1  ftp.us.debian.org/debian bullseye InRelease [116 kB]                             
Get:2 security.debian.org bullseye-security InRelease [48.4 kB]                          
Get:3 deb.debian.org/debian bullseye-updates InRelease [44.1 kB]                         
Get:4 ftp.us.debian.org/debian bullseye/main armel Packages [7776 kB]                    
Get:5 security.debian.org bullseye-security/main armel Packages [240 kB]                 
Get:6 deb.debian.org/debian bullseye-updates/main armel Packages [14.9 kB]               
Fetched 8240 kB in 47s (173 kB/s)                                                               
Killedg package lists... 71%
root(at)pihole:~#  

Debug log removed by developer for privacy.

root(at)pihole:~# sudo apt update
sudo: unable to resolve host pihole: Name or service not known
Get:1 ftp.us.debian.org/debian bullseye InRelease [116 kB]                             
Get:2 security.debian.org bullseye-security InRelease [48.4 kB]                          
Get:3 deb.debian.org/debian bullseye-updates InRelease [44.1 kB]                         
Get:4 tp.us.debian.org/debian bullseye/main armel Packages [7776 kB]                    
Get:5 security.debian.org bullseye-security/main armel Packages [240 kB]                 
Get:6 deb.debian.org/debian bullseye-updates/main armel Packages [14.9 kB]               
Fetched 8240 kB in 47s (173 kB/s)                                                               
Killedg package lists... 71%
root@pihole:~# 
root(at)pihole:~# sudo apt upgrade
sudo: unable to resolve host pihole: Name or service not known
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  adduser avahi-daemon base-files bind9-dnsutils bind9-host bind9-libs cpio curl dbus
  debian-archive-keyring distro-info-data dnsutils dpkg dpkg-dev file git git-man grep
  isc-dhcp-client libavahi-common-data libavahi-common3 libavahi-core7 libblas3 libbsd0
  libc-bin libc-dev-bin libc6 libc6-dev libcurl3-gnutls libcurl4 libdbus-1-3 libdpkg-perl
  libexpat1 libgnutls30 libgssapi-krb5-2 libjson-c5 libk5crypto3 libkrb5-3 libkrb5support0
  libksba8 liblua5.3-0 libmagic-mgc libmagic1 libncurses5 libncurses6 libncursesw5 libncursesw6
  libssl1.1 libsystemd0 libtasn1-6 libtinfo5 libtinfo6 libudev1 libunbound8 libxml2 lighttpd
  linux-libc-dev nano ncurses-base ncurses-bin openssh-client openssh-server
  openssh-sftp-server openssl php7.4-cgi php7.4-cli php7.4-common php7.4-intl php7.4-json
  php7.4-opcache php7.4-readline php7.4-sqlite3 php7.4-xml sudo systemd systemd-sysv tzdata
  udev unbound unbound-anchor
80 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 47.1 MB of archives.
After this operation, 383 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
FATAL -> Failed to fork.
root(at)pihole:~# 

Removed all http's and at symbols due to being new user

This is an Operating System error.

This could mean you are out of memory. Did you tried to restart?

Sorry, I forgot to mention that. I have turned it off completely multiple times and cleared a couple logs out. I have been working on this for about a month or two now and googling has failed me. I found that that FATAL fork issue could basically be anything on google searches and each time I found it, they said "post your debug" to the OP on those threads.

Your problem is at the OS level. It may be time for a fresh OS on a fresh SD card.

I have been thinking it is that but I haven't found a command that will do that. For some reason I can not bulk transfer all the files from my pi to my mac (and vice versa) with Termius, using SFTP. I have been slowly doing it one file at a time but this has been taking a painstakingly long time. I tried popping the SD card into my mac and my mac will not read it. My windows is down right now due to a fire so I haven't been able to go that route.

For Pi-hole specifically, you can export your settings all at once using the teleporter function. Then, on your new Pi-hole install, restore these settings.

I thought you said it was an OS issue though?

Your problem is an OS issue. When you flash a new SD card (or reflash the one you are using), you will lose all your Pi-hole settings.

So, use the teleporter to save these settings, so when you get the new install of Pi-hole on the new OS (or new card), you can restore your Pi-hole settings.

Just curious - why are you using Termius to access the files on the Pi? You have a full terminal in the Mac, and you can ssh directly into the Pi from that platform.

You can use this command (substitute your own specific values) on the Pi terminal (not in a ssh session, but directly in the terminal) to directly copy files from the Pi to the Mac:

scp username@hostname:/path/to/remote/file /path/to/local/file

You have the command to reflash it?

There is no single command to reflash an OS. Typically you would use something like Balena Etcher or Raspberry Pi imager to put an OS on an SD card.

From there, mount the card in the Pi, ssh in and install Pi-hole.

This is the error I get when I attempt to plug the SD card into my mac. Ignore and initialize seem to do nothing.

This is what the initialize screen looks like:

The "first aid" and "erase" do nothing. It shows it is capped on storage but SFTP showed it having room, clearing logs also cleared 2 gigs of data

Edit:


~ # sudo apt update && sudo apt upgrade -y
-sh: sudo: not found
~ #

Managed to make things worse lol

-sh: sudo: not found
~ # apt get
-sh: apt: not found
~ # help
-sh: help: not found
~ # hello world
-sh: hello: not found
~ # root
-sh: root: not found
~ # log
-sh: log: not found
~ # cd
~ # root
-sh: root: not found
~ # cd /boot
-sh: cd: can't cd to /boot
~ # reboot~ # log
-sh: log: not found
~ # -help
-sh: -help: not found
~ # help
-sh: help: not found
~ # pdate && sudo apt upgrade -y
-sh: pdate: not found
~ # sudo apt update && sudo apt upgrade -y
-sh: sudo: not found
~ # apt
-sh: apt: not found
~ # APT
-sh: APT: not found
~ # ls
~ # a
-sh: a: not found
~ # Uname
-sh: Uname: not found
~ # touch
BusyBox v1.16.1 (2011-08-23 13:02:26 PDT) multi-call binary.

Usage: touch [-c] [-d DATE] FILE [FILE]...

~ # cd /
/ # cd root
~ # Uname
-sh: Uname: not found
~ # ipconfig eth0
-sh: ipconfig: not found
~ # passwd
Changing password for root
New password:
Retype password:
passwd: /etc/passwd: Read-only file system
passwd: can't update password file /etc/passwd
~ # tail -f /var/log/syslog
tail: can't open '/var/log/syslog': No such file or directory
tail: no files
~ #

~ # scp
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
~ #

Its what I use on my iphone and what I used on my android before the fire. Its just a name I am familiar with. I am used to doing everything on my phone but I couldn't plug the SD card into my phone so I used my mac. The person who helped me build this, thats also what they taught me to use before the 2020 incident. I installed bullseye using the terminal after pihole required I update, that worked for months with no issues but the update a month or two ago completely killed it for some reason

Also, I can make it :sparkles:PINK​:sparkles:

Since you are running Pi-hole and it's on a Pi, did you install this on the Pi, or did somebody else do the install?

Since you are running Pi-hole and it's on a Pi, did you install this on the Pi, or did somebody else do the install?

The person who did the install is dead, they walked me through how to do it but this was years ago. It is a pogoplug V4. Originally running Buster but then the prev issue then updated to bullseye in command line.

I was editing that last message as you was replying, sorry

Died from covid in March 2020

They walked me through how to do it a year or two prior to then and I had been maintaining it since.

I am flashing linux-6.4.11-kirkwood-tld-1-bodhi.tar.bz2 now instead of the debian OS even though debian was what was there before

That yielded the same results of "all commands not working"

Now trying: Debian-jessie-3.18.5-pogoplug-v4-20151110-disk-image.4GB.img.zip

-bash: sudo: command not found
root@debian:~# apt update
Ign http://security.debian.org jessie/updates InRelease
Ign http://security.debian.org jessie/updates Release.gpg
Ign http://security.debian.org jessie/updates Release
Ign http://security.debian.org jessie/updates/main armel Packages/DiffIndex
Ign http://security.debian.org jessie/updates/contrib armel Packages/DiffIndex
Ign http://ftp.us.debian.org jessie InRelease
Ign http://ftp.us.debian.org jessie Release.gpg
Ign http://ftp.us.debian.org jessie Release
Ign http://ftp.us.debian.org jessie/main armel Packages/DiffIndex
Ign http://security.debian.org jessie/updates/non-free armel Packages/DiffIndex
Ign http://http.debian.net jessie-updates InRelease
Ign http://ftp.us.debian.org jessie/main Translation-en
Err http://ftp.us.debian.org jessie/main armel Packages
404 Not Found [IP: 208.80.154.139 80]
Ign http://http.debian.net jessie-updates Release.gpg
Ign http://http.debian.net jessie-updates Release
Ign http://http.debian.net jessie-updates/main armel Packages/DiffIndex
Ign http://security.debian.org jessie/updates/contrib Translation-en
Ign http://security.debian.org jessie/updates/main Translation-en
Ign http://security.debian.org jessie/updates/non-free Translation-en
Err http://security.debian.org jessie/updates/main armel Packages
404 Not Found [IP: 151.101.194.132 80]
Ign http://http.debian.net jessie-updates/contrib armel Packages/DiffIndex
Err http://security.debian.org jessie/updates/contrib armel Packages
404 Not Found [IP: 151.101.194.132 80]
Err http://security.debian.org jessie/updates/non-free armel Packages
404 Not Found [IP: 151.101.194.132 80]
Ign http://http.debian.net jessie-updates/contrib Translation-en
Ign http://http.debian.net jessie-updates/main Translation-en
Err http://http.debian.net jessie-updates/main armel Packages
404 Not Found [IP: 146.75.86.132 80]
Err http://http.debian.net jessie-updates/contrib armel Packages
404 Not Found [IP: 146.75.86.132 80]
W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-armel/Packages 404 Not Found [IP: 151.101.194.132 80]

W: Failed to fetch http://security.debian.org/dists/jessie/updates/contrib/binary-armel/Packages 404 Not Found [IP: 151.101.194.132 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie/main/binary-armel/Packages 404 Not Found [IP: 208.80.154.139 80]

W: Failed to fetch http://security.debian.org/dists/jessie/updates/non-free/binary-armel/Packages 404 Not Found [IP: 151.101.194.132 80]

W: Failed to fetch http://http.debian.net/debian/dists/jessie-updates/main/binary-armel/Packages 404 Not Found [IP: 146.75.86.132 80]

W: Failed to fetch http://http.debian.net/debian/dists/jessie-updates/contrib/binary-armel/Packages 404 Not Found [IP: 146.75.86.132 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@debian:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debian:~#

root@debian:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debian:~# apt-get update
Ign http://security.debian.org jessie/updates InRelease
Ign http://security.debian.org jessie/updates Release.gpg
Ign http://security.debian.org jessie/updates Release
Ign http://security.debian.org jessie/updates/main armel Packages/DiffIndex
Ign http://security.debian.org jessie/updates/contrib armel Packages/DiffIndex
Ign http://security.debian.org jessie/updates/non-free armel Packages/DiffIndex
Ign http://ftp.us.debian.org jessie InRelease
Ign http://ftp.us.debian.org jessie Release.gpg
Ign http://ftp.us.debian.org jessie Release
Ign http://ftp.us.debian.org jessie/main armel Packages/DiffIndex
Ign http://http.debian.net jessie-updates InRelease
Ign http://ftp.us.debian.org jessie/main Translation-en
Err http://ftp.us.debian.org jessie/main armel Packages
404 Not Found [IP: 64.50.233.100 80]
Ign http://http.debian.net jessie-updates Release.gpg
Ign http://http.debian.net jessie-updates Release
Ign http://security.debian.org jessie/updates/contrib Translation-en
Ign http://security.debian.org jessie/updates/main Translation-en
Ign http://security.debian.org jessie/updates/non-free Translation-en
Err http://security.debian.org jessie/updates/main armel Packages
404 Not Found [IP: 151.101.194.132 80]
Err http://security.debian.org jessie/updates/contrib armel Packages
404 Not Found [IP: 151.101.194.132 80]
Err http://security.debian.org jessie/updates/non-free armel Packages
404 Not Found [IP: 151.101.194.132 80]
Ign http://http.debian.net jessie-updates/main armel Packages/DiffIndex
Ign http://http.debian.net jessie-updates/contrib armel Packages/DiffIndex
Ign http://http.debian.net jessie-updates/contrib Translation-en
Ign http://http.debian.net jessie-updates/main Translation-en
Err http://http.debian.net jessie-updates/main armel Packages
404 Not Found [IP: 151.101.54.132 80]
Err http://http.debian.net jessie-updates/contrib armel Packages
404 Not Found [IP: 151.101.54.132 80]
W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-armel/Packages 404 Not Found [IP: 151.101.194.132 80]

W: Failed to fetch http://security.debian.org/dists/jessie/updates/contrib/binary-armel/Packages 404 Not Found [IP: 151.101.194.132 80]

W: Failed to fetch http://security.debian.org/dists/jessie/updates/non-free/binary-armel/Packages 404 Not Found [IP: 151.101.194.132 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie/main/binary-armel/Packages 404 Not Found [IP: 64.50.233.100 80]

W: Failed to fetch http://http.debian.net/debian/dists/jessie-updates/main/binary-armel/Packages 404 Not Found [IP: 151.101.54.132 80]

W: Failed to fetch http://http.debian.net/debian/dists/jessie-updates/contrib/binary-armel/Packages 404 Not Found [IP: 151.101.54.132 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@debian:~#

root@debian:~# curl -sSL https://install.pi-hole.net | bash
-bash: curl: command not found
root@debian:~# git clone --depth 1 GitHub - pi-hole/pi-hole: A black hole for Internet advertisements Pi-hole
-bash: git: command not found
root@debian:~# cd "Pi-hole/automated install/"
-bash: cd: Pi-hole/automated install/: No such file or directory
root@debian:~# sudo bash basic-install.sh
-bash: sudo: command not found
root@debian:~# wget -O basic-install.sh https://install.pi-hole.net
converted 'https://install.pi-hole.net' (ANSI_X3.4-1968) -> 'https://install.pi-hole.net' (UTF-8)
--2023-10-17 18:33:15-- https://install.pi-hole.net/
Resolving install.pi-hole.net (install.pi-hole.net)... 164.90.255.4
Connecting to install.pi-hole.net (install.pi-hole.net)|164.90.255.4|:443... connected.
ERROR: The certificate of 'install.pi-hole.net' is not trusted.
ERROR: The certificate of 'install.pi-hole.net' hasn't got a known issuer.
root@debian:~# sudo bash basic-install.sh
-bash: sudo: command not found
root@debian:~# wget -O basic-install.sh https://install.pi-hole.net
converted 'https://install.pi-hole.net' (ANSI_X3.4-1968) -> 'https://install.pi-hole.net' (UTF-8)
--2023-10-17 18:33:25-- https://install.pi-hole.net/
Resolving install.pi-hole.net (install.pi-hole.net)... 164.90.255.4
Connecting to install.pi-hole.net (install.pi-hole.net)|164.90.255.4|:443... connected.
ERROR: The certificate of 'install.pi-hole.net' is not trusted.
ERROR: The certificate of 'install.pi-hole.net' hasn't got a known issuer.
root@debian:~#

root@debian:~# curl -sSLk https://install.pi-hole.net | bash
-bash: curl: command not found
root@debian:~# host install.pi-hole.net

install.pi-hole.net is an alias for docker-2-ny1.pi-hole.net.
docker-2-ny1.pi-hole.net has address 164.90.255.4
root@debian:~# install.pi-hole.net is an alias for guinan.pi-hole.io.
-bash: install.pi-hole.net: command not found
root@debian:~# guinan.pi-hole.io has address 78.46.180.80
-bash: guinan.pi-hole.io: command not found
root@debian:~# guinan.pi-hole.io has IPv6 address 2a01:4f8:1c17:4605::1
-bash: guinan.pi-hole.io: command not found
root@debian:~# ~ $ host install.pi-hole.net
-bash: /root: Is a directory
root@debian:~# install.pi-hole.net is an alias for guinan.pi-hole.io.
-bash: install.pi-hole.net: command not found
root@debian:~# guinan.pi-hole.io has address 78.46.180.80
-bash: guinan.pi-hole.io: command not found
root@debian:~# guinan.pi-hole.io has IPv6 address 2a01:4f8:1c17:4605::1
-bash: guinan.pi-hole.io: command not found
root@debian:~#
root@debian:~# ~ $ host install.pi-hole.net
-bash: /root: Is a directory
root@debian:~# install.pi-hole.net is an alias for guinan.pi-hole.io.
-bash: install.pi-hole.net: command not found
root@debian:~# guinan.pi-hole.io has address 78.46.180.80
-bash: guinan.pi-hole.io: command not found
root@debian:~# guinan.pi-hole.io has IPv6 address 2a01:4f8:1c17:4605::1
-bash: guinan.pi-hole.io: command not found
root@debian:~#
root@debian:~#
root@debian:~#
root@debian:~#
root@debian:~#
root@debian:~#
root@debian:~#
root@debian:~# date
Tue Oct 17 18:35:55 PDT 2023
root@debian:~# ~$ host install.pi-hole.net
-bash: ~$: command not found
root@debian:~# install.pi-hole.net is an alias for guinan.pi-hole.io.
-bash: install.pi-hole.net: command not found
root@debian:~# guinan.pi-hole.io has address 78.46.180.80
-bash: guinan.pi-hole.io: command not found
root@debian:~# guinan.pi-hole.io has IPv6 address 2a01:4f8:1c17:4605::1
-bash: guinan.pi-hole.io: command not found
root@debian:~#
root@debian:~#