Instructions for how to properly update on Ubuntu Linux 18.04

Every week or two I shut down my server and try to update it to the latest build. This is what I do.

cd /home/trinity/TrinityCore
git pull origin 3.3.5
cd build
cmake …/ -DCMAKE_INSTALL_PREFIX=/home/trinity/server
make -j $(nproc) install

These are the assumed update instructions given by the Linux Core Installation manual. But every time I do it, it fails to compile.

[SIZE=16px]Can someone provide the correct method that I should use to update the server?[/SIZE]

you only need full rebuild if:

some critical files changed.

you updated OS and pch needs to be removed.

I agree.

I’m sorry, was my question unclear @Aokromes?

Is there seriously zero advice on this question? I will just keep rebuilding the server every time I guess.

With the exception of me using make -j 2, I ran the same steps on Saturday on the same OS and it completed fine. I was several weeks out of date.