-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Problem: Cannot register new runner from both UI and cli #2673
Comments
I get the exact the same error when using semaphore version 2.11.2-0e9490c-1735214524 on Ubuntu 24.04 |
same 2.11.2-0e9490c-1735214524 on arch this seems horrible in that you can not register any runners. I was evaluting semsphoreui but I will have to stop until this is fixed unless we can just edit the json file but I am not sure the exact key/syntax that would be added. I wonder if you don't pay up then this is disabled because runners are disabled now in the web UI? If so why not say that in the error and say the same in the documentation. If one must now pay to enable the runner code even if self hosting then I'm sorry to say I will stop evaluating and go back to using cronicle. https://docs.semaphoreui.com/administration-guide/runners/
|
Hi, After days of trial & errors I managed to get my 2x runner to succesfully register and running with the semaphore host (semaphore version 2.11.2-0e9490c-1735214524). I thought I share my findings here - hopefully it's useful for others. When I tired to follow the instructions on https://docs.semaphoreui.com/administration-guide/runners/ in registering the runners via the web UI, I got this page on my interface that's different to the documentation's screenshot: The red banner "Project Runners available only in PRO version" actually put me off - I misunderstood this message and thought I'm unable to register runners through the GUI (!) But in fact clicking onto the "New Runner" button works: So I filled in my runner's information (I didn't have any webhooks so I left that blank). After that I clicked "Create". I ended up getting a window that looks similar to the documentation: I copied the token value from the output and stored it on the runner under /etc/semaphore/semaphore-runner.token. The path of the token file doesn't really matter, as long as it's referenced correctly in the runner's configuration file, and it set with sufficient permission so that user account that executes the semaphore process (hopefully not root!) can read it. I then created configuration file /etc/semaphore/config.json with the following content:
Finally I start the semaphore process on the runner:
Voila! It worked. I did not have any luck in getting the runners to register using the "original" (CLI) way (this method - the only method - worked when I was using Semaphore 2.10.22), but at least I can confirm the Web UI way does work. |
@2cre8it I have the exact same version/release 2.11.2-0e9490c-1735214524 |
@dkebler |
no there is no such button there either. In this discussion that was already suggested and per the image I supplied it is not there. |
OK, sorry, for me this works and I'am using the same version. But then someone with more knowledge have to look at this. |
Issue
I'm testing new version of semaphore on my local before deployment and I'm struggling with running runnners. Following Docs i cannot register new runner,
When im doing this from UI im getting 404 on
http://localhost:3000/api/project/1/runners
when doing this from CLI both
echo "fEEgdNEKuHWECxZEeyzwVR6gTMf32XKB6weRkrSLJARii8su" | semaphore runner register --stdin-registration-token --config semaphore_config_runner.json
and
semaphore runner register --config semaphore_config_runner.json
gives the same output
Impact
Configuration
Installation method
Binary
Database
BoltDB
Browser
Firefox, Chrome
Semaphore Version
2.10.43-7f408d8-1732293454
Ansible Version
Logs & errors
Manual installation - system information
Ubuntu 24.04
Configuration
server config:
runner config:
Additional information
The text was updated successfully, but these errors were encountered: