To be completed by the original poster:
CMS Version
4.1.2 to 4.2.1
Installation Method
Custom install
Operating System
Ubuntu Server 22.04 (MariaDB)
Issue
Currently the server is installed version 4.1.2 and I wanted to migrate to version 4.2.1, I copied the files and launched the php script /var/www/html/vendor/bin/phinx migrate -c phinx.php from the terminal, the execution immediately stops and returns the following error: In FileLocator.php line 73:
The file “phinx.php” does not exist (in: “/root”, “/root/”).
How can I solve it? Thanks for the help.