What?! Theres a huge difference. Ubuntu is hot garbage for server work. How? Wait until you hit a permissions issue with your share and you find that snap did some bullshit, because you have mixed apt and snap packages. The notorious hardcoded snap store backend? Not a fan.
Yeah one might say debian is old packages, but first of all its a nas system, not an internet facing machine or even a main server thst needs a ton of services.
Even then third party software is pretty recent even on debian.
Ubuntu is the wrong choice for any server. Any.