Allo. It looks like nothing is saving again - my scraper ran a few hours ago with nothing saved
Scraping looks more reliable recently, but today I am having the nothing saving to database issue again. Sorry!
I had this one happen again today with https://morph.io/everypolitician-scrapers/azerbaijan-constituencies
I’m pretty sure it’s also happening with https://morph.io/everypolitician-scrapers/uk-house-of-commons-wikidata, as it’s been providing us data that is known to be stale, whilst reporting “nothing changed”
I’ve also noticed a few of mine doing this sporadically, but there doesn’t seem to be a pattern to it.
Thanks for letting us know @tmtmtmtm and @chris48s . I’ve restarted the service and confirmed that records are saving with the test scraper. https://github.com/openaustralia/morph/issues/1064
Let us know if this is still occurring
This has been happening again a lot over the last couple of days. https://morph.io/tmtmtmtm/south-african-national-assembly-members-wikidata is one current example.
If you see this happening, the current fix is to run the test scraper (you could fork it to run if you like), and if it’s not saving anything to the db, restart the morph service with the deploy user on the server.
sudo service morph restart
@equivalentideas nope - still happening with some scrapers, e.g. https://morph.io/everypolitician-scrapers/uk-house-of-commons-wikidata. Lots of others are working though, so I don’t think it’s enough to check a single test scraper to see if it’s working. The problem is more subtle than that…
@tmtmtmtm hmmmm. That’s looks to be running fine on it’s latest run. Any thoughts or more data you have would be great on the issue https://github.com/openaustralia/morph/issues/1064
I think I’ve seen this problem only affect one Sidekiq process (there are two in our current setup) so that might have been what was happening here.
This is happening a lot again today
Yeah I’ve been seeing it a fair bit over the last few days, but I’d say most of my jobs have failed to write any data today
Cheers. All the ones I’ve checked today have saved data
This is failing fairly consistently again now.
Looks like it’s working after yesterday’s reset. Let me know if it needs attention