Ниже с чем столкнулся. По стандартным путям composer.lock не находится. Как лучше фиксить? Вариант топорный - symlink сделать или вернуть на стандартный путь composer.lock
Почему вы composer --no-scripts сделали?
[symfonyconsole] executing bin/console doctrine:migrations:migrate --env=dev --no-interaction --allow-no-migration
[2017-10-04 10:33:00] doctrine.DEBUG: SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' [] []
[2017-10-04 10:33:00] doctrine.DEBUG: SELECT version FROM migration_versions [] []
[2017-10-04 10:33:00] doctrine.DEBUG: SELECT version FROM migration_versions WHERE version IN ('20170706161000') ORDER BY version DESC LIMIT 1 [] []
[2017-10-04 10:33:00] doctrine.DEBUG: SELECT version FROM migration_versions [] []
[2017-10-04 10:33:00] doctrine.DEBUG: "START TRANSACTION" [] []
[2017-10-04 10:33:00] doctrine.DEBUG: "ROLLBACK" [] []
[2017-10-04 10:33:00] console.ERROR: Error thrown while running command "doctrine:migrations:migrate --env=dev --no-interaction --allow-no-migration". Message: "PackageVersions could not locate your `composer.lock` location. This is assumed to be in ["\/composer\/vendor\/ocramius\/package-versions\/src\/PackageVersions\/..\/..\/..\/..\/..\/composer.lock","\/composer\/vendor\/ocramius\/package-versions\/src\/PackageVersions\/..\/..\/composer.lock"]. If you customized your composer vendor directory and ran composer installation with --no-scripts, then you are on your own, and we can't really help you. Fix your shit and cut the tooling some slack." {"error":"[object] (UnexpectedValueException(code: 0): PackageVersions could not locate your `composer.lock` location. This is assumed to be in [\"\\/composer\\/vendor\\/ocramius\\/package-versions\\/src\\/PackageVersions\\/..\\/..\\/..\\/..\\/..\\/composer.lock\",\"\\/composer\\/vendor\\/ocramius\\/package-versions\\/src\\/PackageVersions\\/..\\/..\\/composer.lock\"]. If you customized your composer vendor directory and ran composer installation with --no-scripts, then you are on your own, and we can't really help you. Fix your shit and cut the tooling some slack. at /composer/vendor/ocramius/package-versions/src/PackageVersions/FallbackVersions.php:56)","command":"doctrine:migrations:migrate --env=dev --no-interaction --allow-no-migration","message":"PackageVersions could not locate your `composer.lock` location. This is assumed to be in [\"\\/composer\\/vendor\\/ocramius\\/package-versions\\/src\\/PackageVersions\\/..\\/..\\/..\\/..\\/..\\/composer.lock\",\"\\/composer\\/vendor\\/ocramius\\/package-versions\\/src\\/PackageVersions\\/..\\/..\\/composer.lock\"]. If you customized your composer vendor directory and ran composer installation with --no-scripts, then you are on your own, and we can't really help you. Fix your shit and cut the tooling some slack."} []
[2017-10-04 10:33:00] console.DEBUG: Command "doctrine:migrations:migrate --env=dev --no-interaction --allow-no-migration" exited with code "1" {"command":"doctrine:migrations:migrate --env=dev --no-interaction --allow-no-migration","code":1} []
[UnexpectedValueException]
PackageVersions could not locate your `composer.lock` location. This is assumed to be in ["\/composer\/vendor\/ocramius\/pack
age-versions\/src\/PackageVersions\/..\/..\/..\/..\/..\/composer.lock","\/composer\/vendor\/ocramius\/package-versions\/src\/
PackageVersions\/..\/..\/composer.lock"]. If you customized your composer vendor directory and ran composer installation with
--no-scripts, then you are on your own, and we can't really help you. Fix your shit and cut the tooling some slack.
doctrine:migrations:migrate [--write-sql] [--dry-run] [--query-time] [--allow-no-migration] [--configuration [CONFIGURATION]] [--db-configuration [DB-CONFIGURATION]] [--db DB] [--em EM] [--shard SHARD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<version>]
[symfonyconsole]
Application Migrations
Migrating up to 20170706161000 from 0
Migration 20170706161000 failed during Pre-Checks. Error PackageVersions could not locate your `composer.lock` location. This is assumed to be in ["\/composer\/vendor\/ocramius\/package-versions\/src\/PackageVersions\/..\/..\/..\/..\/..\/composer.lock","\/composer\/vendor\/ocramius\/package-versions\/src\/PackageVersions\/..\/..\/composer.lock"]. If you customized your composer vendor directory and ran composer installation with --no-scripts, then you are on your own, and we can't really help you. Fix your shit and cut the tooling some slack.