On 7/9/25 11:26 AM, Pirate Praveen wrote:
On Tue, 10 Jun 2025 15:41:07 +0530 Pirate Praveen <prav...@debian.org> wrote:
On Tue, 10 Jun 2025 14:59:42 +0530 Pirate Praveen <prav...@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.

Attachment: OpenPGP_0x8F53E0193B294B75.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to