Hello.
Using plug-in 'Run CLI Actions in Confluence' inside a macro.
I use the following to delete a user and it works fine.
--action removeUser --userId "user1"
I want to delete multiple users, so I used this :
--action run
@Data:
--action removeUser --userId "user1"
--action removeUser --userId "user2"
But I get this error message :
Run: --action removeUser --userId "user1" Client error: No user with id 'user1'. Client error: 1 actions failed
Even though 'user1' really exists and I can delete it using a single line of action.
Am I missing something ??
Thx :)
Hi @[deleted]
We are from the Bobswift support team and we have created a support request https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-7107 in our portal. Please access the Support request and once you signup, please let us know your username so that we can add yourself as the reporter of the support request.
Use the --continue parameter in your CLI action to run.
Run the following command to remove the multiple users from the confluence.
-a run --continue
@DATA:
--action removeUser --userId "user1"
--action removeUser --userId "user2"
Please let me know if you need help to set this into place.
Thanks,
Naveen
Hello !
Well, it's even worse now...
I tried that and I just get error messages for the 5 users (who all exist) :
Run: --action removeUser --userId "user1"
Client error: No user with id 'user1'.
Run: --action removeUser --userId "user2"
Client error: No user with id 'user2'.
Run: --action removeUser --userId "user3"
Remote error: Administrator permission required for this request. WebSudo login failed with a permission violation.
Run: --action removeUser --userId "user4"
Remote error: Administrator permission required for this request. WebSudo login failed with a permission violation.
Run: --action removeUser --userId "user5"
Client error: No user with id 'user5'.
Client error: 5 actions failed
So 2 times out of 5, it gives a permission error (I'm running it with an confluence-administrators user...)
Then, I tried to remove one by one with a single line.
I get :
User 'user1' removed.
Then, I go to the user list and the user hasn't been deleted... I run the macro over and over and it says 'User 'user1' removed' each time without doing anything as far as I can see...
Good thing I'm using an evaluation version, I think I'm gonna give up !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted]
We request you to please sign up in our portal to access this support request https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-7107 so that we can work on this and troubleshoot the issue.
In the meantime, please let us know the Confluence and Run CLI for the actions app version you are using.
Thanks,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello.
I signed up, but I don't have access to the ticket you mentioned (No Access message).
I found the problem. I thought that maybe it was related to the 3 nodes we have in our DataCenter.
When I shutdown 2 nodes and I keep only one running, everything works fine...
But I thought the App was Data Center ready...
Running Confluence Data Center on 3 nodes (v7.12.2) with plug-in (v9.8.0).
Thx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.