spiral / app

Spiral Framework Skeleton HTTP Application: Queue, Console, Cycle ORM
https://spiral.dev/
MIT License
194 stars 21 forks source link

RoadRunner 2.12 is downloading instead of 2023.1 #125

Closed necrogami closed 1 year ago

necrogami commented 1 year ago

composer create project

``` ╭─ bash  test  羽149ms⠀ ﴱ default WSL at    23,15:50  ╰─ff composer create-project spiral/app demo Creating a "spiral/app" project at "./demo" Info from https://repo.packagist.org: #StandWithUkraine Installing spiral/app (3.3.3) - Installing spiral/app (3.3.3): Extracting archive Created project in /home/necrogami/code/test/demo > Installer\Installer::install _____ _ _ / ____| (_) | | | (___ _ __ _ _ __ __ _ | | \___ \ | '_ \ | || '__|/ _` || | ____) || |_) || || | | (_| || | |_____/ | .__/ |_||_| \__,_||_| | | |_| Which application preset do you want to install? [1] Web [2] Cli [3] gRPC Make your selection (default: 1): Create a default application structure and demo data? [1] Yes [0] No [?] Help Make your selection (default: 1): Would you like to use SAPI? [1] Yes [0] No [?] Help Make your selection (default: 0): Do you need Cycle ORM? [1] Yes [0] No Make your selection (default: 1): Which Collections do you want to use with Cycle ORM? [1] Doctrine Collections [2] Laravel Collections [3] Loophp Collections [0] Use PHP array as the collection Make your selection (default: 1): Which validator component do you want to use? [1] Spiral Validator [2] Symfony Validator [3] Laravel Validator [0] None of the above [?] Help Make your selection (default: 1): Do you want to use Queue component? [1] Yes [0] No Make your selection (default: 0): Do you want to use Cache component? [1] Yes [0] No Make your selection (default: 0): Do you want to use Mailer Component? [1] Yes [0] No Make your selection (default: 0): Do you want to use Storage component? [1] Yes [0] No Make your selection (default: 0): Which template engine do you want to use? [1] Stempler [2] Twig [0] None of the above Make your selection (default: 1): Do you want to use the Event Dispatcher? [1] Yes [0] No [?] Help Make your selection (default: 0): Do you need a cron jobs scheduler? [1] Yes [0] No Make your selection (default: 0): Do you need the Temporal? [1] Yes [0] No Make your selection (default: 0): Do you need the RoadRunner Metrics? [1] Yes [0] No Make your selection (default: 0): Do you need the Sentry? [1] Yes [0] No Make your selection (default: 0): Loading composer repositories with package information Updating dependencies Lock file operations: 145 installs, 0 updates, 0 removals - Locking alexkart/curl-builder (1.0.6) - Locking amphp/amp (v2.6.2) - Locking amphp/byte-stream (v1.8.1) - Locking brick/math (0.11.0) - Locking cebe/markdown (1.2.1) - Locking cocur/slugify (v3.2) - Locking codedungeon/php-cli-colors (1.12.2) - Locking composer/pcre (3.1.0) - Locking composer/semver (3.3.2) - Locking composer/xdebug-handler (3.0.3) - Locking cycle/annotated (v3.2.1) - Locking cycle/database (2.4.1) - Locking cycle/migrations (v4.0.1) - Locking cycle/orm (v2.3.0) - Locking cycle/schema-builder (v2.3.0) - Locking cycle/schema-migrations-generator (2.1.0) - Locking cycle/schema-renderer (1.2.0) - Locking defuse/php-encryption (v2.3.1) - Locking dnoegel/php-xdg-base-dir (v0.1.1) - Locking doctrine/annotations (2.0.1) - Locking doctrine/collections (1.8.0) - Locking doctrine/deprecations (v1.0.0) - Locking doctrine/inflector (2.0.6) - Locking doctrine/instantiator (1.5.0) - Locking doctrine/lexer (3.0.0) - Locking egulias/email-validator (4.0.1) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking felixfbecker/language-server-protocol (v1.5.2) - Locking fidry/cpu-core-counter (0.5.1) - Locking google/common-protos (v3.2.0) - Locking google/protobuf (v3.22.3) - Locking graham-campbell/result-type (v1.1.1) - Locking grpc/grpc (1.52.0) - Locking hamcrest/hamcrest-php (v2.0.1) - Locking league/flysystem (2.5.0) - Locking league/mime-type-detection (1.11.0) - Locking mockery/mockery (1.5.1) - Locking monolog/monolog (2.9.1) - Locking myclabs/deep-copy (1.11.1) - Locking netresearch/jsonmapper (v4.2.0) - Locking nette/php-generator (v4.0.6) - Locking nette/utils (v4.0.0) - Locking nikic/php-parser (v4.15.4) - Locking nyholm/psr7 (1.7.0) - Locking opis/closure (3.6.3) - Locking paragonie/random_compat (v9.99.100) - Locking phar-io/manifest (2.0.3) - Locking phar-io/version (3.2.1) - Locking php-http/message-factory (1.1.0) - Locking phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.3.0) - Locking phpdocumentor/type-resolver (1.7.1) - Locking phpoption/phpoption (1.9.1) - Locking phpstan/phpdoc-parser (1.20.2) - Locking phpunit/php-code-coverage (9.2.26) - Locking phpunit/php-file-iterator (3.0.6) - Locking phpunit/php-invoker (3.1.1) - Locking phpunit/php-text-template (2.0.4) - Locking phpunit/php-timer (5.0.3) - Locking phpunit/phpunit (9.6.7) - Locking psr/cache (3.0.0) - Locking psr/container (2.0.2) - Locking psr/event-dispatcher (1.0.0) - Locking psr/http-factory (1.0.2) - Locking psr/http-message (1.1) - Locking psr/http-server-handler (1.0.2) - Locking psr/http-server-middleware (1.0.2) - Locking psr/log (3.0.0) - Locking psr/simple-cache (3.0.0) - Locking qossmic/deptrac-shim (1.0.2) - Locking ramsey/collection (2.0.0) - Locking ramsey/uuid (4.7.4) - Locking roadrunner-php/app-logger (1.1.0) - Locking roadrunner-php/centrifugo (1.0.0) - Locking sebastian/cli-parser (1.0.1) - Locking sebastian/code-unit (1.0.8) - Locking sebastian/code-unit-reverse-lookup (2.0.3) - Locking sebastian/comparator (4.0.8) - Locking sebastian/complexity (2.0.2) - Locking sebastian/diff (4.0.4) - Locking sebastian/environment (5.1.5) - Locking sebastian/exporter (4.0.5) - Locking sebastian/global-state (5.0.5) - Locking sebastian/lines-of-code (1.0.3) - Locking sebastian/object-enumerator (4.0.4) - Locking sebastian/object-reflector (2.0.4) - Locking sebastian/recursion-context (4.0.5) - Locking sebastian/resource-operations (3.0.3) - Locking sebastian/type (3.2.1) - Locking sebastian/version (3.0.2) - Locking spatie/array-to-xml (3.1.5) - Locking spiral-packages/yii-error-handler-bridge (1.1.0) - Locking spiral/attributes (v3.1.0) - Locking spiral/composer-publish-plugin (v1.1.2) - Locking spiral/cycle-bridge (v2.4.1) - Locking spiral/data-grid (v3.0.0) - Locking spiral/data-grid-bridge (v3.0.1) - Locking spiral/framework (3.7.1) - Locking spiral/goridge (v3.2.0) - Locking spiral/nyholm-bridge (v1.3.0) - Locking spiral/roadrunner (v2.12.3) - Locking spiral/roadrunner-bridge (2.6.0) - Locking spiral/roadrunner-broadcast (v2.1.0) - Locking spiral/roadrunner-cli (v2.5.0) - Locking spiral/roadrunner-grpc (v2.0.1) - Locking spiral/roadrunner-http (v2.2.0) - Locking spiral/roadrunner-jobs (v2.9.0) - Locking spiral/roadrunner-kv (v3.0.0) - Locking spiral/roadrunner-metrics (v2.0.1) - Locking spiral/roadrunner-tcp (v2.0.1) - Locking spiral/roadrunner-worker (v2.3.0) - Locking spiral/testing (2.3.0) - Locking spiral/validator (1.3.0) - Locking symfony/console (v6.2.8) - Locking symfony/deprecation-contracts (v3.2.1) - Locking symfony/event-dispatcher (v6.2.8) - Locking symfony/event-dispatcher-contracts (v3.2.1) - Locking symfony/filesystem (v6.2.7) - Locking symfony/finder (v6.2.7) - Locking symfony/http-client (v6.2.9) - Locking symfony/http-client-contracts (v3.2.1) - Locking symfony/mailer (v6.2.8) - Locking symfony/mime (v6.2.7) - Locking symfony/polyfill-ctype (v1.27.0) - Locking symfony/polyfill-intl-grapheme (v1.27.0) - Locking symfony/polyfill-intl-idn (v1.27.0) - Locking symfony/polyfill-intl-normalizer (v1.27.0) - Locking symfony/polyfill-mbstring (v1.27.0) - Locking symfony/polyfill-php72 (v1.27.0) - Locking symfony/polyfill-php80 (v1.27.0) - Locking symfony/service-contracts (v3.2.1) - Locking symfony/string (v6.2.8) - Locking symfony/translation (v6.2.8) - Locking symfony/translation-contracts (v3.2.1) - Locking symfony/var-dumper (v6.2.8) - Locking symfony/yaml (v6.2.7) - Locking theseer/tokenizer (1.2.1) - Locking vimeo/psalm (dev-master a97b6b8) - Locking vlucas/phpdotenv (v5.5.0) - Locking webmozart/assert (1.11.0) - Locking yiisoft/error-handler (3.0.0) - Locking yiisoft/friendly-exception (1.1.0) - Locking yiisoft/http (1.2.0) - Locking yiisoft/injector (1.1.0) - Locking yiisoft/strings (2.1.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 145 installs, 0 updates, 0 removals - Installing spiral/composer-publish-plugin (v1.1.2): Extracting archive - Installing brick/math (0.11.0): Extracting archive - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive - Installing cocur/slugify (v3.2): Extracting archive - Installing codedungeon/php-cli-colors (1.12.2): Extracting archive - Installing composer/pcre (3.1.0): Extracting archive - Installing yiisoft/friendly-exception (1.1.0): Extracting archive - Installing doctrine/instantiator (1.5.0): Extracting archive - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive - Installing symfony/polyfill-ctype (v1.27.0): Extracting archive - Installing phpoption/phpoption (1.9.1): Extracting archive - Installing graham-campbell/result-type (v1.1.1): Extracting archive - Installing vlucas/phpdotenv (v5.5.0): Extracting archive - Installing symfony/translation-contracts (v3.2.1): Extracting archive - Installing symfony/translation (v6.2.8): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.2.1): Extracting archive - Installing symfony/polyfill-php72 (v1.27.0): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive - Installing symfony/polyfill-intl-idn (v1.27.0): Extracting archive - Installing symfony/mime (v6.2.7): Extracting archive - Installing psr/event-dispatcher (1.0.0): Extracting archive - Installing symfony/event-dispatcher-contracts (v3.2.1): Extracting archive - Installing symfony/event-dispatcher (v6.2.8): Extracting archive - Installing psr/log (3.0.0): Extracting archive - Installing doctrine/lexer (3.0.0): Extracting archive - Installing egulias/email-validator (4.0.1): Extracting archive - Installing symfony/mailer (v6.2.8): Extracting archive - Installing symfony/finder (v6.2.7): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive - Installing symfony/string (v6.2.8): Extracting archive - Installing symfony/deprecation-contracts (v3.2.1): Extracting archive - Installing symfony/console (v6.2.8): Extracting archive - Installing psr/simple-cache (3.0.0): Extracting archive - Installing psr/cache (3.0.0): Extracting archive - Installing spiral/attributes (v3.1.0): Extracting archive - Installing psr/http-message (1.1): Extracting archive - Installing psr/http-server-handler (1.0.2): Extracting archive - Installing psr/http-server-middleware (1.0.2): Extracting archive - Installing psr/http-factory (1.0.2): Extracting archive - Installing php-http/message-factory (1.1.0): Extracting archive - Installing nyholm/psr7 (1.7.0): Extracting archive - Installing nikic/php-parser (v4.15.4): Extracting archive - Installing nette/utils (v4.0.0): Extracting archive - Installing nette/php-generator (v4.0.6): Extracting archive - Installing myclabs/deep-copy (1.11.1): Extracting archive - Installing monolog/monolog (2.9.1): Extracting archive - Installing league/mime-type-detection (1.11.0): Extracting archive - Installing league/flysystem (2.5.0): Extracting archive - Installing doctrine/inflector (2.0.6): Extracting archive - Installing doctrine/annotations (2.0.1): Extracting archive - Installing paragonie/random_compat (v9.99.100): Extracting archive - Installing defuse/php-encryption (v2.3.1): Extracting archive - Installing spiral/framework (3.7.1): Extracting archive - Installing cycle/database (2.4.1): Extracting archive - Installing cycle/orm (v2.3.0): Extracting archive - Installing cycle/schema-builder (v2.3.0): Extracting archive - Installing doctrine/deprecations (v1.0.0): Extracting archive - Installing doctrine/collections (1.8.0): Extracting archive - Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive - Installing phar-io/version (3.2.1): Extracting archive - Installing phar-io/manifest (2.0.3): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing phpstan/phpdoc-parser (1.20.2): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing phpdocumentor/type-resolver (1.7.1): Extracting archive - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive - Installing theseer/tokenizer (1.2.1): Extracting archive - Installing sebastian/version (3.0.2): Extracting archive - Installing sebastian/lines-of-code (1.0.3): Extracting archive - Installing sebastian/environment (5.1.5): Extracting archive - Installing sebastian/complexity (2.0.2): Extracting archive - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive - Installing phpunit/php-text-template (2.0.4): Extracting archive - Installing phpunit/php-file-iterator (3.0.6): Extracting archive - Installing phpunit/php-code-coverage (9.2.26): Extracting archive - Installing phpunit/php-invoker (3.1.1): Extracting archive - Installing phpunit/php-timer (5.0.3): Extracting archive - Installing qossmic/deptrac-shim (1.0.2): Extracting archive - Installing ramsey/collection (2.0.0): Extracting archive - Installing sebastian/cli-parser (1.0.1): Extracting archive - Installing sebastian/code-unit (1.0.8): Extracting archive - Installing sebastian/recursion-context (4.0.5): Extracting archive - Installing sebastian/exporter (4.0.5): Extracting archive - Installing sebastian/diff (4.0.4): Extracting archive - Installing sebastian/comparator (4.0.8): Extracting archive - Installing sebastian/object-reflector (2.0.4): Extracting archive - Installing sebastian/global-state (5.0.5): Extracting archive - Installing sebastian/object-enumerator (4.0.4): Extracting archive - Installing sebastian/resource-operations (3.0.3): Extracting archive - Installing sebastian/type (3.2.1): Extracting archive - Installing yiisoft/injector (1.1.0): Extracting archive - Installing yiisoft/strings (2.1.0): Extracting archive - Installing yiisoft/http (1.2.0): Extracting archive - Installing cebe/markdown (1.2.1): Extracting archive - Installing alexkart/curl-builder (1.0.6): Extracting archive - Installing yiisoft/error-handler (3.0.0): Extracting archive - Installing spiral-packages/yii-error-handler-bridge (1.1.0): Extracting archive - Installing spiral/data-grid (v3.0.0): Extracting archive - Installing spiral/data-grid-bridge (v3.0.1): Extracting archive - Installing cycle/schema-renderer (1.2.0): Extracting archive - Installing cycle/migrations (v4.0.1): Extracting archive - Installing cycle/schema-migrations-generator (2.1.0): Extracting archive - Installing cycle/annotated (v3.2.1): Extracting archive - Installing spiral/cycle-bridge (v2.4.1): Extracting archive - Installing spiral/nyholm-bridge (v1.3.0): Extracting archive - Installing spiral/goridge (v3.2.0): Extracting archive - Installing spiral/roadrunner-worker (v2.3.0): Extracting archive - Installing spiral/roadrunner-tcp (v2.0.1): Extracting archive - Installing spiral/roadrunner-metrics (v2.0.1): Extracting archive - Installing spiral/roadrunner-http (v2.2.0): Extracting archive - Installing symfony/yaml (v6.2.7): Extracting archive - Installing symfony/http-client-contracts (v3.2.1): Extracting archive - Installing symfony/http-client (v6.2.9): Extracting archive - Installing composer/semver (3.3.2): Extracting archive - Installing spiral/roadrunner-cli (v2.5.0): Extracting archive - Installing spiral/roadrunner (v2.12.3) - Installing google/protobuf (v3.22.3): Extracting archive - Installing spiral/roadrunner-kv (v3.0.0): Extracting archive - Installing ramsey/uuid (4.7.4): Extracting archive - Installing opis/closure (3.6.3): Extracting archive - Installing spiral/roadrunner-jobs (v2.9.0): Extracting archive - Installing google/common-protos (v3.2.0): Extracting archive - Installing spiral/roadrunner-grpc (v2.0.1): Extracting archive - Installing spiral/roadrunner-broadcast (v2.1.0): Extracting archive - Installing roadrunner-php/centrifugo (1.0.0): Extracting archive - Installing roadrunner-php/app-logger (1.1.0): Extracting archive - Installing grpc/grpc (1.52.0): Extracting archive - Installing spiral/roadrunner-bridge (2.6.0): Extracting archive - Installing phpunit/phpunit (9.6.7): Extracting archive - Installing mockery/mockery (1.5.1): Extracting archive - Installing spiral/testing (2.3.0): Extracting archive - Installing spiral/validator (1.3.0): Extracting archive - Installing symfony/var-dumper (v6.2.8): Extracting archive - Installing symfony/filesystem (v6.2.7): Extracting archive - Installing spatie/array-to-xml (3.1.5): Extracting archive - Installing netresearch/jsonmapper (v4.2.0): Extracting archive - Installing fidry/cpu-core-counter (0.5.1): Extracting archive - Installing felixfbecker/language-server-protocol (v1.5.2): Extracting archive - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive - Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive - Installing composer/xdebug-handler (3.0.3): Extracting archive - Installing amphp/amp (v2.6.2): Extracting archive - Installing amphp/byte-stream (v1.8.1): Extracting archive - Installing vimeo/psalm (dev-master a97b6b8): Extracting archive 25 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 80 packages you are using are looking for funding. Use the `composer fund` command to find out more! > Installer\Configurator::configure Installation complete! Next steps: 1. Please, configure the environment variables in the .env file at the application's root. 2. Read documentation about Spiral Framework: https://spiral.dev/docs RoadRunnerBridge 1. The settings for RoadRunner are in a file named .rr.yaml at the main folder of the app. 2. Documentation: https://spiral.dev/docs/start-server CycleBridge 1. Database configuration file: app/config/database.php 2. Migrations configuration file: app/config/migration.php 3. Cycle ORM configuration file: app/config/cycle.php 4. Documentation: https://spiral.dev/docs/basics-orm SpiralValidator 1. Read more about validation in the Spiral Framework: https://spiral.dev/docs/validation-factory 2. Documentation: https://spiral.dev/docs/validation-spiral StemplerBridge 1. Read more about views in the Spiral Framework: https://spiral.dev/docs/views-configuration 2. Documentation: https://spiral.dev/docs/views-stempler Removing Configurator from composer.json ... No security vulnerability advisories found > php app.php encrypt:key -m .env New encryption key: def000000e76e68caa6418453b5ccf6d09cf62f3cda7d151b6d8304c613ff033c785908f7c4f9cf8af152c5b0081768e12375a000cc9d3cb9265933a04c48d8ec765374b Encryption key has been updated. > php app.php configure --quiet > rr get-binary --quiet > composer dump-autoload Generating autoload files Generated autoload files ```

