Update 9.1.1 to 9.3.3

Dear Concrete CMS forum,

After using composer update, to update to 9.3.3 from 9.1.1, we get the following error:

Whoops\Exception\ErrorException thrown with message "require_once(doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php): Failed to open stream: No such file or directory"

Stacktrace:

#22 Whoops\Exception\ErrorException in /home/example/domains/example.nl/public_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php:69

#21 require_once in /home/example/domains/example.nl/public_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php:69

#20 Doctrine\Common\Annotations\AnnotationRegistry:registerFile in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Database/EntityManagerConfigFactory.php:88

#19 Concrete\Core\Database\EntityManagerConfigFactory:getMetadataDriverImpl in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Database/EntityManagerConfigFactory.php:75

#18 Concrete\Core\Database\EntityManagerConfigFactory:getConfiguration in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Database/EntityManagerFactory.php:56

#17 Concrete\Core\Database\EntityManagerFactory:create in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Database/DatabaseServiceProvider.php:79

#16 Concrete\Core\Database\DatabaseServiceProvider:Concrete\Core\Database\{closure} in /home/example/domains/example.nl/public_html/vendor/illuminate/container/Container.php:873

#15 Illuminate\Container\Container:build in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Application/Application.php:445

#14 Concrete\Core\Application\Application:build in /home/example/domains/example.nl/public_html/vendor/illuminate/container/Container.php:758

#13 Illuminate\Container\Container:resolve in /home/example/domains/example.nl/public_html/vendor/illuminate/container/Container.php:694

#12 Illuminate\Container\Container:make in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Database/DatabaseManagerORM.php:34

#11 Concrete\Core\Database\DatabaseManagerORM:entityManager in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Support/Facade/Facade.php:115

#10 Concrete\Core\Support\Facade\Facade:__callStatic in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Database/Connection/Connection.php:64

#9 Concrete\Core\Database\Connection\Connection:createEntityManager in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Database/Connection/Connection.php:51

#8 Concrete\Core\Database\Connection\Connection:getEntityManager in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Package/PackageList.php:73

#7 Concrete\Core\Package\PackageList:get in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Application/Application.php:231

#6 Concrete\Core\Application\Application:setupPackageAutoloaders in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Foundation/Runtime/Boot/DefaultBooter.php:510

#5 Concrete\Core\Foundation\Runtime\Boot\DefaultBooter:initializePackages in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Foundation/Runtime/Boot/DefaultBooter.php:179

#4 Concrete\Core\Foundation\Runtime\Boot\DefaultBooter:bootHttpSapi in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Foundation/Runtime/Boot/DefaultBooter.php:134

#3 Concrete\Core\Foundation\Runtime\Boot\DefaultBooter:boot in /home/example/domains/example.nl/public_html/vendor/concrete5/core/src/Foundation/Runtime/DefaultRuntime.php:80

#2 Concrete\Core\Foundation\Runtime\DefaultRuntime:boot in /home/example/domains/example.nl/public_html/public/concrete/bootstrap/start.php:44

#1 require in /home/example/domains/example.nl/public_html/public/concrete/dispatcher.php:36

#0 require in /home/example/domains/example.nl/public_html/public/index.php:3

What location is it trying to reach that it’s impossible for Concrete to overcome? I can’t seem to read it right, but all files should be present.

Dear Concrete CMS forum,

This is an error we had created ourselves by not allowing plugins to install/update the website. We had probably denied access to them in the past, and we had to change it in the composer.json

“config”: {
“preferred-install”: “dist”,
“allow-plugins”: {
“composer/installers”: false,
“mlocati/composer-patcher”: false
}
},

Removing the category of allow-plugins and trying it again made it work again

1 Like