As Yer_Man said: Create a new System Photo Library.
To do that, first, make sure you have plenty of room on the external drive. Also, we're hoping your external drive is formatted in either APFS format or Mac OS Extended (Jou.rnaled) format. The drive must be connected directly to the Mac by cable, not networked, clouded, NASed, etc. Additionally, the drive can not have had Time Machine on it since it was formatted. There have been so many problems with using incompatible drives that the newest macOSs won't even allow a Library on a non-Mac formatted drive to open, since there is a chance of damaging the Photos database. See this:
Move your Photos library to save space on your Mac - Apple Support
If this drive is in a an incompatible format, stop running Photos with it immediately! A Photos Library can sit on an incompatible drive, but running it may corrupt the database.
In any case, keep that Library for backup.
To make a new Library for the Mac, close Photos, option click the Photos icon, and choose Create New from the Library dialog.

You can specify the hard drive location.
A new, empty Library will open. Then, on the Mac in Photos>Settings>General, you must make this new, empty Library your System Library.

In this picture "Use as your System Library" is grayed out, because it already is the system library. Only the System Library can connect to iCloud.
Go to Settings>iCloud and connect this new Library to iCloud:
Set "Download Originals," if you have the storage space available on your drive. If not, you can check "Optimize."
Then wait. Wait some more, and eventually this new Library will fill with full sized images from iCloud. Once you've verified that everything is OK, you can trash the old Library.