Problem with Upgrade Manual/Custom Install 1.8.13 to 2.0.3

Hello,

I have used this doku https://xibo.org.uk/docs/setup/upgrade-manual-custom-install but the last step don’t work. This is what I get:

$ vendor/bin/phinx migrate -c phinx.php
PHP Warning: require(/var/www/html/signit20/vendor/bin/…/app/phinx.php): failed to open stream: No such file or directory in /var/www/html/signit20/vendor/bin/phinx on line 27
PHP Stack trace:
PHP 1. {main}() /var/www/html/signit20/vendor/bin/phinx:0
PHP Fatal error: require(): Failed opening required ‘/var/www/html/signit20/vendor/bin/…/app/phinx.php’ (include_path=’.:/usr/share/php’) in /var/www/html/signit20/vendor/bin/phinx on line 27
PHP Stack trace:
PHP 1. {main}() /var/www/html/signit20/vendor/bin/phinx:0

The I tried to edit the vendor/bin/phinx file from:

$app = require DIR . ‘/…/app/phinx.php’;
to:
$app = require DIR . ‘/…/…/phinx.php’;

because I have no app directory and now I get:

$ vendor/bin/phinx migrate -c phinx.php
PHP Fatal error: Uncaught Error: Call to a member function run() on array in /var/www/html/signit20/vendor/bin/phinx:28
Stack trace:
#0 {main}
thrown in /var/www/html/signit20/vendor/bin/phinx on line 28

So this wasn’t the right fix.
Do you know what to do?

FYI: The server has PHP 7.3 installed.

Perhaps try this:

The person there was using PHP 7.3 as well so it may be something specific to that. We ship PHP 7.2 currently and so that’s what we’d recommend.

I had similar issues and have just performed the steps in the thread you mention here and it solved my issue. I am running PHP v7.3.7.