codedge/laravel-selfupdater

Client error: `GET https://api.github.com/%5Crepos%5C:vendor%5C:repoName%5Ccommits?sha=1.0` resulted in a `404 Not Found`

filip-codes opened this issue · 14 comments

Hey,
I want to execute the code to check if there are any updates and it gave me this kind of error message back. I need help..

In my .env file:
Unbenannt2

What is the URL to your Github repository? I cannot find any netbounty/shop repo on Github.

Have a look in my profile, I have made it public now.

But I already tried it out making it public and fetching, same errors appears

You specified a branch v1.0 but you don't have a branch name v1.0. Remove the line for specifying the branch and it should work.

So you mean changing v1.0 to 1.0? Or leaving it just empty?

Remove this line SELF_UPDATER_USE_BRANCH="v1.0" from your .env file.

TLDR;
A branch is not a release.

Unbenannt
Now I'm getting this error. Sorry for asking but I really don't know what to do

config/self-update.php
Unbenannt
.env
Unbenannt2
routes/web.php
Unbenannt3
Error page. but why... I really want to use this package and I need it. Help me please
Unbenannt4

how did you solve? I get the same error with a private repository.

SELF_UPDATER_VERSION_INSTALLED="0.1"
SELF_UPDATER_SOURCE="github"
SELF_UPDATER_REPO_VENDOR="vendor-name"
SELF_UPDATER_REPO_NAME="repo-name"
SELF_UPDATER_USE_BRANCH=master
SELF_UPDATER_GITHUB_PRIVATE_ACCESS_TOKEN=token-code

I gave up using this package. I've written my own self-updater working with a update server in behind.

@johnnybaida ,i have the same probleme Client error: GET https://api.github.com/%5Crepos%5Csalahhusa9%5Cselfupdate%5Ccommits?sha=main` resulted in a 404 Not Found response: {"message":"Not Found","documentation_url":"https://docs.github.com/rest"}`