#210 Delete unreachable profiles

Open
opened 2 months ago by postblue · 1 comments

After 5y+ running herds.eu I have lots of accounts that are no more active/reachable (quitter.se, et al.) and cluttering the install. It might be a good idea to make a script to clean those? Like:

  1. deleting profiles/previews/avatars/remote medias of unreachable instances
  2. unless a user has interacted with a notice (reply, fav, repeat), in that case save the notice and related medias
  3. remove instance/feeds of followers/followed

Moreover, I'm getting a good bunch of ERROR: unsubscribe request failed when running Ostatus/scripts/gcfeeds --delete, like:

[...]
https://mastodon.social/users/Petit_louis.atom (unsubscribe) ERROR: unsubscribe request failed.
https://mastodon.social/users/Linguisticae.atom (unsubscribe) ERROR: unsubscribe request failed.
https://framapiaf.org/users/muchos.atom (unsubscribe) ERROR: unsubscribe request failed.
https://framapiaf.org/users/rezo.atom (unsubscribe) ERROR: unsubscribe request failed.
https://mamot.fr/users/emmanuelc.atom (unsubscribe) ERROR: unsubscribe request failed.
https://framapiaf.org/users/etienne_cdl.atom (unsubscribe) ERROR: unsubscribe request failed.
https://framapiaf.org/users/Linuxine.atom (unsubscribe) ERROR: unsubscribe request failed.
https://mamot.fr/users/jacqueschapman.atom (unsubscribe) ERROR: unsubscribe request failed.
https://framapiaf.org/users/e_jambon.atom (unsubscribe) ERROR: unsubscribe request failed.
https://social.targaryen.house/users/marsxyz.atom (unsubscribe) ERROR: unsubscribe request failed.
https://mamot.fr/users/gibr.atom (unsubscribe) ERROR: unsubscribe request failed.
https://framapiaf.org/users/Asriel.atom (unsubscribe) ERROR: unsubscribe request failed.
https://mastodon.pirateparty.be/users/HgO.atom (unsubscribe) ERROR: unsubscribe request failed.
https://octodon.social/users/Siphonay.atom (unsubscribe) ERROR: unsubscribe request failed.
https://framapiaf.org/users/Clailou.atom (unsubscribe) ERROR: unsubscribe request failed.
https://mamot.fr/users/pascalou.atom (unsubscribe) ERROR: unsubscribe request failed.
https://mamot.fr/users/marseye.atom (unsubscribe) ERROR: unsubscribe request failed.
https://scholar.social/users/omanreagan.atom (unsubscribe) ERROR: unsubscribe request failed.
https://social.tchncs.de/users/Blort.atom (unsubscribe) ERROR: unsubscribe request failed.

Deleted 0 inactive feeds.
After 5y+ running herds.eu I have lots of accounts that are no more active/reachable (quitter.se, et al.) and cluttering the install. It might be a good idea to make a script to clean those? Like: 1. deleting profiles/previews/avatars/remote medias of unreachable instances 2. unless a user has interacted with a notice (reply, fav, repeat), in that case save the notice and related medias 3. remove instance/feeds of followers/followed Moreover, I'm getting a good bunch of ERROR: unsubscribe request failed when running Ostatus/scripts/gcfeeds --delete, like: ``` [...] https://mastodon.social/users/Petit_louis.atom (unsubscribe) ERROR: unsubscribe request failed. https://mastodon.social/users/Linguisticae.atom (unsubscribe) ERROR: unsubscribe request failed. https://framapiaf.org/users/muchos.atom (unsubscribe) ERROR: unsubscribe request failed. https://framapiaf.org/users/rezo.atom (unsubscribe) ERROR: unsubscribe request failed. https://mamot.fr/users/emmanuelc.atom (unsubscribe) ERROR: unsubscribe request failed. https://framapiaf.org/users/etienne_cdl.atom (unsubscribe) ERROR: unsubscribe request failed. https://framapiaf.org/users/Linuxine.atom (unsubscribe) ERROR: unsubscribe request failed. https://mamot.fr/users/jacqueschapman.atom (unsubscribe) ERROR: unsubscribe request failed. https://framapiaf.org/users/e_jambon.atom (unsubscribe) ERROR: unsubscribe request failed. https://social.targaryen.house/users/marsxyz.atom (unsubscribe) ERROR: unsubscribe request failed. https://mamot.fr/users/gibr.atom (unsubscribe) ERROR: unsubscribe request failed. https://framapiaf.org/users/Asriel.atom (unsubscribe) ERROR: unsubscribe request failed. https://mastodon.pirateparty.be/users/HgO.atom (unsubscribe) ERROR: unsubscribe request failed. https://octodon.social/users/Siphonay.atom (unsubscribe) ERROR: unsubscribe request failed. https://framapiaf.org/users/Clailou.atom (unsubscribe) ERROR: unsubscribe request failed. https://mamot.fr/users/pascalou.atom (unsubscribe) ERROR: unsubscribe request failed. https://mamot.fr/users/marseye.atom (unsubscribe) ERROR: unsubscribe request failed. https://scholar.social/users/omanreagan.atom (unsubscribe) ERROR: unsubscribe request failed. https://social.tchncs.de/users/Blort.atom (unsubscribe) ERROR: unsubscribe request failed. Deleted 0 inactive feeds. ```
Guillaume commented 1 month ago
Poster

Getting a lot of errors when updating ostatus profiles (30k+ profiles), like:

Updating OStatus profile 'http://quitter.se/user/122134' ... Could not reach profile page http://quitter.se/user/122134.
Getting a lot of errors when updating ostatus profiles (30k+ profiles), like: ``` Updating OStatus profile 'http://quitter.se/user/122134' ... Could not reach profile page http://quitter.se/user/122134. ```
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.