Skip to content
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

After Upgrade To 1.11 RC Gitea Stops After 1 Minute #9648

Closed
jaqra opened this issue Jan 8, 2020 · 9 comments
Closed

After Upgrade To 1.11 RC Gitea Stops After 1 Minute #9648

jaqra opened this issue Jan 8, 2020 · 9 comments
Labels
skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Milestone

Comments

@jaqra
Copy link
Contributor

jaqra commented Jan 8, 2020

This is why stops:

2020/01/08 11:02:52 ...eue/queue_wrapped.go:69:setInternal() [W] [Attempt: 740] Failed to create queue: level for task cfg: {H:/gitea/data/H:/gitea/data/queues/task 1000 20 1 6 1s 5m0s 5 task-level} error: CreateFile H:/gitea/data/H:/gitea/data/queues/task: Dosya adı, dizin adı veya birim etiketi sözdizimi hatalı.
2020/01/08 11:02:52 ...eue/queue_wrapped.go:69:setInternal() [W] [Attempt: 10] Failed to create queue: level for  cfg: [123 34 65 100 100 114 101 115 115 101 115 34 58 34 34 44 34 66 97 116 99 104 76 101 110 103 116 104 34 58 50 48 44 34 66 108 111 99 107 84 105 109 101 111 117 116 34 58 49 48 48 48 48 48 48 48 48 48 44 34 66 111 111 115 116 84 105 109 101 111 117 116 34 58 51 48 48 48 48 48 48 48 48 48 48 48 44 34 66 111 111 115 116 87 111 114 107 101 114 115 34 58 53 44 34 68 66 73 110 100 101 120 34 58 48 44 34 68 97 116 97 68 105 114 34 58 34 72 58 47 103 105 116 101 97 47 100 97 116 97 47 72 58 47 103 105 116 101 97 47 100 97 116 97 47 113 117 101 117 101 115 47 105 115 115 117 101 95 105 110 100 101 120 101 114 34 44 34 77 97 120 87 111 114 107 101 114 115 34 58 49 48 44 34 78 97 109 101 34 58 34 105 115 115 117 101 95 105 110 100 101 120 101 114 34 44 34 78 101 116 119 111 114 107 34 58 34 34 44 34 80 97 115 115 119 111 114 100 34 58 34 34 44 34 81 117 101 117 101 76 101 110 103 116 104 34 58 50 48 44 34 81 117 101 117 101 78 97 109 101 34 58 34 105 115 115 117 101 95 105 110 100 101 120 101 114 95 113 117 101 117 101 34 44 34 87 111 114 107 101 114 115 34 58 49 125] error: CreateFile H:/gitea/data/H:/gitea/data/queues/issue_indexer: Dosya adı, dizin adı veya birim etiketi sözdizimi hatalı.
2020/01/08 11:02:52 ...eue/queue_wrapped.go:162:Run() [F] Unable to set the internal queue for -wrapper Error: Unable to create queue level for  with cfg [123 34 65 100 100 114 101 115 115 101 115 34 58 34 34 44 34 66 97 116 99 104 76 101 110 103 116 104 34 58 50 48 44 34 66 108 111 99 107 84 105 109 101 111 117 116 34 58 49 48 48 48 48 48 48 48 48 48 44 34 66 111 111 115 116 84 105 109 101 111 117 116 34 58 51 48 48 48 48 48 48 48 48 48 48 48 44 34 66 111 111 115 116 87 111 114 107 101 114 115 34 58 53 44 34 68 66 73 110 100 101 120 34 58 48 44 34 68 97 116 97 68 105 114 34 58 34 72 58 47 103 105 116 101 97 47 100 97 116 97 47 72 58 47 103 105 116 101 97 47 100 97 116 97 47 113 117 101 117 101 115 47 105 115 115 117 101 95 105 110 100 101 120 101 114 34 44 34 77 97 120 87 111 114 107 101 114 115 34 58 49 48 44 34 78 97 109 101 34 58 34 105 115 115 117 101 95 105 110 100 101 120 101 114 34 44 34 78 101 116 119 111 114 107 34 58 34 34 44 34 80 97 115 115 119 111 114 100 34 58 34 34 44 34 81 117 101 117 101 76 101 110 103 116 104 34 58 50 48 44 34 81 117 101 117 101 78 97 109 101 34 58 34 105 115 115 117 101 95 105 110 100 101 120 101 114 95 113 117 101 117 101 34 44 34 87 111 114 107 101 114 115 34 58 49 125] by max attempts: error: CreateFile H:/gitea/data/H:/gitea/data/queues/issue_indexer: Dosya adı, dizin adı veya birim etiketi sözdizimi hatalı.

