-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'http://thr-srv01:3000/I2T5/I2T5-ManualControl.git' #10039
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Any error logs from your log file? |
Or have you tried pull from your server first? |
Here are the log files : I cannot pull from the server as master doesn't exist yet on the server. I tried to follow the exact same tutorial but on my computer and it works, so I don't understand why it doesn't on my server. Maybe it's just a hostname problem or root url problem ? |
Also, another problem which I don't know if it's linked or not: when I try to create a repository from the web with the "Initialize the repository" option, I got an error 500. If I don't use this option, I can create a new repository without any error. |
Do you have any idea of what could be wrong ? I'm not able to find a solution with the logs. |
Ok. Let's start from scratch. What do you mean by push? Over http or SSH? Where from? The server or a client machine? If this is over SSH I think others have had problems running openssh on windows and you may find things easier if you b use the internal SSH. If this is during repository creation, are you trying to use the new push to create repository feature? Or is this from the UI? I see you have localhost and thr-svr01 as names. Are you running Gitea behind IIS? |
I have tried different ways:
I haven't tried over SSH. Gitea is hosted on a windows server. I have tested to push from the server and from a client machine and I have the same result. I have already created an empty repository on the gitea web application. I am trying to push the first commit which is just a README.md file.
|
@AntoineBore Not sure if this is related, but maybe it would be nice if you could confirm that what I experienced is not related to your issue: |
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. You can re-open it if needed. |
Uh oh!
There was an error while loading. Please reload this page.
[x]
):" ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'http://thr-srv01:3000/I2T5/I2T5-ManualControl.git'"
Description
I tried to install gitea on a windows server. I have followed this tutorial . Unfortunatly, when I try to push, I have the error message above.
I saw that there is similar issues but I'm not able to solve mine, even after trying what people suggested.
The servers name is "thr-srv01". Here is my app.ini file:
...
The text was updated successfully, but these errors were encountered: