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

AGH v0.107.29 on Docker doesn't work #5751

Closed
3 tasks done
boardlord1 opened this issue Apr 19, 2023 · 5 comments
Closed
3 tasks done

AGH v0.107.29 on Docker doesn't work #5751

boardlord1 opened this issue Apr 19, 2023 · 5 comments
Labels
duplicate Duplicate or merged issues.

Comments

@boardlord1
Copy link

boardlord1 commented Apr 19, 2023

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to report a bug and not ask a question

Operating system type

Linux, Other (please mention the version in the description)

CPU architecture

AMD64

Installation

Docker

Setup

On one machine

AdGuard Home version

0.107.29

Description

What did you do?

I've updated AGH via Portainer as usual (recreate image by re-pulling). I've been using AGH On Synology NAS for many months without problems.

Expected result

Like mane times before, a simple update.

Actual result

The logs don't display any errors, AGH starts, binds addresses successfully.

However, it doesn't resolve addresses, and the AGH GUI doesn't load on 192.168.7.124:8080 - just times out.

Screenshots (if applicable)

Additional information

My Docker compose in my stack for AGH

  adguard:
    image: adguard/adguardhome
    container_name: "adguardhome"
    cap_add:
      - NET_ADMIN
    networks:
      composemacvlan:
        ipv4_address: 192.168.7.124
    environment:
      - PGID=100
      - PUID=1037
      - TZ=Europe/Budapest
    privileged: true
    volumes:
      - "/volume1/docker/adguard/conf:/opt/adguardhome/conf:rw"
      - "/volume1/docker/adguard/work:/opt/adguardhome/work:rw"
@ainar-g
Copy link
Contributor

ainar-g commented Apr 19, 2023

Portainer is most likely affected by the same thing as #5711 and #5713. It seems like some Docker-related software doesn't automatically update entrypoints, and so the container must be removed and added again for such software to register the change.

@ainar-g ainar-g closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2023
@ainar-g ainar-g added the duplicate Duplicate or merged issues. label Apr 19, 2023
@boardlord1
Copy link
Author

@ainar-g I don't have a problem with AGH v0.107.28 - that's what I've downgraded to to make it work again. Only happened with v0.107.29. And as I said it didn't say in the logs "[FATAL tini (7)] exec -h failed: No such file or directory". JaZo's suggestion to change the cmd to isn't relevant as that's what Portainer tells me it's correct:
image

@ainar-g ainar-g added waiting for data Waiting for users to provide more data. and removed duplicate Duplicate or merged issues. labels Apr 19, 2023
@ainar-g ainar-g reopened this Apr 19, 2023
@ainar-g
Copy link
Contributor

ainar-g commented Apr 19, 2023

I see. If you enable verbose logs, do you see any additional messages like warnings? Is AdGuard Home available from inside the container?

@boardlord1
Copy link
Author

Wow... Talk about ghost in the machine!

In order to gather data for you, I stopped v0.107.28, deleted container and image, and re-deployed my stack with v0.107.29. And now it works... So this must have been a fluke, I'll close this as solved now.

@EugeneOne1 EugeneOne1 removed the waiting for data Waiting for users to provide more data. label Apr 19, 2023
@ainar-g ainar-g added the duplicate Duplicate or merged issues. label Apr 19, 2023
@boardlord1
Copy link
Author

@ainar-g Found the exact issue, it was portainer's fault. When I updated my Plex container a few days ago (recreate the container with the "pull the latest image" toggle enabled), the new container listened on a different IP address to the one specified in the docker compose file (192.168.7.112 vs .123). I'm pretty sure that's what happened with my AGH when I opened this issue.

So in all, portainer bug for sure.

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

No branches or pull requests

4 participants
@ainar-g @boardlord1 @EugeneOne1 and others