From nobody Mon Mar 13 09:17:08 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PZrdc4gm8z3xRNP for ; Mon, 13 Mar 2023 09:17:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PZrdc3J5Mz3G3L for ; Mon, 13 Mar 2023 09:17:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678699028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ot0jLqOE+UjwguOwIU+8y8HIkn186K5efFtYWXOzfxs=; b=LSQadILxE8gbgR54PyG/tl0QxqJ0X6CfmywZroukHKCXhZKe7hxrYmQeWs6laRU4jAkjY7 U4kLhnkQY7PL55LhzlW3GjGtZy4/J0EeejBEjkvmtKY+4CPBLtWa03cKql7OyBqaaRG37+ ihs7oSoilJLC71rY9ayJI4op0NQFUlQ3oBthWrjfz3kpmyea5kyZzaYTvpSvvlBX9bYjLP dGytjUwimUUw+//+QBGMTHymWJBeyewL7CwJrciXa0A8wnVJTjTYihjzPW60+j6MrWL7Ei hOpptVQs61sZEObiZajNthjo2JDdA7PrEjZVJiQafPZZeUVJ+umruFx2kFs/9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678699028; a=rsa-sha256; cv=none; b=sNJRlvdDqvdKxlWIYIBJ1Xt1ps00Y5PIcaACTGIDSJHb+E5khJVjuS8Y1uA5DOllL1oN5t yzZ0ZtuDd0jyiCUAzHbew1v80a3PbS79ut0I5njAuyTGgZ3l26b0r+KEuRM5yTtvErYHbm USlF2H7S7dvJ0fkDY81a13+KUePix0GVEnCuAVcpPK5VTJCY9hB/ksGoWxyu0FJnN2ahZU QuXaiJ7VFLSFoVVuIsuk95xKiFH3m+W3UmUSmbuKU0v9P4ngrrWmzyW+wD+5ORE2QZvJ1r q4AvFYkqnEjuDusFK5udf0DTTHszxgojkA8BPnlYNyp1P/X7zm4azfHdJ8MFlw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PZrdc2GHbzn3X for ; Mon, 13 Mar 2023 09:17:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32D9H88w047599 for ; Mon, 13 Mar 2023 09:17:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32D9H84X047598 for ports-bugs@FreeBSD.org; Mon, 13 Mar 2023 09:17:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270171] net-mgmt/unifi7: wrong path in UPDATING? Date: Mon, 13 Mar 2023 09:17:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jan@glaubitz.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: otis@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=