Error 500 and unable to connect to DB

Hi,
Ended up following the steps from this thread Manually moving one user to new server
As well as for whatever reason my user account became unable to connect to the DB server and had to solve it via

ALTER USER 'nextcloud'@'%' IDENTIFIED WITH mysql_native_password;
FLUSH PRIVILEGES;

Created a new container, moved files over and rediscovered them.