Backup your database:
mysqldump -h $host -P $port -u librenms -p$password librenms >backup.sql
It seems this workaround should work from the article.
Worked for @tobzsc
Changing the row format of the table “devices” to DYNAMIC fixed it for me. A successful migration was possible afterwards.
ALTER TABLE devices ROW_FORMAT=DYNAMIC;
Retry update