You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation with bin/install failed with a migration error message
Current behavior
Installation aborted
Expected behavior
Installation completed
How to reproduce
Granted write access to data directory and run bin/install, error message as shown below:
Custom configuration properly generated!
Initializing database... [Running "/usr/bin/php8.0 bin/cli db:create"] RUN '/usr/bin/php8.0' 'bin/cli' 'db:create'
OUT Creating database tables...
OUT
OUT [OK] Database properly created!
OUT
OUT
RES Command ran successfully
Success!
Updating database... [Running "/usr/bin/php8.0 bin/cli db:migrate"] RUN '/usr/bin/php8.0' 'bin/cli' 'db:migrate'
OUT Migrating database...
OUT
ERR
ERR In ProcessHelper.php line 110:
ERR
ERR The command "'/usr/bin/php8.0' 'vendor/doctrine/migrations/bin/doctrine-mig
ERR rations.php' 'migrations:migrate' '--no-interaction'" failed.
ERR
ERR Exit Code: 1(General error)
ERR
ERR Working directory: /var/www/shlink_2.4.2_dist
ERR
ERR Output:
ERR ================
ERR [notice] Migrating up to ShlinkMigrations\Version20201102113208
ERR
ERR
ERR Error Output:
ERR ================
ERR
ERR In Connection.php line 1761:
ERR
ERR There is no active transaction
ERR
ERR
ERR migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--
ERR allow-no-migration] [--all-or-nothing [ALL-OR-NOTHING]] [--configuration CO
ERR NFIGURATION] [--db-configuration DB-CONFIGURATION] [--] [<version>]
ERR
ERR
ERR db:migrate
ERR
ERR
RES 1 Command did not run successfully
The text was updated successfully, but these errors were encountered:
How Shlink is set-up
Summary
Installation with bin/install failed with a migration error message
Current behavior
Installation aborted
Expected behavior
Installation completed
How to reproduce
Granted write access to data directory and run bin/install, error message as shown below:
The text was updated successfully, but these errors were encountered: