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

detected dubious ownership in repository #569

Closed
bubundas17 opened this issue Oct 16, 2023 · 7 comments
Closed

detected dubious ownership in repository #569

bubundas17 opened this issue Oct 16, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@bubundas17
Copy link

I am using the
Reposotry context index option as mentioned in this page.
https://tabby.tabbyml.com/docs/configuration

i am manually indexing the repo after i pushed some changes. by opening Docker Desktop and running.
./tabby scheduler --now

But getting This error:

root@f9def54c9ee9:/opt/tabby/bin# ./tabby  scheduler --now
2023-10-16T19:56:59.375047Z  INFO tabby_scheduler: crates/tabby-scheduler/src/lib.rs:15: Syncing repositories...
fatal: detected dubious ownership in repository at '/data/repositories/<redacted>.git'
To add an exception for this directory, call:

        git config --global --add safe.directory /data/repositories/<redacted>.git
2023-10-16T19:56:59.397967Z ERROR tabby_scheduler: crates/tabby-scheduler/src/lib.rs:18: Failed to sync repositories, err: 'Failed to pull remote '<redacted>.git'. Consider remove dir '/data/repositories/<redacted>.git' and retry'
@bubundas17 bubundas17 added the bug Something isn't working label Oct 16, 2023
@wsxiaoys
Copy link
Member

wsxiaoys commented Oct 16, 2023

Could you try the nightly docker tag (tabbyml/tabby:nightly) to see if #571 fix the issue for you?

@bubundas17
Copy link
Author

Yes it fixes it for me.

@wsxiaoys
Copy link
Member

Wonderful! The change will be included in the upcoming patch release, v0.3.1.

@bubundas17
Copy link
Author

Think you for the quick fix.
Have been using this project for a week now. I must say its really good.

Keep up the good work.

@wsxiaoys
Copy link
Member

Released in https://github.com/TabbyML/tabby/releases/tag/v0.3.1

@qy527145
Copy link

qy527145 commented Nov 8, 2023

@bubundas17 你创建index花了多久,我一直卡在crates/tabby-scheduler/src/lib.rs:30: Indexing repositories...,目前已经40分钟了,查看/data/index,发现里面的文件不断变化,这种情况正常吗?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@bubundas17 How long did it take you to create the index? I have been stuck at crates/tabby-scheduler/src/lib.rs:30: Indexing repositories..., it has been 40 minutes now. I checked /data/index and found that the files inside are constantly Change, is this normal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants