[DRE-maint] Bug#1107585: Unable to create new projects with gitlab 17.6.5
Pirate Praveen
praveen at debian.org
Wed Jul 9 14:48:33 BST 2025
On 7/9/25 11:26 AM, Pirate Praveen wrote:
> On Tue, 10 Jun 2025 15:41:07 +0530 Pirate Praveen <praveen at debian.org>
> wrote:
>> On Tue, 10 Jun 2025 14:59:42 +0530 Pirate Praveen <praveen at debian.org>
>> wrote:
>> > Package: gitlab
>> > Version: 17.6.5-15
>> > Severity: grave
>> > Justification: creating projects is a core functionality
>> > > When creating a new project, it fails with the following error.
>> > > The form contains the following error:
>> > > Organization can't be blank
>> > > Also tested with trixie with package from > https://
>> people.debian.org/~praveen/fasttrack-staging/
>> > > This is blocker before we can upload this version to
>> fasttrack.debian.net
>> > >
>> The error in the logs is same as here
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103306#35
>
> Trying to reproduce this error via gitlab api, and generating access
> token gives this error in production.log
>
>
> ActiveRecord::NotNullViolation (PG::NotNullViolation: ERROR: null value
> in column "organization_id" of relation "personal_access_tokens"
> violates not-null constraint
> DETAIL: Failing row contains (2, 1, cli, f, 2025-08-08, 2025-07-09
> 09:23:22.962894, 2025-07-09 09:23:22.962894, ---
>
Work around for this is comment out last three lines of
/usr/share/gitlab/db/fixtures/production/010_settings.rb
and run gitlab-rake db:seed_fu (this creates default organization)
This would break ci for new installations, but better than not able to
create projects.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8F53E0193B294B75.asc
Type: application/pgp-keys
Size: 4938 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20250709/dd88d7e2/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20250709/dd88d7e2/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list