The error message, "Items owned by a Public Account must be shared to Everyone before sharing to a group. Update share levels to Everyone and go to Group Sharing?" is returned when a user with a custom role attempts to share to a group.
This issue is a duplicate of BUG-000142856. Default users with proper administrative rights do not encounter this error message. This issue is related to the specific custom role.