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!
Hey @lowndsy thanks for reporting this Iāve just run the tests scrapers and itās not having trouble. Can you confirm this is still an issue?
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.
@tmtmtmtm this seems to be ok again. The test scraper is working.
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
Thanks for letting us know @tmtmtmtm and @chris48s Iāve restarted the service and it should be working again. Let me know if it needs another kick.
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