Comments (7)
I confirme i got the same problem.
Anyway this is what i get when i try git push -u origin master
:
fatal: https://[domain]/gogs/[user]/[reponame].git/info/refs not valid: is this a git repository?
Nothing in nginx log, nothing in gogs log, status code of request is 302.
from gogs_ynh.
@dattaz I think this is a different issue. What you described is an undocumented but normal behavior you can find my explanation here: #8 (comment) But you should be able to use git clone/push/.. by ssh instead of https.
This can't really by bypassed because we will have to unprotect domain/gogs_path/* and this will basically make the app public.
@julienmalik Unfortunately I didn't test very well the private mode. If you were to reproduce the issue, you can probably see the real go error in the service log journalctl -u gogs.service
from gogs_ynh.
Hello,
I have disable private mode on my gogs and i enable REQUIRE_SIGNIN_VIEW = true
in /opt/gogs/custom/conf/app.ini.
It made the app private and i can pull and push on https.
from gogs_ynh.
Hello,
Thanks @nemsia , I have written something here : https://forum.yunohost.org/t/gogs-redirect-fatal-unable-to-update-url-base-from-redirection/3117/6 but it was not the best solution. So I think I will implement your idea to fix this issue.
from gogs_ynh.
Hello,
I have fixed this in the testing branch. You can try it if you want.
from gogs_ynh.
Hello,
Testing branch solution work very well for me,
Thank you.
from gogs_ynh.
I close this issue.
I you encounter any problem about that please reopen it.
from gogs_ynh.
Related Issues (20)
- Backup/restore issue HOT 5
- Upgrade issue HOT 4
- Many requests from outside HOT 3
- Add check process HOT 1
- Permission denied
- Add rsync HOT 1
- Error 500 on install HOT 2
- Backup from ARM and restore on 64bits
- 500 error, not sure how to fix HOT 7
- Update to 0.11.29 HOT 4
- Error Redirect HOT 8
- Your app is out of date on the community list HOT 1
- Commit is not up to date in the community.json HOT 2
- Can't disconnect using the disconnect button of gogs HOT 3
- Update to version 0.11.53 HOT 2
- [Maintenance ping] Is this app still maintained ? HOT 1
- Cannot upgrade to version 0.12.3~ynh1 HOT 4
- Can not clone with SSH: AllowGroups
- Cannot clone with SSH: wrong HOME env variable ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gogs_ynh.