change to dir

╭─ bash  test  羽6ms⠀                                                                                                                                                                                          ﴱ default WSL at    23,15:51 
╰─ff cd demo

try and start rr

╭─ bash  demo  羽6ms⠀                                                                                                                                                                                          ﴱ default WSL at    23,15:51 
╰─ff ./rr serve
2023-04-23T15:51:29.425-0400    ERROR   container/init.go:75    error calling internal_init     {"id": "config.Plugin", "error": "3.0.0"}
github.com/roadrunner-server/endure/pkg/container.(*Endure).callInitFn
        github.com/roadrunner-server/endure@v1.4.6/pkg/container/init.go:75
github.com/roadrunner-server/endure/pkg/container.(*Endure).internalInit
        github.com/roadrunner-server/endure@v1.4.6/pkg/container/init.go:25
github.com/roadrunner-server/endure/pkg/container.(*Endure).Initialize
        github.com/roadrunner-server/endure@v1.4.6/pkg/container/endure.go:404
reflect.Value.call
        reflect/value.go:586
reflect.Value.Call
        reflect/value.go:370
github.com/roadrunner-server/endure/pkg/fsm.(*FSMImpl).Transition
        github.com/roadrunner-server/endure@v1.4.6/pkg/fsm/fsm.go:180
github.com/roadrunner-server/endure/pkg/container.(*Endure).Init
        github.com/roadrunner-server/endure@v1.4.6/pkg/container/endure.go:314
