Not password error just redirects back to login page

The issue I am facing:
This is what happens, in particular:

1)Web Admin Interface is active and reachable: when I try to log-in I'm redirected on the Dashboard like I'm not logged in. (fewer data, no lateral menu)

  1. If I log-in by CTRL+ENTER then I'm correctly redirected to the Settings panel and the lateral menu shows all the options. But trying to access any other section or simply trying to load the Dashboard leads back to 1)

  2. If I disable password for the WEB Interface via "sudo pihole -a -p" command the interface will show all details but I'm unable to apply any change. If I try to edit something (for example: adding a blacklist entry) the following error is displayed: "Wrong token! Please re-login on the Pi-hole dashboard."

  3. I am in a Docker container using a Raspberry Pi 3+.

Details about my system:
Raspberry 3+ running OMV and docker portainer (PiHole is in a docker)

What I have changed since installing Pi-hole:
1st installation, below yaml file

version: "3"
services:
  PiHole:
    image: pihole/pihole:latest
    container_name: PiHole
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "67:67/udp"
      - "80:80/tcp"
      - "443:443/tcp"
    environment:
      TZ: 'Europe/Rome'
      WEBPASSWORD: '7022/12abc' #Your Password Goes Here
      ServerIP: '192.168.0.100' #Your Server IP Goes Here
    # Volumes store your data between container upgrades
    volumes:
      - '/srv/dev-disk-by-uuid-1CC0E736C0E714B4/PiHole/config/etc-pihole/:/etc/pihole/'
      - '/srv/dev-disk-by-uuid-1CC0E736C0E714B4/PiHole/config/etc-dnsmasq.d/:/etc/dnsmasq.d/'
    cap_add:
      - NET_ADMIN
    restart: unless-stopped

Not sure whether this would contribute, but ServerIP has been deprecated.
Try using FTLCONF_REPLY_ADDR4 instead.

I've changed ServerIP in FTLCONF_REPLY_ADDR4 but no change occurred (please update https://hub.docker.com/r/pihole/pihole accordingly).

It changed the login page (no login page but a redirect link "Pi- hole : Your black hole for Internet advertisements Did you mean to go to the admin panel?").

When I click redirecting link I landed in Setting Panel without any login request.

If I try to edit something (for example: adding a blacklist entry) the following error is displayed: "Wrong token! Please re-login on the Pi-hole dashboard."

This sounds like a browser issue.
Did you try clearing your browser's cache?

I check on the documentation I found port 443 is no more necessary.
I have removed it from the YAML file and now it seems everything works ok.
No more change after I have changed ServerIP variable in FTLCONF_REPLY_ADDR4

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.