gitlab with relative url - ssh push error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

Anyone has a working gitlab installation that uses relative url (https://host/gitlab) ?

I am new to gitlab and tried to install and configure it using wiki instructions[1]
Then I followed gitlab instruction how to setup subpath[2]

Web interface works. I created empty project and tried to push my local repo there and get:

[zork@serenity]$ git push gitlab --all
Enumerating objects: 33558, done.
Counting objects: 100% (33558/33558), done.
Delta compression using up to 8 threads
Compressing objects: 100% (8908/8908), done.
Writing objects: 100% (33558/33558), 509.84 MiB | 46.73 MiB/s, done.
Total 33558 (delta 26528), reused 30840 (delta 24311), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (26528/26528), done.
remote: GitLab: Internal API error (404)
To host.pl:repogroup/backend.git
 ! [remote rejected]   case_8546 -> case_8546 (pre-receive hook declined)
 ! [remote rejected]   devel -> devel (pre-receive hook declined)
 ! [remote rejected]   master -> master (pre-receive hook declined)
 ! [remote rejected]   prices_roles -> prices_roles (pre-receive hook declined)

No idea from where this "Internal API error (404)" comes from.

I already disabled global branch protection and do not have any branch rules in project repo.

There are no errors in /var/log/gitlab-shell.json, last lines are:

time="2024-08-29T12:54:08Z" level=info msg="Finished HTTP request" content_length_bytes=690 correlation_id=01J6F36KG65FG3DN7NX3JEFX9H duration_ms=100ns method=POST status=200 url="http://unix/gitlab/api/v4/internal/allowed"; time="2024-08-29T12:54:08Z" level=info msg="executing git command" command=git-receive-pack correlation_id=01J6F36KG65FG3DN7NX3JEFX9H git_protocol= gl_key_id=1 gl_key_type=key gl_project_path=repogroup/backend gl_repository=project-1 remote_ip=10.21.42.199 user_id=user-2 username=mcl

Any idea what can I debug next?

Regards,
Łukasz

[1] https://wiki.archlinux.org/title/GitLab
[2] https://docs.gitlab.com/ee/install/relative_url.html



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux