Closed maciej-laskowski closed 3 years ago
The main problem is discussed here https://github.com/nelmio/alice/issues/1089#issuecomment-916664460
The fix should be easy.
"repositories": [
{
"type": "vcs",
"url": "https://github.com/theofidry/AliceBundle"
}
],
Run composer install
to update composer.lock
Run docker-compose up -d
Test container (Mac M1). Argh, not so easy :( The containers are build without error messages. But the php container is crushing. I am not sure if this is related or the error.
Executing script cache:clear [OK]
Executing script assets:install public [OK]
In Hub.php line 104:
Failed to send an update.
In TraceableResponse.php line 212:
HTTP/1.1 401 Unauthorized returned for "http://caddy/.well-known/mercure".
hautelook:fixtures:load [-b|--bundle [BUNDLE]] [--no-bundles [NO-BUNDLES]] [-m|--manager MANAGER] [--append] [--shard SHARD] [--purge-with-truncate]
@Chris53897 thanks for having a look. There could be more things broken. Actually I was trying to set up a fresh copy of demo app because I believe the service decorators in services.yaml are broken (at least the are in out app after updating symfony/dependency-injection from 5.3.4 to 5.3.7) and I wanted to verify that on the demo app.
I did run demo app multiple times in the past without any problems.
PHP-Container is running after i deactivated mecure in config-File mercure: false
. But i do not get access to https://localhost/ (no entry in the caddy log)
The problem with the decorator in 5.3.7 is another issue not related to APIP. https://github.com/symfony/symfony/issues/42880 Just add this to the "conflict" section of composer "symfony/dependency-injection": "5.3.7"
I did run demo app multiple times in the past without any problems.
Good news. Can you check if the PR works?
I found the error why my setup is not working. https://github.com/api-platform/api-platform/issues/1986
@Chris53897 Your fix works, thank you!
Description
Running:
Produces an error in php container
https://github.com/hautelook/AliceBundle.git
leads to 404