-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Respository's home page not updated after first push #3458
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
+1 here. Same things with self deployed 1.4.0-rc1. (Updated from 1.3.2) |
Can you reproduce that on https://try.gitea.io/? I can not seem to be able to reproduce that |
@lafriks No, I cannot |
I have the same issue but only if I push with https. Pushing with ssh works. Here is a related issue: |
I'm having the same issue on raspbian (git 2.1.4, mysql 5.5.59). The syslog shows an error when POSTing to https://gist.github.com/lordlethis/87ed693593f750077b0096931053288f |
@lordlethis Can you please check gitea.log file and give me error at that time in this log file as I can not reproduce it myself |
I don't see anything resembling an error in gitea.log, I'm afraid. I changed the config to RUN_MODE=dev and log.LEVEL=Trace and updated the previous gist with the new, more verbose output in the syslog, as well as what's in gitea.log. Should I change anything further for more useful logs? |
I have same problem with 1.4.0+rc1. |
Maybe you can try this |
|
I went and tried to reproduce the issue by making a fresh install in a VM. Setup
Gitea Setup PageDatabase
Optional
Admin account
Issue Reproduction
|
Can you please verify that directory where gitea repsitories are stored does not have |
That fixed it for me! |
So can we close here to finish the 1.4.0 milestone? ;) |
Doesn't appear to do anything for me. :(
Gitea is based in (Random thought: if the repositories were on a noexec filesystem shouldn't the repo home page never update? Because as it is, it updates with the second push, just not with the first one) |
Fixed for me (because of |
Same problem here with upgrade from 1.3.2 to 1.4.0 (stable released), the home repository page update only on second push to repository. Edit : I'll try with fresh install to test comportment. |
@vfricou do you see anything bad in gitea.log for first push? |
I can reliably reproduce this, but only in Debian Jessie... Going from the logs I linked to earlier (https://gist.github.com/lordlethis/87ed693593f750077b0096931053288f), if I'm reading this right
there seems to be some failure while running this git command? (It does fail if I try running it manually, because git for-each-ref does not support --contains with git 2.1.4). |
I will try to reproduce this with Debian 8.10 |
I am having this issue as well Centos7 I pushed a local repo with 30 + commits in it. On first push to gitea nothing seemed to happen on the gitea web interface Nothing bad on first push in the logs, after second commit to remote repo everything works, again nothing entered into the logs. |
@lafriks No, I didn't see anything bad… Is the problem… If I see any error or something special, I'll show you… Effectively, my problem is against on debian jessie release. I'll try to upgrade to stretch release to see if problem persist. |
Okay, I confirm this bug is not present after system upgrade to Debian stretch. Is realy proper to Debian Jessie. |
@daviian let's wait for @oidz1234 to report back as well. If I'm the only one left having this issue: I know a work-around (as described). It's not that often that I need to create a new repo in Gitea, so for those few times I can certainly live with that (but will keep an eye on it whenever I create a new repo; maybe we all missed some detail). Though of course it would be nice if it were solved 😉 Just in case the local git version (on the machine running Gitea) is relevant: 2.1.4 here (ARMv7 – it's running on a BananaPi). |
First test SSH:
Test 2 HTTP: Same tests, same results. Nothing on gitea web interface. Running the below does fix it for the repository.
|
any error logs on console or file? |
Nope no errors. Any log files you need a dump off ? |
Check your git version; this stems from
Even before that, though, I was seeing For our CentOS system, I just installed |
@parsley42 thanks for finding out. |
Hey guys, I've submitted a PR to fix this. Would appreciate if someone of you guys having troubles can test this and if this fixes it! |
@mgrl Jessie and Git 2.1.4 here as well. How did you update git? 2.1.4 is the latest the official repo provides. |
Added some testing repos somehow I found on stackexchange ;)
Am 25. Mai 2018 07:59:57 schrieb Izzy <[email protected]>:
… @mgrl Jessie and Git 2.1.4 here as well. How did you update git? 2.1.4 is
the latest the official repo provides.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I discovered this bug on I'm using latest /all updates/ Debian 9.4 (stretch) |
@hudecof Can you provide the gitea.log like @parsley42 |
@daviian there's nothing in my gitea.log file ;( just |
@hudecof Too bad. Debian stretch provides git in version 2.11.0 so the Can you run the git command manually on this system on a repo? |
@mgrl @IzzySoft @parsley42 |
@daviian only after it has been released, sorry. I'm running the "one-off binary" on a Pi, no way to use Go directly or to compile it. |
@IzzySoft We also build latest binaries from master branch, see https://dl.gitea.io/gitea/master/ |
@daviian I was also experiencing this issue and can confirm, for me at least, it is solved with the latest master build (05/28/2018 03:48:12 PM). This is on Debian Jessie host, with Git 2.1.4. |
@monkeyhybrid That's really great news :) |
I am running latest gitea in docker, and seeing this issue as well. The mentioned fix with update is_bare cannot be applied because there isn't a is_bare column in table repositories.... workaround with Note: UPDATE |
OK, so why is an issue that is seen repetitively (I am also affected, and noexec isn't it) appearing as CLOSED??? |
When converting a `repo_model.Repository` to `api.Repository`, copy the `ObjectFormatName` field too. Fixes go-gitea#3458. Signed-off-by: Gergely Nagy <[email protected]> (cherry picked from commit 2385f3c)
1.4.0+rc1
1.7.10.4
debian 7.11 (wheezy)
[x]
):Description
In brief
Repository's home page not updated after first push.
Reproduce
On vagrant, host:
ubuntu 17.10
, guest:debian 7.11
1.4.0+rc1
version of Gitea create a regular user let's sayspam
and logineggnbacon
.git clone http://192.168.100.10:3000/spam/eggnbacon /tmp/eggnbacon
(obviously this IP works on my setup only).cd /tmp/eggnbacon && touch yay && git add yay && git commit -m "yay"
.git push origin master
, type credentials, validate.Insights
git commit --allow-empty -m "SPAM!"
does the exact same.git push -f
after first push (soEverything up-to-date
) doesn't change anything (as expected..)Let's be honest
I have to admit Gitea is grumbling at me:
When I push. But it grumbles always that, not only on first push, so I'm not sure it's related.
Hope to not report something already reported, I've didn't digged in all issues :/
The text was updated successfully, but these errors were encountered: