Repair Settings and User, create Media entities