I'm trying to PR a change to the nfs-utils package via my fork. I had previously forked the repo, and it is listed here:
https://src.fedoraproject.org/user/lorbus/forks
However, my nfs-utils fork is not accessible, nor can I fork the src repo again:
https://src.fedoraproject.org/fork/lorbus/rpms/nfs-utils
Other forks seem fine.
There was one metadata file packed-refs, which was corrupted in the repository. I deleted the file and now the error is gone.
packed-refs
Please check if the fork is in correct state. Even if the fork is somewhat corrupted, you should be able to delete it and fork the repo again.
Metadata Update from @zlopez: - Issue assigned to zlopez - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: low-gain, low-trouble, ops
I'm closing the ticket as the error is gone, please open it again if the issue is still not solved.
Metadata Update from @zlopez: - Issue close_status updated to: Fixed with Explanation - Issue status updated to: Closed (was: Open)
Thank you for looking into it!
I've now got this error on git push:
git push
error: remote unpack failed: unable to create temporary object directory To ssh://pkgs.fedoraproject.org/forks/lorbus/rpms/nfs-utils.git ! [remote rejected] use-preset -> use-preset (unpacker error) error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/forks/lorbus/rpms/nfs-utils.git'
I then deleted the fork, and forked the repo again, but apparently it hadn't been deleted yet under the hood, as I got a message that the repo already exists.
Now there's a warning shown on https://src.fedoraproject.org/fork/lorbus/rpms/nfs-utils saying:
The permissions on this repository are being updated. This may take a while. During this time, you or some of the project's contributors may not be able to push to this repository.
I've waited 10min but it's still there, so I'm not sure whether it's stuck or expected this way. I'm also unable to hit the delete repo button again at this time.
Also still getting the same error on git push
Metadata Update from @lorbus: - Issue status updated to: Open (was: Closed)
I think I fixed all the permissions, try it again.
Still getting the same error, and the warning is still shown on the web ui :(
Metadata Update from @zlopez: - Issue tagged with: src.fp.o
On pkgs01.iad2:
# pagure-admin read-only rpms/nfs-utils --user lorbus --ro false Using configuration file `/etc/pagure/pagure.cfg` The read-only flag of the project forks/lorbus/rpms/nfs-utils has been set to False
It should be fixed now.
Metadata Update from @zlopez: - Issue untagged with: src.fp.o
still getting the error. Should I try to delete the fork again, and re-create?
[lorbus@t14s nfs-utils]$ git push fedora use-preset Enumerating objects: 232, done. Counting objects: 100% (232/232), done. Delta compression using up to 8 threads Compressing objects: 100% (145/145), done. Writing objects: 100% (224/224), 244.32 KiB | 30.54 MiB/s, done. Total 224 (delta 121), reused 146 (delta 79), pack-reused 0 error: remote unpack failed: unable to create temporary object directory To ssh://pkgs.fedoraproject.org/forks/lorbus/rpms/nfs-utils.git ! [remote rejected] use-preset -> use-preset (unpacker error) error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/forks/lorbus/rpms/nfs-utils.git'
Try it, it seems that there was some error during the fork creation.
That worked :tada: Thank you so much for the assistance :)
Metadata Update from @lorbus: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.