-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mautic:5.1-fpm cannot be installed - AppTestKernel.php is not found. It is not there #287
Comments
I had this happen before when I'd got my root folder set incorrectly in my virtual host - is yours pointing to /docroot per the note in the docs here? |
The |
I get the same error on a fresh install using the docker-compose file with migrations enabled. |
@silviupanaite by running tests? |
No, I did a fresh install using
Updated the image to
|
It will be connected to mautic/mautic#13797 where the AppTestKernel was re-introduced. But the class is clearly there. I can't explain why it's not in your filesystem. I was testing upgrade from the Apache image from 5.3 to 5.1 while building https://github.com/escopecz/docker-compose-mautic and I had no problems to do so. |
I retried with
|
@silviupanaite can you also provide the steps you took along with the output? It's hard to understand the issue without it. |
edit the
I tried your repo, and it works with 5.1 the migration didn't work when I tried |
@silviupanaite I cannot replicate following your steps. Can you be more concrete about
Did you replace it in all 3 places? |
Yes I did replace all the images for worker, cron and web |
Same issue here. While updating the image from Mautic docker-compose file:
Nginx docker-compose file:
Nginx config file:
|
I worked around this on a test deployment by (backing up and) removing the named docker volume I'm wondering, what is the purpose of that directory being a named volume? Is it that a leftover from in the past needing to be able to be update through the web interface? |
Mautic:5.1-fpm cannot be installed
Warning: require(/var/www/html/vendor/composer/../../docroot/app/AppTestKernel.php): Failed to open stream: No such file or directory in /var/www/html/vendor/composer/autoload_real.php on line 41
Fatal error: Uncaught Error: Failed opening required '/var/www/html/vendor/composer/../../docroot/app/AppTestKernel.php' (include_path='.:/usr/local/lib/php') in /var/www/html/vendor/composer/autoload_real.php:41 Stack trace: #0 /var/www/html/vendor/composer/autoload_real.php(45): {closure}('7f9097acd45f80f...', '/var/www/html/v...') #1 /var/www/html/vendor/autoload.php(25): ComposerAutoloaderInitc287596483174f245407e95fbe560909::getLoader() #2 /var/www/html/docroot/autoload.php(13): require('/var/www/html/v...') #3 /var/www/html/docroot/app/config/bootstrap.php(5): require('/var/www/html/d...') #4 /var/www/html/docroot/index.php(9): require('/var/www/html/d...') #5 {main} thrown in /var/www/html/vendor/composer/autoload_real.php on line 41
when I log into my docker container the file, AppTestKernel.php, is not present on the path or in the system.
root@722386f8bb2c:/var/www/html/docroot/app# ls
AppCache.php codingstandards migrations
AppKernel.php composer.json phpunit.xml.dist
README.md config release_metadata.json
assets console-application.php
bundles middlewares
The text was updated successfully, but these errors were encountered: