Flamenco worker can't find manager
straaljager opened this issue · comments
Hello, I bought a subscription for Blender Cloud to try out Flamenco in a render farm at work. To test it, both the manager and worker are installed and running on my local machine, however the worker is unable to find the manager, even after specifying the URL of the Flamenco Manager in the config file. Any help appreciated!
2020-01-24 09:11:00,795 WARNING flamenco_worker.worker.FlamencoWorker Unable to POST to manager /register-worker, retrying in 30 seconds: 404 Client Error: Not Found for url: http://[flamenco-manager-url]:8080/register-worker; 404 page not found
It looks like the Flamenco Manager URL hasn't been updated. Have you restarted Flamenco Manager after updating its configuration file? What does it show in the web interface when you go to setup mode?
In fact, the Flamenco Manager shows this message: "Setup Mode
Normal operations of this Flamenco Manager have been suspended."
Maybe that can help identify the culprit.
That message just means that Flamenco Manager is running in setup mode. In this mode it stops normal operations; the assumption is that you're in setup mode because some setting needs changing, so there is no use in running with the old settings.
Set up Flamenco Manager, save the settings, switch to normal mode. Then it should work.
Indeed, that did the trick, thanks! In fact, the issue was related to not having permissions to run Flamenco manager, so it could not be restarted from the web interface. chmod fixed that, and now I see the worker.