From nobody Fri Jan 12 19:43:44 2024 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 4TBX5s3gPlz56CgX for ; Fri, 12 Jan 2024 19:43:45 +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 4TBX5s1ZhWz4DpQ for ; Fri, 12 Jan 2024 19:43:45 +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=1705088625; 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=vO/J/8HZx8dlkW72NtTZYzEiyKLfNy7NFes1Bcd+fqM=; b=AGwdpl45yerpu6zaoEBz7Kl0j4Tn752D2H4wTBG/vThChUjfSp7zW2jFiRJvaiGLaB0SjF n5E6klJckVxbMPzhsD0uQHePe7SYXi+FO+aUw7Ein79N854vCFZAnngS0pKzfIZaN52a9B 2D7giaqjqfgC8KSchg8ikwiBG1+zID3ihR+wLMazaoKy9PDZ8SzLSrHfRGvPomm1VVHGIv cznATyrAqoBsQF/yiNdMwkdAxr0KB5xDF29UcUJ6BRgQFtOziVUcOezOji7IHU1skyAUiP D8tY5EgVLPfDfw0/WTkXuDSTA6isVGez9yfZnbshjYpQnCX1HUtJgXl8+2Kknw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705088625; a=rsa-sha256; cv=none; b=Pfdc4FfUml6yNj0CPE74kPnNczqy6+rKszJzcQ1prj97lZdU7I8aJnDXHMCQmHp9Dqy0qX GNPIa/ylITisjortZqd9l/O3OpENQtYoqzzwVAFSbmfr9/LUyxUESSdGyzABhGzz+mySiV clYkaky+8N+c2n4bLj5Um/s9Az4PFZdzun4teWhEoajmwX4CAiPZEc92bcEhASBq7X8QBV c03S7BsmAD9hHFXD79SeQiV11szGb+4wNcmMkBbPPR8txPpCSEq6H8IQjkqWfXTmJ79hHg GOfN0e9UooCcvirf3hLOoNBHOG35jd2AUvk+fhZ5IQ0SeMpafb/9owvG3mjv5g== 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 4TBX5s0gkZz1FQR for ; Fri, 12 Jan 2024 19:43:45 +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 40CJhjbG077661 for ; Fri, 12 Jan 2024 19:43:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40CJhjDJ077656 for ports-bugs@FreeBSD.org; Fri, 12 Jan 2024 19:43:45 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 276279] www/gitlab-ce 16.7.0 and 16.7.2 - database migration script fails Date: Fri, 12 Jan 2024 19:43:44 +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 Only Me X-Bugzilla-Who: laurent@daverio.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mfechner@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276279 Bug ID: 276279 Summary: www/gitlab-ce 16.7.0 and 16.7.2 - database migration script fails Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mfechner@FreeBSD.org Reporter: laurent@daverio.net Flags: maintainer-feedback?(mfechner@FreeBSD.org) Assignee: mfechner@FreeBSD.org After updating Gitlab CE 16.6 to 16.7.0 (the process took several days, as = many gem files were initially missing from distfiles), I proceeded to run the upgrade scripts, as per the usual procedure. The DB migration script failed with the following error message: ``` PG::DuplicateColumn: ERROR: column "name" of relation "catalog_resources" already exists /usr/local/www/gitlab-ce/db/migrate/20231019180421_add_name_description_to_= catalog_resources.rb:11:in `up' ``` I let things sleep. Today, Gitlab CE 16.7.2 came up in the ports tree, so I attempted the upgrade again. The same message appeared. So, I commented out the indicated line, and re-ran the script : ``` PG::DuplicateColumn: ERROR: column "description" of relation "catalog_resources" already exists /usr/local/www/gitlab-ce/db/migrate/20231019180421_add_name_description_to_= catalog_resources.rb:12:in `up' ``` I commented out that line again, and gave it a third try. This time, the er= ror message is different: ``` PG::UndefinedFile: ERROR: could not access file "$libdir/pg_trgm": No such file or directory /usr/local/www/gitlab-ce/lib/gitlab/database/migration_helpers.rb:122:in `b= lock in add_concurrent_index' ``` Gitlab seems to be running without the migration, at least the projects lis= t. At the moment I'm not sure what functions, if any, are impacted. --=20 You are receiving this mail because: You are the assignee for the bug.=