github.com/roadrunner-server/roadrunner/v2/internal/cli/serve.NewCommand.func1
        github.com/roadrunner-server/roadrunner/v2/internal/cli/serve/command.go:60
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.6.1/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.6.1/command.go:1044
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.6.1/command.go:968
main.run
        github.com/roadrunner-server/roadrunner/v2/cmd/rr/main.go:26
main.main
        github.com/roadrunner-server/roadrunner/v2/cmd/rr/main.go:16
runtime.main
        runtime/proc.go:250
2023-04-23T15:51:29.425-0400    ERROR   container/init.go:30    error occurred during the call INIT function    {"id": "config.Plugin", "error": "endure_call_init_fn: Function call error:\n\t3.0.0"}
github.com/roadrunner-server/endure/pkg/container.(*Endure).internalInit
        github.com/roadrunner-server/endure@v1.4.6/pkg/container/init.go:30
github.com/roadrunner-server/endure/pkg/container.(*Endure).Initialize
        github.com/roadrunner-server/endure@v1.4.6/pkg/container/endure.go:404
reflect.Value.call
        reflect/value.go:586
reflect.Value.Call
        reflect/value.go:370
github.com/roadrunner-server/endure/pkg/fsm.(*FSMImpl).Transition
        github.com/roadrunner-server/endure@v1.4.6/pkg/fsm/fsm.go:180
