Skip to main content
Question

FME Server - deleted an fmeadmin user and now schedules are not triggering


annette2
Contributor
Forum|alt.badge.img+10

Hi all,

What is the correct process to delete admins from FME Server. I deleted 3 fmeadmin users, testing before that any schedules or automations would be assigned to another user etc.

 

Today many of our schedules who are owned by a completely different user are not working. They also don't work if I do a manual trigger. Recreating the schedule does work. Re-adding the user doesn't.

 

I see in the Completed jobs that the schedules that ran before I deleted user have a reference to a Deleted user.

 

I think the only way to fix this is to manually try to trigger each of our 25 job and recreate the schedule on acceptance and production.

 

Any other ideas would be appreciated. And it would be interesting to know what is the correct procedure? Did I miss something?

 

We are using Server 2021 but this server has been upgraded with an old backup since approx 2015 version.

 

 

 

11 replies

annette2
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • May 30, 2022

Looks like if I open each of the schedules and then save them they will then Trigger. Phew :)


redgeographics
Celebrity
Forum|alt.badge.img+47
annette2 wrote:

Looks like if I open each of the schedules and then save them they will then Trigger. Phew :)

Phew indeed, I've had that happen to me with automations that were using schedules, although not with recent upgrades.


krien
Contributor
Forum|alt.badge.img+10
  • Contributor
  • June 7, 2022

keziaatsafe
Safer
Forum|alt.badge.img+7

Thank you @annette2​  and @krien​ for reporting this and bringing it to our attention. I was able to reproduce this in different versions, which indicate that this behaviour was always the case. However I have filed a bug and included this behaviour in our Known Issues 2021.x and Known Issues 2022.x articles. I will update this post if there are any changes.

 

Kind regards,

Kezia


keziaatsafe
Safer
Forum|alt.badge.img+7
  • Safer
  • September 21, 2022

Update: The fix for this issue will be available in FME 2023.0 and newer!


annette2
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • October 5, 2022

Good to hear @keziaatsafe​ 


martyro
Contributor
Forum|alt.badge.img+3
  • Contributor
  • January 11, 2024

Hello, I am a colleague of Annette.

 

Recently we have removed another fmeadmin, and we see the exact behavior described by Annette with Automations as well: For Automations last saved/started by the deleted user the jobs are not triggered anymore. in the job history there is a reference to a Deleted user for previously run jobs.

We are using FME 2022.2

 

Is this known and fixed in FME 2023.0 as well?


keziaatsafe
Safer
Forum|alt.badge.img+7
  • Safer
  • January 11, 2024
martyro wrote:

Hello, I am a colleague of Annette.

 

Recently we have removed another fmeadmin, and we see the exact behavior described by Annette with Automations as well: For Automations last saved/started by the deleted user the jobs are not triggered anymore. in the job history there is a reference to a Deleted user for previously run jobs.

We are using FME 2022.2

 

Is this known and fixed in FME 2023.0 as well?

Hi @martyro​ ,

This is a known issue and the fix is currently planned for FME 2024.0. For internal reference purposes, the ticket is [FMEFLOW-21301].

In the meantime, the workaround is to stop and restart the automation under the user it was transferred to (e.g. Admin). I apologize for the inconvenience.

 

This issue has been reported in 2 other community posts. I'll link them here for reference.

 

Hope this information helps.

Kezia


martyro
Contributor
Forum|alt.badge.img+3
  • Contributor
  • January 17, 2024

Also related to the removal of a user, we want to report this undesired behavior:

 

When we delete a user, the API tokens of which this user is the owner are also permanently removed.

There is no prompt of this in the UI when you delete the user.

Also it is not possible to change the owner of an API token in the UI of FME Server.

 

This results in unpleasant surprises when deleting a user.

 

Is this issue known and is there a fix for it?

 

We are using FME Server 2022.2


keziaatsafe
Safer
Forum|alt.badge.img+7
  • Safer
  • January 17, 2024
martyro wrote:

Also related to the removal of a user, we want to report this undesired behavior:

 

When we delete a user, the API tokens of which this user is the owner are also permanently removed.

There is no prompt of this in the UI when you delete the user.

Also it is not possible to change the owner of an API token in the UI of FME Server.

 

This results in unpleasant surprises when deleting a user.

 

Is this issue known and is there a fix for it?

 

We are using FME Server 2022.2

Hi @martyro​ ,

Unfortunately, this is expected behaviour for security reasons. When a user is removed, the Flow Apps are disabled and the token is removed. The new owner will need to save the workspace app for a new token to be created and see a message when opening the disabled app.

Resave Workspace AppWe do have a ticket [FMEFLOW-22191] asking for ownership of tokens to be transferable but is not currently planned. I've added your comment above to the ticket for visibility. I agree that a prompt will be helpful when deleting users and have filed a ticket for this [FMEFLOW-22366].

Please feel free to add this as an Idea to our Community Ideas page here.

 

Kezia


martyro
Contributor
Forum|alt.badge.img+3
  • Contributor
  • January 18, 2024
keziaatsafe wrote:

Hi @martyro​ ,

Unfortunately, this is expected behaviour for security reasons. When a user is removed, the Flow Apps are disabled and the token is removed. The new owner will need to save the workspace app for a new token to be created and see a message when opening the disabled app.

Resave Workspace AppWe do have a ticket [FMEFLOW-22191] asking for ownership of tokens to be transferable but is not currently planned. I've added your comment above to the ticket for visibility. I agree that a prompt will be helpful when deleting users and have filed a ticket for this [FMEFLOW-22366].

Please feel free to add this as an Idea to our Community Ideas page here.

 

Kezia

Thanks @keziaatsafe.

For Flow Apps the behaviour is kind of mitigated with the notification at the Flow App itself, but you still need to look up those particular workspace apps.

 

The issue we also encountered concerned a Webhook token for an integration with an external application. For this situation there is no notification whatsoever in Flow that that Webhook token is deleted.

 

So a prompt of API tokens when removing a user and the ability to transfer ownership of tokens would be really helpful for these cases.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings