Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2023 09:17:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270171] net-mgmt/unifi7: wrong path in UPDATING?
Message-ID:  <bug-270171-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270171

            Bug ID: 270171
           Summary: net-mgmt/unifi7: wrong path in UPDATING?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: otis@FreeBSD.org
          Reporter: jan@glaubitz.org
             Flags: maintainer-feedback?(otis@FreeBSD.org)
          Assignee: otis@FreeBSD.org

I wanted to update the unifi / mongodb version and followed the instructions
from UPDATING. I think the path is not correct:

> 20230310:
>  AFFECTS: users of net-mgmt/unifi7
>  AUTHOR: otis@FreeBSD.org
>
>  The mongodb dependency has been changed from 36 to 44, as MongoDB 3.6
>  is long out out support and end of life.
>
>  The upgrade path should be as following:
>
>  1. Take a backup from within the unifi7 application PRIOR to
>     updating!
>
>  2. Stop the unifi7 service (if running)
>
>  3. Copy the "backup" directory from LOCALBASE/share/java/unifi/data/db
>     to a safe location.
>
>  4. Remove all files and directories under
>     LOCALBASE/share/java/unifi/data/db
>
>  5. Upgrade the package and start the service
>
>  6. Restore the configuration from backup

Step 3: The "backup" directory is under LOCALBASE/share/java/unifi/data/, n=
ot
LOCALBASE/share/java/unifi/data/db.

Step 4: if you just delete the content of the "db" folder you will end up w=
ith
a controller you cant login to and you dont have the option to restore the
backup from step 1. I *think* it should be LOCALBASE/share/java/unifi/data.=
 I
ended up deleting LOCALBASE/share/java/unifi/ and just reinstall everythig =
and
it worked for me.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270171-7788>