"An error occurred at the worker: Provided action does not exist" error after restart
GNazar opened this issue · comments
"An error occurred at the worker: Provided action does not exist" an error happens after Fusio instance is restarted.
Steps:
- Create action Worker-PHP
- Create a route and assign action
- Call route to make sure it is working
- Reboot Fusio docker containers
- Call route.
Actual result:
{ "success": false, "message": "An error occurred at the worker: Provided action does not exist" }
Expected result: Successful response returned by Fusio
Workaround: Go to created action and press Update and then Save
Hi, ok I think I have found the problem, in general if you save an action Fusio will communicate those changes also to all activated workers, but once the worker has received the action, it also saves it at the worker file system. Could you try to mount the /var/www/html/worker/actions
folder of the PHP worker to your filesystem, through this you should keep all actions which are persisted at the worker also after reboot.
Thank you, will try that