FTL geht nicht und das obwohl ich es erst installiert habe

Hallo,
Ich habe ein Raspberry Pi 3B und Raspbian gerade drauf gemacht und nun habe ich mit Apache einen Webserver erstellt und dann Pi-Hole installiert was alles ohne fehler klappte und nun wenn ich das web ui benutze steht oben FTL offline ist das ein fehler? und dort wo die Statistiken stehen sollten steht "lost connection to api" kann mir jemand helfen?
Port in Iptables hab ich freigegeben.

Lighttp is the default web server with Pi-Hole, and with Apache on port 80 there is a conflict. You can move lighttpd to another port if you wish:

https://discourse.pi-hole.net/t/showing-php-code-instead-of-page/12459/7

Ich habe jetzt Pi-Hole neuinstalliert und als webserver lighttpd gewählt und wenn ich sudo find / -name "lighttpd" mache findet es nichts weder Konfig datei noch sonst was, was mit lighttpd zu tun hat.

I have reinstalled Pi-Hole and used as default server lighttpd but if i used sudo find / -name "lighttpd" it finds nothing.

pi@noads:~ $ sudo find / -name lighttpd
/usr/sbin/lighttpd
/usr/share/doc/lighttpd
/usr/share/lighttpd
/usr/share/lintian/overrides/lighttpd
/usr/lib/lighttpd
/etc/logrotate.d/lighttpd
/etc/lighttpd
/etc/cron.daily/lighttpd
/etc/init.d/lighttpd
/var/cache/lighttpd
/var/log/lighttpd
/run/lighttpd

pi@noads:~ $ whereis lighttpd
lighttpd: /usr/sbin/lighttpd /usr/lib/lighttpd /etc/lighttpd /usr/share/lighttpd /usr/share/man/man8/lighttpd.8.gz

pi@noads:~ $ apt policy lighttpd
lighttpd:
  Installed: 1.4.45-1
  Candidate: 1.4.45-1
  Version table:
 *** 1.4.45-1 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
        100 /var/lib/dpkg/status

pi@noads:~ $ service lighttpd status
● lighttpd.service - Lighttpd Daemon
   Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-02-15 22:25:32 CET; 1 weeks 2 days ago

Raspbian meint das es nicht installiert ist.
Raspbian says not installed.

no output by me

sudo apt install lighttpd

sudo service lighttpd restart

sudo service lighttpd status

lighttpd : Hängt ab von: libssl1.1 (>= 1.1.0) soll aber nicht installiert werden

pi@noads:~ $ apt policy libssl1.1
libssl1.1:
  Installed: 1.1.0f-3+deb9u2
  Candidate: 1.1.0j-1~deb9u1
  Version table:
     1.1.0j-1~deb9u1 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
 *** 1.1.0f-3+deb9u2 100
        100 /var/lib/dpkg/status

sudo apt install libssl1.1


But try run repair instead:

pihole -r

install libssl1.1 gibt: libssl1.1 ist schon die neueste Version zurück.

Pi-hole wurde auch nicht mehr installiert, wenn ich pihole eingebe kommt nicht gefunden.
Obwohl ich das curl -sSL https://install.pi-hole.net | bash schon mehrmals gemacht habe

Run install again and share output here (check for private details etc that you dont want to post).

What should I install again?

curl -sSL https://install.pi-hole.net | bash

Share output please and edit out stuff you dont want to publish!

How can I copy the graphical text installer?

Sorry, try:

curl -sSL https://install.pi-hole.net | bash -x

user@hostname:~ $ curl -sSL https://install.pi-hole.net | bash -x

  • set -e

  • installLogLoc=/etc/pihole/install.log

  • setupVars=/etc/pihole/setupVars.conf

  • lighttpdConfig=/etc/lighttpd/lighttpd.conf

  • coltable=/opt/pihole/COL_TABLE

  • webInterfaceGitUrl=https://github.com/pi-hole/AdminLTE.git

  • webInterfaceDir=/path/admin

  • piholeGitUrl=https://github.com/pi-hole/pi-hole.git

  • PI_HOLE_LOCAL_REPO=/etc/.pihole

  • PI_HOLE_FILES=(chronometer list piholeDebug piholeLogFlush setupLCD update version gravity uninstall webpage)

  • PI_HOLE_INSTALL_DIR=/opt/pihole

  • PI_HOLE_CONFIG_DIR=/etc/pihole

  • useUpdateVars=false

  • adlistFile=/etc/pihole/adlists.list

  • regexFile=/etc/pihole/regex.list

  • IPV4_ADDRESS=

  • IPV6_ADDRESS=

  • QUERY_LOGGING=true

  • INSTALL_WEB_INTERFACE=true

  • PRIVACY_LEVEL=0

  • '[' -z pi ']'
    ++ stty size
    stty: Standardeingabe: Unpassender IOCTL (I/O-Control) für das Gerät
    ++ printf '%d %d' 24 80

  • screen_size='24 80'

  • printf -v rows %d 24

  • printf -v columns %d 80

  • r=12

  • c=40

  • r=20

  • c=70

  • skipSpaceCheck=false

  • reconfigure=false

  • runUnattended=false

  • INSTALL_WEB_SERVER=true

  • [[ -f /opt/pihole/COL_TABLE ]]

  • COL_NC='\e[0m'

  • COL_LIGHT_GREEN='\e[1;32m'

  • COL_LIGHT_RED='\e[1;31m'

  • TICK='[\e[1;32m✓\e[0m]'

  • CROSS='[\e[1;31m✗\e[0m]'

  • INFO='[i]'

  • DONE='\e[1;32m done!\e[0m'

  • OVER='\r\033[K'

  • binary=tbd

  • counter=0

  • [[ '' != true ]]

  • main

  • local 'str=Root user check'

  • printf '\n'

  • [[ 1000 -eq 0 ]]

  • printf ' %b %s\n' '[\e[1;31m✗\e[0m]' 'Root user check'
    [✗] Root user check

  • printf ' %b %bScript called with non-root privileges%b\n' '[i]' '\e[1;31m' '\e[0m'
    [i] Script called with non-root privileges

  • printf ' The Pi-hole requires elevated privileges to install and run\n'
    The Pi-hole requires elevated privileges to install and run

  • printf ' Please check the installer for any concerns regarding this requirement\n'
    Please check the installer for any concerns regarding this requirement

  • printf ' Make sure to download this script from a trusted source\n\n'
    Make sure to download this script from a trusted source

  • printf ' %b Sudo utility check' '[i]'
    [i] Sudo utility check+ is_command sudo

  • local check_command=sudo

  • command -v sudo

  • printf '%b %b Sudo utility check\n' '\r\033[K' '[\e[1;32m✓\e[0m]'
    [✓] Sudo utility check

  • exec curl -sSL https://raw.githubusercontent.com/pi-hole/pi-hole/master/automated%20install/basic-install.sh

  • sudo bash
    stty: Standardeingabe: Unpassender IOCTL (I/O-Control) für das Gerät

    [✓] Root user check

      .;;,.
      .ccccc:,.
       :cccclll:.      ..,,
        :ccccclll.   ;ooodc
         'ccll:;ll .oooodc
           .;cll.;;looo:.
               .. ','.
              .',,,,,,'.
            .',,,,,,,,,,.
          .',,,,,,,,,,,,....
        ....''',,,,,,,'.......
      .........  ....  .........
      ..........      ..........
      ..........      ..........
      .........  ....  .........
        ........,,,,,,,'......
          ....',,,,,,,,,,,,.
             .',,,,,,,,,'.
              .',,,,,,'.
                ..'''.
    

    [i] Existing PHP installation detected : PHP version 7.X.2-3+0~20190208150725.31+stretch~1.gbp0912bd
    [✓] Disk space check
    [✓] Update local cache of available packages

    [✓] Checking apt-get for upgraded packages... 40 updates available
    [i] It is recommended to update your OS after installing the Pi-hole!

    [i] Installer Dependency checks...
    [✓] Checking for apt-utils
    [✓] Checking for dialog
    [✓] Checking for debconf
    [✓] Checking for dhcpcd5
    [✓] Checking for git
    [✓] Checking for iproute2
    [✓] Checking for whiptail

    [i] Using interface: eth0
    [i] Using OpenDNS servers
    [i] Static IP already configured
    [i] Unable to find IPv6 ULA/GUA address, IPv6 adblocking will not be enabled
    [i] IPv4 address: X.X.X.X/24
    [i] IPv6 address:
    [i] Web Interface On
    [i] Web Server On
    [i] Logging On.
    [✓] Check for existing repository in /etc/.pihole
    [✓] Update repo in /etc/.pihole

    [✓] Check for existing repository in /path/admin
    [✓] Update repo in /path/admin/

    [i] Main Dependency checks...
    [✓] Checking for cron
    [✓] Checking for curl
    [✓] Checking for dnsutils
    [✓] Checking for iputils-ping
    [✓] Checking for lsof
    [✓] Checking for netcat
    [✓] Checking for psmisc
    [✓] Checking for sudo
    [✓] Checking for unzip
    [✓] Checking for wget
    [✓] Checking for idn2
    [✓] Checking for sqlite3
    [✓] Checking for libcap2-bin
    [✓] Checking for dns-root-data
    [✓] Checking for resolvconf
    [✓] Checking for libcap2
    [i] Checking for lighttpd (will be installed)
    [✓] Checking for php7.x-common
    [i] Checking for php7.x-cgi (will be installed)
    [i] Checking for php7.x-sqlite3 (will be installed)
    user@hostname:~ $

Ok it seems the install was cut of short before it finished.
Last thing the installer tried was installing those three packages lighttpd, php7.x-cgi and php7.x-sqlite3.
Whats output for below one ?

apt policy lighttpd php7.0-cgi php7.0-sqlite3

First make sure your distro is up to date with below one and no errors are displayed during update/upgrade:

sudo apt update && sudo apt upgrade

Do a reboot after update/upgrade and try install each of those missing packages separately eg.:

sudo apt install lighttpd

sudo apt install php7.0-cgi

sudo apt install php7.0-sqlite3

If any fail to install, post full output for the install's here please ?
And if success, try install Pi-hole again.

:~ $ sudo apt install lighttpd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
lighttpd : Hängt ab von: libssl1.1 (>= 1.1.0) soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.

And output for this bit:

Might want to add libssl1.1 as well now:

apt policy lighttpd php7.0-cgi php7.0-sqlite3 libssl1.1

Did the update/upgrade run without errors ?

If its a fresh Raspbian install, did you install other software that might have caused this failure to install lighttpd ?
Or did you alter something like for example added/removed or changed software repositories ?
Is it a fresh Raspbian setup with nothing else installed besides Pi-hole ?