I was able to reproduce this scenario in my org and then verified our Salesforce internal logs that the trigger on NetworkMember is being fired and there are no errors in this process.
This behavior is working as designed. When the trigger is fired the debug logs are generated in the context of the Automated process.
Typically, triggers run in the context of ...
1.Please ensure that NetworkMember Trigger is Active
2.Enable Setup/Developer console to debug logs with a fine level
3.Follow the Steps: Goto Setup -> Administration Setup -> Monitoring -> Debug Logs.
In the Monitored User, section add your user profile (or the user profile that you are testing the trigger)
Try Executing your trigger. For example, ...
You can view logs for your NetworkMember trigger by adding a debug log on Automated Process.
Navigate to Setup > Debug Logs. Click New under User Trace Flags. For "Traced Entity Type", select "Automated Process".
Figured this out by inserting an Account inside the NetworkMember trigger. The "user" that was creating those ...
Based on similar ask on developer forum (https://developer.salesforce.com/forums/?id=9062I000000Xu1OQAS) in the past, clearing of photo storage or backend recalculation of storage requires Salesforce support's intervention.
Please consider logging a case with Salesforce support to resolve this conflict.