github.com/roadrunner-server/endure/pkg/container.(*Endure).Init
        github.com/roadrunner-server/endure@v1.4.6/pkg/container/endure.go:314
github.com/roadrunner-server/roadrunner/v2/internal/cli/serve.NewCommand.func1
        github.com/roadrunner-server/roadrunner/v2/internal/cli/serve/command.go:60
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.6.1/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.6.1/command.go:1044
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.6.1/command.go:968
main.run
        github.com/roadrunner-server/roadrunner/v2/cmd/rr/main.go:26
main.main
        github.com/roadrunner-server/roadrunner/v2/cmd/rr/main.go:16
runtime.main
        runtime/proc.go:250
2023-04-23T15:51:29.425-0400    ERROR   container/endure.go:418 error during the internal_init  {"error": "endure_internal_init: Function call error:\n\tendure_call_init_fn:\n\t3.0.0"}
github.com/roadrunner-server/endure/pkg/container.(*Endure).Initialize
        github.com/roadrunner-server/endure@v1.4.6/pkg/container/endure.go:418
reflect.Value.call
        reflect/value.go:586
reflect.Value.Call
        reflect/value.go:370
github.com/roadrunner-server/endure/pkg/fsm.(*FSMImpl).Transition
        github.com/roadrunner-server/endure@v1.4.6/pkg/fsm/fsm.go:180
