Database "%1!s!" requires database logs to be restored either on the future mirror database before you can enable database ...

Database "%1!s!" requires database logs to be restored either on the future mirror database before you can enable database mirroring or on a secondary availability database before you can join it to the availability group. Restore current log backups from the principal database or primary database.