If cleaning up logs and old backup files doesn't clear enough space, open a support case to work with support. They may be able to come up with alternative methods to assist you through the upgrade process.
Some data points to know: available hard disk space, RAM available vs used, size of rrd store
The upgrade script attempts to do the migration in RAM, if RAM is not available, it should try to leverage the available hard disk space. If the number of RRDs is very large, it may be worth it to age out past client data temporarily to perform the upgrade. If this isn't an option, then working with support is going to be the best route.