github.com/roadrunner-server/endure/pkg/container.(*Endure).Init
        github.com/roadrunner-server/endure@v1.4.6/pkg/container/endure.go:314
github.com/roadrunner-server/roadrunner/v2/internal/cli/serve.NewCommand.func1
        github.com/roadrunner-server/roadrunner/v2/internal/cli/serve/command.go:60
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.6.1/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.6.1/command.go:1044
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.6.1/command.go:968
main.run
        github.com/roadrunner-server/roadrunner/v2/cmd/rr/main.go:26
main.main
        github.com/roadrunner-server/roadrunner/v2/cmd/rr/main.go:16
runtime.main
        runtime/proc.go:250
handle_serve_command: Init error:
        endure_initialize:
        endure_internal_init: Function call error:
        endure_call_init_fn:
        3.0.0

It seems to stem from .rr.yaml having 3 as the version line.

roxblnfk commented 1 year ago

Hello. Which RR version has been installed? rr --version There should be 2023.1.1

necrogami commented 1 year ago

rr version 2.12.3 (build time: 2023-02-16T13:08:41+0000, go1.20), OS: linux, arch: amd64

roxblnfk commented 1 year ago

Thank you. We will fix it. You can download the latest RoadRunner binaries manually.

https://github.com/roadrunner-server/roadrunner/releases/tag/v2023.1.1

Or using vendor/bin/rr get --filter=2023.1.1

butschster commented 1 year ago

There is PR https://github.com/spiral/app/pull/123 with updates. I'll try to merge it today