@jaqra
Copy link
Contributor Author

jaqra commented Jan 8, 2020

When i set config as below create file issue solved:

[queue.task]
DATADIR = queues/task/

but this still occurs:

2020/01/08 11:21:41 ...eue/queue_wrapped.go:69:setInternal() [W] [Attempt: 10] Failed to create queue: level for  cfg: [123 34 65 100 100 114 101 115 115 101 115 34 58 34 34 44 34 66 97 116 99 104 76 101 110 103 116 104 34 58 50 48 44 34 66 108 111 99 107 84 105 109 101 111 117 116 34 58 49 48 48 48 48 48 48 48 48 48 44 34 66 111 111 115 116 84 105 109 101 111 117 116 34 58 51 48 48 48 48 48 48 48 48 48 48 48 44 34 66 111 111 115 116 87 111 114 107 101 114 115 34 58 53 44 34 68 66 73 110 100 101 120 34 58 48 44 34 68 97 116 97 68 105 114 34 58 34 72 58 47 103 105 116 101 97 47 100 97 116 97 47 72 58 47 103 105 116 101 97 47 100 97 116 97 47 113 117 101 117 101 115 47 105 115 115 117 101 95 105 110 100 101 120 101 114 34 44 34 77 97 120 87 111 114 107 101 114 115 34 58 49 48 44 34 78 97 109 101 34 58 34 105 115 115 117 101 95 105 110 100 101 120 101 114 34 44 34 78 101 116 119 111 114 107 34 58 34 34 44 34 80 97 115 115 119 111 114 100 34 58 34 34 44 34 81 117 101 117 101 76 101 110 103 116 104 34 58 50 48 44 34 81 117 101 117 101 78 97 109 101 34 58 34 105 115 115 117 101 95 105 110 100 101 120 101 114 95 113 117 101 117 101 34 44 34 87 111 114 107 101 114 115 34 58 49 125] error: CreateFile H:/gitea/data/H:/gitea/data/queues/issue_indexer: Dosya adı, dizin adı veya birim etiketi sözdizimi hatalı.
``

@6543
Copy link
Member

6543 commented Jan 8, 2020

think this is caused by @zeripath 's #9363 ?

I dont have souch problem - maby windows related?

@jaqra
Copy link
Contributor Author

jaqra commented Jan 8, 2020

Windows Server 2008 R2 Foundation
Working as Windows Service

Upgraded from: Gitea Version: 1.11.0+dev-494-gf88715e29

@jaqra
Copy link
Contributor Author

jaqra commented Jan 8, 2020

When also set this config solved problem

[queue.issue_indexer]
DATADIR = queues/issue_indexer/

The problem is that path combining wrong and result is H:/gitea/data/H:/gitea/data/queues/issue_indexer

@zeripath
Copy link
Contributor

zeripath commented Jan 8, 2020

Damn this is my fault need to use filepath.IsAbs not path.IsAbs

6543 added a commit to 6543-forks/gitea that referenced this issue Jan 8, 2020
@6543
Copy link
Member

6543 commented Jan 8, 2020

the patch looks simple: #9651

In the first place it is a go-standad-lib issue

6543 added a commit to 6543-forks/gitea that referenced this issue Jan 8, 2020
@sapk sapk closed this as completed in c779ac1 Jan 8, 2020
@sapk
Copy link
Member

sapk commented Jan 8, 2020

Reopening it in the wait for a confirmation that it really fix the issue.

@sapk sapk reopened this Jan 8, 2020
@lunny lunny added the type/bug label Jan 8, 2020
@lunny lunny added this to the 1.11.0 milestone Jan 8, 2020
@lunny lunny added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Jan 8, 2020
sapk pushed a commit that referenced this issue Jan 8, 2020
@zeripath
Copy link
Contributor

zeripath commented Jan 9, 2020

@jaqra would you be able to test the latest head? If only so we can close this as fixed.

@jaqra
Copy link
Contributor Author

jaqra commented Jan 9, 2020

@zeripath that is ok. its working without any queue configuration as expected 👍

@zeripath zeripath closed this as completed Jan 9, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

No branches or pull requests

4 participants