Forgejo error

Hello! I am using the newest version of Forgejo, and I set up a Git connection using this tutorial: https://docs.dokploy.com/docs/core/gitea. I can not see any of my repositories. The Test Connection throws me 403, however, the Connect to Gitea button works.
No description
No description
22 Replies
Piyush Dixit
Piyush Dixit2mo ago
Same here Gitea not connected I have checked the code, the issue is 'gitea_id not found '
Siumauricio
Siumauricio2mo ago
What is Forgejo?
Piyush Dixit
Piyush Dixit2mo ago
Forgejo – Beyond coding. We forge.
Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.
Piyush Dixit
Piyush Dixit2mo ago
forgejo is a fresh fork of gitea and it's developed in-house on their own forgejo instance
Scan
Scan2mo ago
we added a one-click template for it https://templates.dokploy.com/?q=forgejo
Henrik
Henrik2mo ago
I would guess they then do some things differently than Gitea. The Gitea provider works wonderfully with the official Gitea container
eXploiter_
eXploiter_OP2mo ago
I have checked logs from forgejo in my docker and it seems like Forgejo may have some different way to fetch repos than Gitea.
No description
eXploiter_
eXploiter_OP2mo ago
Thats the 403 Forbidden error.
No description
Scan
Scan2mo ago
In that case I guess you can't use it, it's for gitea
Piyush Dixit
Piyush Dixit2mo ago
I have shared an error code section Gitea_id not found. This is the main issue
Scan
Scan2mo ago
I can try and add support for Forgejo
Piyush Dixit
Piyush Dixit2mo ago
Thanks brother
Scan
Scan2mo ago
can you share the logs file?
Piyush Dixit
Piyush Dixit2mo ago
Which log file?
Scan
Scan2mo ago
nvm
Piyush Dixit
Piyush Dixit2mo ago
Where can I get it?
Scan
Scan2mo ago
don't worry about it
Piyush Dixit
Piyush Dixit2mo ago
Okey
eXploiter_
eXploiter_OP2mo ago
I would really appreciate it, thank you!
Adhesto
Adhesto2mo ago
I just encountered this error with my Forgejo instance as well, I figured it would have been close enough to Gitea to where it would just work. I'll see if I can dig into the Gitea integration over the next few days see where it differs from Forgejo. Right now, I'm thinking it's related to the way the scopes are being included in the API requests: 403 Forbidden in 4.1ms @ v1/api.go:336(v1.Routes.func2.7.tokenRequiresScopes.16)

Did you find this page helpful?