# Registration via Juliahub does not generate github package release

**URL:** <https://discourse.julialang.org/t/registration-via-juliahub-does-not-generate-github-package-release/83728>\
**Category:** Package Management\
**Created:** [July 4, 2022, 8:08am UTC](https://discourse.julialang.org/t/registration-via-juliahub-does-not-generate-github-package-release/83728 "2022-07-04T08:08:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartinOtter](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@MartinOtter](https://discourse.julialang.org/u/MartinOtter)\
**Post date:** [July 4, 2022, 8:08am UTC](https://discourse.julialang.org/t/registration-via-juliahub-does-not-generate-github-package-release/83728/1 "2022-07-04T08:08:40Z")

</div>

Since some time registration in Julia registry is successful, but **no release** (and no tag) is generated for the package on github. There is always a **“Server Error”** from github actions:

```julia
Run JuliaRegistries/TagBot@v1
/usr/bin/docker run --name ghcriojuliaregistriestagbot1141_892d04 --label 4cd98f --workdir /github/workspace --rm -e INPUT_TOKEN -e INPUT_SSH -e INPUT_REGISTRY -e INPUT_GITHUB -e INPUT_GITHUB_API -e INPUT_BRANCHES -e INPUT_DISPATCH -e INPUT_DISPATCH_DELAY -e INPUT_LOOKBACK -e INPUT_SSH_PASSWORD -e INPUT_GPG -e INPUT_GPG_PASSWORD -e INPUT_REGISTRY_SSH -e INPUT_DRAFT -e INPUT_USER -e INPUT_EMAIL -e INPUT_BRANCH -e INPUT_CHANGELOG -e INPUT_CHANGELOG_IGNORE -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e GITHUB_STEP_SUMMARY -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/SignalTables.jl/SignalTables.jl":"/github/workspace" ghcr.io/juliaregistries/tagbot:1.14.1
Warning: GitHub returned a 5xx error code
Traceback (most recent call last):
  File "/root/tagbot/action/ __main__.py", line 74, in <module>
    versions = repo.new_versions()
  File "/root/tagbot/action/repo.py", line 432, in new_versions
    return self._filter_map_versions(versions)
  File "/root/tagbot/action/repo.py", line 271, in _filter_map_versions
    expected = self._commit_sha_from_registry_pr(version, tree)
  File "/root/tagbot/action/repo.py", line 205, in _commit_sha_from_registry_pr
    pr = self._registry_pr(version)
  File "/root/tagbot/action/repo.py", line 196, in _registry_pr
    for pr in prs:
  File "/usr/local/lib/python3.8/site-packages/github/PaginatedList.py", line 56, in __iter__
    newElements = self._grow()
  File "/usr/local/lib/python3.8/site-packages/github/PaginatedList.py", line 67, in _grow
    newElements = self._fetchNextPage()
  File "/usr/local/lib/python3.8/site-packages/github/PaginatedList.py", line 199, in _fetchNextPage
    headers, data = self.__requester.requestJsonAndCheck(
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 315, in requestJsonAndCheck
    return self.__check(
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 340, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.GithubException: 502 {"message": "Server Error"}

```

There is a .github/workflows/TagBot.yml file:

```julia
name: TagBot
on:
  issue_comment:
    types:
      - created
  workflow_dispatch:
jobs:
  TagBot:
    if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
    runs-on: ubuntu-latest
    steps:
      - uses: JuliaRegistries/TagBot@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          ssh: ${{ secrets.DOCUMENTER_KEY }}

```

Can anyone give advice how to fix this (currently, I generate the tag and the release on github manually).

---

<div class="post-metadata">

**Author:** ![emmt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/emmt/32/5192_2.png) [@emmt](https://discourse.julialang.org/u/emmt)\
**Post date:** [July 4, 2022, 9:18am UTC](https://discourse.julialang.org/t/registration-via-juliahub-does-not-generate-github-package-release/83728/2 "2022-07-04T09:18:28Z")

</div>

I have the very same error on all my packages new or recently updated. My `TagBot.yml` file in `.github/workflows/TagBot.yml` is exactly that on the [TagBot home page](https://github.com/JuliaRegistries/TagBot), see the one in [EasyRanges](https://github.com/emmt/EasyRanges.jl/blob/main/.github/workflows/TagBot.yml) for example. Other Github actions are running fine and the above error occurs even if I trigger TagBot by hand (as advised in [Where are the TagBot logs?](https://discourse.julialang.org/t/where-are-the-tagbot-logs/57673)).

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [July 4, 2022, 2:03pm UTC](https://discourse.julialang.org/t/registration-via-juliahub-does-not-generate-github-package-release/83728/3 "2022-07-04T14:03:11Z")

</div>

Possibly related to

> [@TagBot Github Action runs successfully but a new release does not show up on github Releases](https://discourse.julialang.org/t/tagbot-github-action-runs-successfully-but-a-new-release-does-not-show-up-on-github-releases/80770/9):
>
> I’m seeing a similar error in a couple of different repositories. Published a new version of a package to juliahub and same tagbot configuration that has worked for previous versions failed with 502 “Server Error”: Warning: GitHub returned a 5xx error code 41 Traceback (most recent call last): 42 File "/root/tagbot/action/\_\_main\_\_.py", line 74, in \<module\> 43 versions = repo.new\_versions() 44 File "/root/tagbot/action/repo.py", line 432, in new\_versions 45 return self.\_filter\_map\_ve…

---

<div class="post-metadata">

**Author:** ![j-fu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/j-fu/32/11373_2.png) [@j-fu](https://discourse.julialang.org/u/j-fu)\
**Post date:** [December 4, 2022, 10:57pm UTC](https://discourse.julialang.org/t/registration-via-juliahub-does-not-generate-github-package-release/83728/4 "2022-12-04T22:57:20Z")

</div>

Seeing this as well for two packages registered via JuliaHub.

---

<div class="post-metadata">

**Author:** ![j-fu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/j-fu/32/11373_2.png) [@j-fu](https://discourse.julialang.org/u/j-fu)\
**Post date:** [December 4, 2022, 11:02pm UTC](https://discourse.julialang.org/t/registration-via-juliahub-does-not-generate-github-package-release/83728/5 "2022-12-04T23:02:09Z")

</div>

Filed this issue: [TagBot does not work for packages registered via JuliaHub · Issue #149 · JuliaComputing/JuliaHub-Feedback · GitHub](https://github.com/JuliaComputing/JuliaHub-Feedback/issues/149)
