[Bug 269083] www/adguardhome: fails to start properly after upgrading

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Jan 2023 17:50:12 UTC

            Bug ID: 269083
           Summary: www/adguardhome: fails to start properly after
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: bsd@j-star.org
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

which fixes bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268890
introduces an unwanted behaviour: existing adguardhome installations do not
restart properly when upgraded, but instead revert to the configuration wizard.
This makes sense, since the configuration files are not in the new expected

The new behaviour of having the configuration in a more reasonable place is
clearly better. I wonder whether a note should be added to UPDATING flagging
that existing installations will break, and giving the steps required to

mv /usr/local/bin/AdGuardHome.yaml  /usr/local/etc/
# If adguardhome has been started since upgrade
rm -rf /var/db/adguardhome/data/
mv /usr/local/bin/data/ /var/db/adguardhome/data

You are receiving this mail because:
You are the assignee for the bug.