Cannot install Mojave because of lack of space
I have a late 2013 iMac with a 1TB HDD. We use a A 256gb USB SSD drive as the boot drive. However when we try to install Mojave it gives a space error. It says "the target disk is too small for this operation. Quit the installer to restart your computer and try again"
However the SSD drive has 155GB free
Yet ... if look in storage in About this mac it says the SSD drive is full (right image), yet if I "get info" from the Finder it says there is 155GB free (see left image)
The only item which is 150GB on my computer is the photos library but if I look in photos / preferences it says the library is located in the iMac HDD
And when I look at the size of each folder in the SSD it shows there is only about 100GB used and therefore 150GB free.
So ... my guess is there is 155GB free on the SSD but for some reason some parts of the system think it is full with photos so when I try to update the OS it gives the error.
The problem started with the last OS update before that it was fine and we currently run 10.13.5
How can I solve this issue? Thanks