first go to admin-> licenses → should say community/if it says free then your community plan is lost
if it says community then go to orchestrator → tenant → manage access → edit the user and provide a automation developer/rpa developer role
if it says free you can go to admin and delete the organization and recreate so that you would get a new community license
hope this helps
cheers