Teaching vacancies - BAU tasks
Fixing the "Permission denied. Failed to verify the URL ownership." error
-
Visit webmaster_central and login using the "teachingjobs@digital.education.gov.uk" account details from the secrets repo.
-
Click add an owner for: "analytics-prod@teacher-vacancy-service.iam.gserviceaccount.com"
Backfilling a database table into our Analytics platform
Alert: These commands will queue one async job for every 500 instances to upload. Depending on the volume of entities to push, we may need to execute these commands out of office hours or/and increase the number of production workers before executing them.
To increase the production workers, read the hosting documentation
For backfilling a table into analytics, execute in a production console:
bundle exec rails dfe:analytics:import_entity[table_name]
For backfilling the whole DB into analytics (very resource/time intensive), execute in a production console:
bundle exec rails dfe:analytics:import_all_entities