Coder Social home page Coder Social logo

Comments (7)

dattaz avatar dattaz commented on June 28, 2024

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.

mbugeia avatar mbugeia commented on June 28, 2024

@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.

nemsia avatar nemsia commented on June 28, 2024

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.

Josue-T avatar Josue-T commented on June 28, 2024

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.

Josue-T avatar Josue-T commented on June 28, 2024

Hello,

I have fixed this in the testing branch. You can try it if you want.

from gogs_ynh.

nemsia avatar nemsia commented on June 28, 2024

Hello,
Testing branch solution work very well for me,
Thank you.

from gogs_ynh.

Josue-T avatar Josue-T commented on June 28, 2024

I close this issue.
I you encounter any problem about that please reopen it.

from gogs_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.