Akeneo Onboarder
#Troubleshooting
#Running the job queue daemon command line leads to errors
batch.ERROR: Encountered an error executing the step: No project ID was provided, and we were unable to detect a default project ID.
If you encounter this kind of error in var/logs/*.log
, it’s because the job queue daemon command line isn’t aware of the mandatory environment variables needed to run the onboarder properly.
If you launch this daemon using supervisor configuration as recommended by the PIM installation manual you have to configure the mandatory environment variables that the akeneo/pim-onboarder bundle requires in the /etc/supervisor.conf
file.
[supervisord]
environment=GOOGLE_APPLICATION_CREDENTIALS="/srv/pim/serviceAccount.json",ONBOARDER_TOPIC_NAME_FOR_PUBLICATION_TO_MIDDLEWARE="middleware-topic-name",...
You can check if Google Pub/Sub access is successfully configured by using the following command in your pim
php bin/console akeneo:onboarder:check-pubsub-access --env=prod
Found a typo or a hole in the documentation and feel like contributing?
Join us on Github!