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
My installation is using docker compose.
I was using mautic/mautic:5-apache which was working well, and just updated the tag to mautic/mautic:5.1.1-apache.
The containers start up fine, but on opening the web page it shows:
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...') mautic/mautic#1 /var/www/html/vendor/autoload.php(25): ComposerAutoloaderInitbccd3ad3db7b670fdd12e172f6f4c035::getLoader() mautic/mautic#2 /var/www/html/docroot/autoload.php(13): require('/var/www/html/v...') mautic/mautic#3 /var/www/html/docroot/app/config/bootstrap.php(5): require('/var/www/html/d...') mautic/mautic#4 /var/www/html/docroot/index.php(9): require('/var/www/html/d...') mautic/mautic#5 {main} thrown in /var/www/html/vendor/composer/autoload_real.php on line 41
I also tried updating to mautic/mautic:5.1.0-apache, and it gives the same error.
How can we reproduce this issue?
Step 1: Clone the mautic/docker-mautic repo, edit the docker-compose.yml file to set the apache version mautic/mautic:5-apache and run docker compose up -d to install mautic. Check the website to see that it's working fine.
Step 2: Edit the docker-compose.yml to change the version to mautic/mautic:5.1.1-apache in the three containers.
Step 3: Run docker compose down && docker compose up -d to rebuild the containers. Go to the website, and it shows the error above.
Relevant log output
127.0.0.1 - - [21/Nov/2024:17:58:48 +0000] "GET / HTTP/1.1" 200 1195 "-""curl/7.88.1"
[Thu Nov 21 17:58:53.492533 2024] [php:warn] [pid 22:tid 22] [client 127.0.0.1:41860] PHP 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
[Thu Nov 21 17:58:53.493260 2024] [php:error] [pid 22:tid 22] [client 127.0.0.1:41860] PHP 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\nStack trace:\n#0 /var/www/html/vendor/composer/autoload_real.php(45): {closure}('7f9097acd45f80f...', '/var/www/html/v...')\n#1 /var/www/html/vendor/autoload.php(25): ComposerAutoloaderInitbccd3ad3db7b670fdd12e172f6f4c035::getLoader()\n#2 /var/www/html/docroot/autoload.php(13): require('/var/www/html/v...')\n#3 /var/www/html/docroot/app/config/bootstrap.php(5): require('/var/www/html/d...')\n#4 /var/www/html/docroot/index.php(9): require('/var/www/html/d...')\n#5 {main}\n thrown in /var/www/html/vendor/composer/autoload_real.php on line 41
127.0.0.1 - - [21/Nov/2024:17:58:53 +0000] "GET / HTTP/1.1" 200 1195 "-""curl/7.88.1"
### Code of Conduct
- [X] I confirm that I have read and agree to follow this project's Code of Conduct
<br /><hr>
Care about this issue? Want to get it resolved sooner? If you are a <a href='https://www.mautic.org/become-a-member-of-mautic'>member of Mautic</a>, you can add some funds to the <a href='https://opencollective.com/mautic/projects/bounties'>Bounties Project</a> so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs <a href='https://contribute.mautic.org/product-team/mautic-bounty-programme'>here.</a>
The text was updated successfully, but these errors were encountered:
Mautic Series
5.1.x series
Mautic installed version
5.1.1
Way of installing
I'm using a Docker image from https://hub.docker.com/r/mautic/mautic
PHP version
What's in the image
What browsers are you seeing the problem on?
Chrome
What happened?
My installation is using docker compose.
I was using
mautic/mautic:5-apache
which was working well, and just updated the tag tomautic/mautic:5.1.1-apache
.The containers start up fine, but on opening the web page it shows:
I also tried updating to
mautic/mautic:5.1.0-apache
, and it gives the same error.How can we reproduce this issue?
Step 1: Clone the
mautic/docker-mautic
repo, edit thedocker-compose.yml
file to set the apache versionmautic/mautic:5-apache
and rundocker compose up -d
to install mautic. Check the website to see that it's working fine.Step 2: Edit the docker-compose.yml to change the version to
mautic/mautic:5.1.1-apache
in the three containers.Step 3: Run
docker compose down && docker compose up -d
to rebuild the containers. Go to the website, and it shows the error above.Relevant log output
The text was updated successfully, but these errors were encountered: