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

When using Gitea, it displays the error: fatal: Too many arguments. #1347

Open
TS35 opened this issue Nov 19, 2024 · 7 comments
Open

When using Gitea, it displays the error: fatal: Too many arguments. #1347

TS35 opened this issue Nov 19, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@TS35
Copy link

TS35 commented Nov 19, 2024

Hello, I found that there are still other issues with using Gitea in Daytona. After I executed the daytona create command, the terminal displayed an error regarding git clone, as shown in the image. By the way, I have exposed Gitea to the public internet this time and am using the HTTPS protocol, so I believe this is not the issue mentioned in issue #1329.
test_requst1
test_requst2
test_requst3
test_requst4

@TS35 TS35 added the bug Something isn't working label Nov 19, 2024
@Tpuljak
Copy link
Member

Tpuljak commented Nov 19, 2024

@TS35 does the issue occur when running daytona create REPO_URL directly?

@TS35
Copy link
Author

TS35 commented Nov 19, 2024

@TS35 does the issue occur when running daytona create REPO_URL directly?

I tried using the daytona create REPO_URL command and got the same result.
test_new1

@Tpuljak
Copy link
Member

Tpuljak commented Nov 19, 2024

Can you let me know the result of daytona info DaytonaSamplePython -f json?

@TS35
Copy link
Author

TS35 commented Nov 19, 2024

Can you let me know the result of daytona info DaytonaSamplePython -f json?

This is the result after executing the daytona info DaytonaSamplePython -f json command. DaytonaSamplePython is actually the sample-python example provided by Daytona.

{
"id": "4b5efd63f194",
"info": {
"name": "DaytonaSamplePython",
"projects": [
{
"created": "",
"isRunning": false,
"name": "DaytonaSamplePython",
"providerMetadata": "{"state": "container not found"}",
"workspaceId": ""
}
],
"providerMetadata": "{"networkId": "4b5efd63f194"}"
},
"name": "DaytonaSamplePython",
"projects": [
{
"buildConfig": {},
"envVars": null,
"gitProviderConfigId": "b414cf2870b2",
"image": "daytonaio/workspace-project:latest",
"name": "DaytonaSamplePython",
"repository": {
"branch": "main",
"cloneTarget": "branch",
"id": "DaytonaSamplePython",
"name": "DaytonaSamplePython",
"owner": "lzs",
"sha": "b067106eac42aac4d14c8492ccf12a578282dc3d",
"source": "gitea.zrobot.org",
"url": "https://xxx.xxx.org/lzs/daytonasamplepython.git"
},
"target": "local",
"user": "daytona",
"workspaceId": "4b5efd63f194"
}
],
"target": "local"
}
test_new2

@Tpuljak
Copy link
Member

Tpuljak commented Nov 19, 2024

Does it work when you run git clone https://xxx.xxx.org/lzs/daytonasamplepython.git --single-branch?

@TS35
Copy link
Author

TS35 commented Nov 19, 2024

Does it work when you run git clone https://xxx.xxx.org/lzs/daytonasamplepython.git --single-branch?

I can successfully clone the repository using the command git clone https://xxx.xxx.org/lzs/daytonasamplepython.git --single-branch.
test_new3

@Tpuljak
Copy link
Member

Tpuljak commented Nov 19, 2024

@TS35 can you please make sure that daytona and all the providers are updated to the latest version?

You can update daytona with the same command you used to install it.
To update the providers, run daytona provider update --all after starting the server.

P.S. When opening issues, please make sure to leave the issue boilerplate and populate it with the required fields (e.g. the Daytona version field). The version can be fetched with daytona version.

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

2 participants