升级到0.11.43后push时出错


#1

请先搜索确保没有重复发帖。

Gogs 版本:0.11.43
系统类型及版本:Ubuntu 14.04.2 LTS
数据库:sqlite3
问题描述:

按照官方升级文档从0.9.13.0318升级到0.11.43(gogs_0.11.43_linux_amd64)后,其它功能正常,但所有的库push时都出错:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/temp:refs/heads/temp

Pushing to git@xxxx.git

remote: runtime/cgo: pthread_create failed: Resource temporarily unavailable

remote: /home/git/gogs-repositories/xxxx/xxxx.git/custom_hooks/pre-receive: line 2: 30883 Segmentation fault “/home/git/gogs/gogs” hook --config=’/home/git/gogs/custom/conf/app.ini’ pre-receive

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

remote: Gogs: Internal error

To xxxx.git

= [up to date] 3.4.2 -> 3.4.2

= [up to date] 3.4.3 -> 3.4.3

= [up to date] api_1.2.0 -> api_1.2.0

= [up to date] api_1.2.2 -> api_1.2.2

= [up to date] fix_search_index -> fix_search_index

= [up to date] ios_1.0.0 -> ios_1.0.0

= [up to date] ios_1.0.3 -> ios_1.0.3

= [up to date] ios_1.0.5 -> ios_1.0.5

= [up to date] ios_1.1.0 -> ios_1.1.0

= [up to date] ios_1.1.01 -> ios_1.1.01

= [up to date] nas1.0.0 -> nas1.0.0

= [up to date] v3.2.0 -> v3.2.0

= [up to date] v3.2.1 -> v3.2.1

= [up to date] v3.2.2 -> v3.2.2

= [up to date] v3.2.21 -> v3.2.21

= [up to date] v3.2.3 -> v3.2.3

= [up to date] v3.2.4 -> v3.2.4

= [up to date] v3.2.5 -> v3.2.5

= [up to date] v3.2.6 -> v3.2.6

= [up to date] v3.3.1 -> v3.3.1

= [up to date] v3.3.2 -> v3.3.2

= [up to date] v3.4.0 -> v3.4.0

= [up to date] v3.4.1 -> v3.4.1

! [remote rejected] temp -> temp (pre-receive hook declined)

error: failed to push some refs to ‘git@xxxx.git’

Completed with errors, see above


#2

查看 path/to/gogs/log/hooks 日志