-
I ran a simple test on remote agent and it works fine. Please let me know steps to reproduce this issue, including os, how you deployed server and agent, the command to be tested, etc.
-
I could run these command in old version(6.3.8). -
I guess some environment changed at your side, and it should NOT work even with 6.3.8 now.
Please login to your agent machine as the same OS user running agent process and run the script from terminal to see if it works.
-
Server Shell Executorhad been removed?I used to execute this step withServer Shell Executor.I don't understandthe same OS user,meaning root? -
I guess you are running OneDev as docker container. In this case, the server shell executor does not make sense, as all builds will run in same container as OneDev server without separation, and still can not access OS facility such as installed utility etc.
Please run your job to see which job executor it is using (will be printed at start of build log). If executed by a remote shell executor, same OS user means the OS user running the agent process (Agent successfully runs your job should be running on bare metal mode, as "run in container" is disabled in your job definition).
-
Alright.This update change a lot.I am runnung OneDev as kubernetes,it worked in old version before. Guess I should run on bare metal mode or try another way.
-
You may configure your job to run inside a container, or connect a bare metal installed agent to run job outside a container.
-
Thank you for your patience,you can close this issues.
-
Previous Value Current Value Open
Closed
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
Not Found
|
update to new version 7.3.5. I can't run command on remote server