Jonathan Simon opened 11 months ago
|
|||||
Jonathan Simon changed title 11 months ago
|
|||||
Please check directory |
|||||
They all have a git directory with what looks like valid contents.
|
|||||
Please edit
Then restart OneDev to see the command execution details including working directory. You can then run that command directly in that directory to see if it reports the same error. |
|||||
Here is a snippet of what I got:
If I manually go to ETA: For clarity, later in the log, that thread emitted the same error as mentioned in the OP. |
|||||
Please exec into onedev container, and run the same command in directory |
|||||
Aha! When inside the container, I get the error that is listed in the logs. My gut says permissions issue so I added
to the compose and |
|||||
OneDev needs to run as root inside the container. Please change all files under |
|||||
And there you have it, I can now push. Thank you for the support! |
|||||
Jonathan Simon changed state to 'Closed' 11 months ago
|
|||||
Config issue, all fixed thanks to @robin |
Type |
Question
|
Priority |
Normal
|
Assignee |
I'm running the docker container. Here is my compose.
On container startup, I get a bunch of errors where
git diff
is being misused (according to the error).etc
I get the same error when I try to push commits and client side see this (replaced my repo uri)
I can upload the whole log if necessary, it's quite large.
FWIW, I can clone projects without issue so the data is seemingly fine.