I've finally managed to do it going to a origin branch and doing a pull of the source branch "v1.8.x". I've executed the nodebb upgrade script and it worked fine, but now there are some npm libraries that are missing, so i'll need to do some tweaks there.
Thanks!