Unable to install database - WSL Ubuntu

I am trying so hard to stay with ConcreteCMS after a long history of success, however trying to install using composer and then the C5 command line is like pulling teeth without any pain killers.

I have spent the last couple of hours trying to install concrete using the composer method, only to strike a problem after fumbling through comments and help messages:

5%: Starting installation and creating directories.
19%: Creating database tables.

In StartingPointPackage.php line 461:
Unable to install database: [Semantical Error] The annotation "@Doctrine\ORM\Mapping\MappedSuperClass" in class Concrete\Core\Entity\Attr
  ibute\Value\AbstractValue was never imported. Did you maybe forget to add a "use" statement for this annotation?

tracking the code, there is not much help on the code that helps to diagnose the issue.

I’ve installed countless via the DL package but I want to be able to use the composer method but am not having much success at all.

Used the following method (confirmed all configurations are correct):

 vendor/bin/concrete5 c5:install -i

Concrete Version 9.1.3
PHP 8.1.11

What is the cause of this?

The strongest possibilities are php version and composer.

Try:

  • php 8.0 (and failing that, 7.4)
  • download the zip rather than using composer.

thank you for the reply @JohntheFish … I wanted to avoid using just the ZIP, but I guess Ill have to do it. :frowning:

It seems one of dependencies introduced some backward-compatibility breaking changes.

You have to downgrade/state version of doctrine orm library by editing composer.json file
and adding this line in “require” section:

"doctrine/orm": "2.13.4"

or even probably better:

"doctrine/orm": "<2.14"

I doubt it is WSL2 only bug, but I haven’t tested it directly on Linux.
If it is indeed library related-bug, then I expect that Composer Skeleton Repository will be updated with mentioned fix sooner or later.

Tried the zip and installing, error hit there was , invalid file extension after 75% complete.

This was tried with PHP 8.1 and 8.0

Also tried amending the composer.json as @Parasek mentioned. The same result.

Ill try again on the composer install.

no luck @Parasek , updated the composer.json in the concrete folder and had no luck, same error.

it’s so disappointing. I want to use this CMS.

You should edit composer.json at top level, not in concrete folder (I assume you are using GitHub - concretecms/composer: Concrete CMS Composer base. for installation).

The zip and CLI install has always worked for me. This is a sanitized copy from my CLI history:

$ concrete/bin/concrete5 c5:install --db-server=my_db_servername --db-username=my_db_user --db-password=my_db_password --db-database=my_db_name --site=my_site_name --starting-point=atomik_full --admin-email=john@c5magic.co.uk --admin-password=my_site_pw --site-locale=en_GB --timezone=Europe/London

This has worked for me in php7.4 and php8.0 (I have not used it with later php).

Also, most of my site installs are for demo or testing, so I usually install with the sample content.

I have used the instructions from the documentation on the site for the install

there must be something going on with WSL (or me) as that command results in “command not found” even though I can see the script file in that location.

The command path assumes the current directory is the root directory of your concrete install. ie, the directory created when the installation zip is extracted (or where you have moved it to)
If you do $ ls or $ dir in the terminal, the subdirectories will be ./application, ./concrete, ./packages etc.

Maybe in WSL the paths are \ rather than /.
Maybe the files in /concrete/bin need to be marked executable (though I have never needed to adjust permissions after unzipping and install, so I think that is unlikely)

CLI docs at:

Another thought. maybe you need a linux/WSL terminal open, rather than a DOS terminal.

downgrading to php 7.4

im using terminal emulation of the WSL, not a dos terminal, essentially I’m in ubuntu

as an update, I managed to get the install done via the web interface of the downloaded zip, but only as a blank site.

Asking it to install and dummy content from atomik etc returned a failure:

Invalid file extension

trace for anyone who wants to fix the bug:

Trace:
#0 /home/david/development/concrete_test/concrete/src/Package/StartingPointPackage.php(396): Concrete\Core\Backup\ContentImporter->importFiles() 
#1 /home/david/development/concrete_test/concrete/config/install/packages/atomik_full/controller.php(57): Concrete\Core\Package\StartingPointPackage->import_files() 
#2 /home/david/development/concrete_test/concrete/src/Package/StartingPointPackage.php(184): Concrete\StartingPointPackage\AtomikFull\Controller->import_files() 
#3 /home/david/development/concrete_test/concrete/controllers/install.php(390): Concrete\Core\Package\StartingPointPackage->executeInstallRoutine() 
#4 [internal function]: Concrete\Controller\Install->run_routine() 
#5 /home/david/development/concrete_test/concrete/src/Controller/AbstractController.php(318): call_user_func_array() 
#6 /home/david/development/concrete_test/concrete/src/Routing/ControllerRouteAction.php(64): Concrete\Core\Controller\AbstractController->runAction() 
#7 /home/david/development/concrete_test/concrete/src/Http/RouteDispatcher.php(37): Concrete\Core\Routing\ControllerRouteAction->execute() 
#8 /home/david/development/concrete_test/concrete/src/Http/Middleware/DispatcherDelegate.php(39): Concrete\Core\Http\RouteDispatcher->dispatch() 
#9 /home/david/development/concrete_test/concrete/src/Http/Middleware/MiddlewareStack.php(86): Concrete\Core\Http\Middleware\DispatcherDelegate->next() 
#10 /home/david/development/concrete_test/concrete/src/Http/DefaultDispatcher.php(127): Concrete\Core\Http\Middleware\MiddlewareStack->process() 
#11 /home/david/development/concrete_test/concrete/src/Http/DefaultDispatcher.php(60): Concrete\Core\Http\DefaultDispatcher->handleDispatch() 
#12 /home/david/development/concrete_test/concrete/src/Http/Middleware/DispatcherDelegate.php(39): Concrete\Core\Http\DefaultDispatcher->dispatch() 
#13 /home/david/development/concrete_test/concrete/src/Http/Middleware/FrameOptionsMiddleware.php(39): Concrete\Core\Http\Middleware\DispatcherDelegate->next() 
#14 /home/david/development/concrete_test/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\FrameOptionsMiddleware->process() 
#15 /home/david/development/concrete_test/concrete/src/Http/Middleware/StrictTransportSecurityMiddleware.php(36): Concrete\Core\Http\Middleware\MiddlewareDelegate->next() 
#16 /home/david/development/concrete_test/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\StrictTransportSecurityMiddleware->process() 
#17 /home/david/development/concrete_test/concrete/src/Http/Middleware/ContentSecurityPolicyMiddleware.php(36): Concrete\Core\Http\Middleware\MiddlewareDelegate->next() 
#18 /home/david/development/concrete_test/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\ContentSecurityPolicyMiddleware->process() 
#19 /home/david/development/concrete_test/concrete/src/Http/Middleware/CookieMiddleware.php(35): Concrete\Core\Http\Middleware\MiddlewareDelegate->next() 
#20 /home/david/development/concrete_test/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\CookieMiddleware->process() 
#21 /home/david/development/concrete_test/concrete/src/Http/Middleware/ApplicationMiddleware.php(29): Concrete\Core\Http\Middleware\MiddlewareDelegate->next() 
#22 /home/david/development/concrete_test/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\ApplicationMiddleware->process() 
#23 /home/david/development/concrete_test/concrete/src/Http/Middleware/MiddlewareStack.php(86): Concrete\Core\Http\Middleware\MiddlewareDelegate->next() 
#24 /home/david/development/concrete_test/concrete/src/Http/DefaultServer.php(85): Concrete\Core\Http\Middleware\MiddlewareStack->process() 
#25 /home/david/development/concrete_test/concrete/src/Foundation/Runtime/Run/DefaultRunner.php(125): Concrete\Core\Http\DefaultServer->handleRequest() 
#26 /home/david/development/concrete_test/concrete/src/Foundation/Runtime/DefaultRuntime.php(102): Concrete\Core\Foundation\Runtime\Run\DefaultRunner->run() 
#27 /home/david/development/concrete_test/concrete/dispatcher.php(45): Concrete\Core\Foundation\Runtime\DefaultRuntime->run() 
#28 /home/david/development/concrete_test/index.php(2): require('/home/david/dev...') 
#29 {main}

Piggybacking this thread

a fresh install with php8.1 and composer like so:

composer create-project concrete5/composer mySite

will fail on me. i have to manually composer require doctrine/orm:2.13 in the project before starting the installation.

Am i doing something wrong or is this just the state we are in? Has been like this for weeks.

1 Like

I just ran it successfully in PHP 8.1 - here’s the output:

# composer create-project concrete5/composer mySite
Creating a "concrete5/composer" project at "./mySite"
Info from https://repo.packagist.org: #StandWithUkraine
Installing concrete5/composer (v1.3.0)
  - Downloading concrete5/composer (v1.3.0)
  - Installing concrete5/composer (v1.3.0): Extracting archive
Created project in /app/cool/mySite
Loading composer repositories with package information
Updating dependencies
Lock file operations: 183 installs, 0 updates, 0 removals
  - Locking anahkiasen/html-object (1.4.4)
  - Locking commerceguys/addressing (v1.3.0)
  - Locking composer/installers (v1.12.0)
  - Locking composer/package-versions-deprecated (1.11.99.5)
  - Locking concrete5/core (9.1.3)
  - Locking concrete5/dependency-patches (1.7.2)
  - Locking concrete5/doctrine-xml (1.2.0)
  - Locking concrete5/monolog-cascade (0.6.0)
  - Locking concrete5/oauth-user-data (v1.0.1)
  - Locking dapphp/securimage (3.6.8)
  - Locking defuse/php-encryption (v2.3.1)
  - Locking doctrine/annotations (1.14.2)
  - Locking doctrine/cache (2.2.0)
  - Locking doctrine/collections (1.8.0)
  - Locking doctrine/common (3.4.3)
  - Locking doctrine/dbal (2.13.9)
  - Locking doctrine/deprecations (v1.0.0)
  - Locking doctrine/event-manager (1.2.0)
  - Locking doctrine/inflector (2.0.6)
  - Locking doctrine/instantiator (1.5.0)
  - Locking doctrine/lexer (1.2.3)
  - Locking doctrine/migrations (2.3.5)
  - Locking doctrine/orm (2.14.1)
  - Locking doctrine/persistence (2.5.6)
  - Locking dragonmantank/cron-expression (v3.3.2)
  - Locking egulias/email-validator (1.2.17)
  - Locking enshrined/svg-sanitize (0.15.4)
  - Locking filp/whoops (2.14.6)
  - Locking friendsofphp/proxy-manager-lts (v1.0.13)
  - Locking gettext/gettext (v3.5.9)
  - Locking gettext/languages (2.10.0)
  - Locking guzzlehttp/guzzle (6.5.8)
  - Locking guzzlehttp/promises (1.5.2)
  - Locking guzzlehttp/psr7 (1.9.0)
  - Locking hamcrest/hamcrest-php (v2.0.1)
  - Locking htmlawed/htmlawed (1.2.6)
  - Locking illuminate/collections (v8.83.27)
  - Locking illuminate/config (v8.83.27)
  - Locking illuminate/container (v8.83.27)
  - Locking illuminate/contracts (v8.83.27)
  - Locking illuminate/filesystem (v8.83.27)
  - Locking illuminate/macroable (v8.83.27)
  - Locking illuminate/support (v8.83.27)
  - Locking imagine/imagine (1.3.3)
  - Locking indigophp/hash-compat (v1.1.0)
  - Locking jbroadway/urlify (1.2.3-stable)
  - Locking laminas/laminas-cache (3.10.0)
  - Locking laminas/laminas-cache-storage-adapter-memory (2.2.0)
  - Locking laminas/laminas-code (4.8.0)
  - Locking laminas/laminas-escaper (2.12.0)
  - Locking laminas/laminas-eventmanager (3.10.0)
  - Locking laminas/laminas-feed (2.20.0)
  - Locking laminas/laminas-i18n (2.21.0)
  - Locking laminas/laminas-loader (2.9.0)
  - Locking laminas/laminas-mail (2.22.0)
  - Locking laminas/laminas-mime (2.11.0)
  - Locking laminas/laminas-servicemanager (3.20.0)
  - Locking laminas/laminas-stdlib (3.16.1)
  - Locking laminas/laminas-validator (2.29.0)
  - Locking laravel/helpers (v1.6.0)
  - Locking lcobucci/clock (3.0.0)
  - Locking lcobucci/jwt (4.3.0)
  - Locking league/csv (9.8.0)
  - Locking league/event (2.2.0)
  - Locking league/flysystem (1.1.10)
  - Locking league/flysystem-cached-adapter (1.0.9)
  - Locking league/fractal (0.19.2)
  - Locking league/mime-type-detection (1.11.0)
  - Locking league/oauth2-server (8.3.6)
  - Locking league/openid-connect-claims (1.1.0)
  - Locking league/pipeline (1.0.0)
  - Locking league/tactician (v1.0.3)
  - Locking league/uri (6.8.0)
  - Locking league/uri-interfaces (2.3.0)
  - Locking league/url (3.3.5)
  - Locking lusitanian/oauth (v0.8.11)
  - Locking michelf/php-markdown (1.9.1)
  - Locking mlocati/composer-patcher (1.2.5)
  - Locking mlocati/concrete5-translation-library (1.7.1)
  - Locking mlocati/ip-lib (1.18.0)
  - Locking mobiledetect/mobiledetectlib (2.8.41)
  - Locking mockery/mockery (1.5.1)
  - Locking monolog/monolog (1.27.1)
  - Locking myclabs/deep-copy (1.11.0)
  - Locking nesbot/carbon (2.65.0)
  - Locking pagerfanta/pagerfanta (v2.7.3)
  - Locking paragonie/constant_time_encoding (v2.6.3)
  - Locking paragonie/random_compat (v2.0.21)
  - Locking patchwork/utf8 (v1.3.3)
  - Locking phar-io/manifest (2.0.3)
  - Locking phar-io/version (3.2.1)
  - Locking phpseclib/phpseclib (3.0.18)
  - Locking phpunit/php-code-coverage (7.0.15)
  - Locking phpunit/php-file-iterator (2.0.5)
  - Locking phpunit/php-text-template (1.2.1)
  - Locking phpunit/php-timer (2.1.3)
  - Locking phpunit/php-token-stream (4.0.4)
  - Locking phpunit/phpunit (8.5.31)
  - Locking predis/predis (v1.1.10)
  - Locking primal/color (1.0.1)
  - Locking psr/cache (1.0.1)
  - Locking psr/clock (1.0.0)
  - Locking psr/container (1.1.2)
  - Locking psr/event-dispatcher (1.0.0)
  - Locking psr/http-message (1.0.1)
  - Locking psr/link (2.0.1)
  - Locking psr/log (1.1.4)
  - Locking psr/simple-cache (1.0.1)
  - Locking punic/punic (3.8.0)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking sabre/uri (2.3.2)
  - Locking sabre/vobject (4.5.1)
  - Locking sabre/xml (2.2.5)
  - Locking scssphp/scssphp (v1.11.0)
  - Locking sebastian/code-unit-reverse-lookup (1.0.2)
  - Locking sebastian/comparator (3.0.5)
  - Locking sebastian/diff (3.0.3)
  - Locking sebastian/environment (4.2.4)
  - Locking sebastian/exporter (3.1.5)
  - Locking sebastian/global-state (3.0.2)
  - Locking sebastian/object-enumerator (3.0.4)
  - Locking sebastian/object-reflector (1.1.2)
  - Locking sebastian/recursion-context (3.0.1)
  - Locking sebastian/resource-operations (2.0.2)
  - Locking sebastian/type (1.1.4)
  - Locking sebastian/version (2.0.1)
  - Locking ssddanbrown/htmldiff (v1.0.2)
  - Locking stella-maris/clock (0.1.7)
  - Locking sunra/php-simple-html-dom-parser (v1.5.2)
  - Locking symfony/amqp-messenger (v5.4.17)
  - Locking symfony/cache (v5.4.18)
  - Locking symfony/cache-contracts (v2.5.2)
  - Locking symfony/class-loader (v3.4.47)
  - Locking symfony/config (v5.4.11)
  - Locking symfony/console (v5.4.17)
  - Locking symfony/deprecation-contracts (v2.5.2)
  - Locking symfony/doctrine-messenger (v6.2.0)
  - Locking symfony/error-handler (v6.2.3)
  - Locking symfony/event-dispatcher (v5.4.17)
  - Locking symfony/event-dispatcher-contracts (v3.2.0)
  - Locking symfony/filesystem (v6.2.0)
  - Locking symfony/finder (v5.4.17)
  - Locking symfony/http-client (v6.2.2)
  - Locking symfony/http-client-contracts (v3.2.0)
  - Locking symfony/http-foundation (v5.4.17)
  - Locking symfony/http-kernel (v5.4.18)
  - Locking symfony/mercure (v0.6.2)
  - Locking symfony/messenger (v5.4.17)
  - Locking symfony/options-resolver (v5.4.11)
  - 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-php73 (v1.27.0)
  - Locking symfony/polyfill-php80 (v1.27.0)
  - Locking symfony/polyfill-php81 (v1.27.0)
  - Locking symfony/polyfill-uuid (v1.27.0)
  - Locking symfony/property-access (v5.4.15)
  - Locking symfony/property-info (v6.2.3)
  - Locking symfony/psr-http-message-bridge (v2.1.4)
  - Locking symfony/redis-messenger (v6.0.15)
  - Locking symfony/routing (v5.4.17)
  - Locking symfony/serializer (v5.4.17)
  - Locking symfony/service-contracts (v2.5.2)
  - Locking symfony/stopwatch (v5.4.13)
  - Locking symfony/string (v6.2.2)
  - Locking symfony/translation (v5.4.14)
  - Locking symfony/translation-contracts (v2.5.2)
  - Locking symfony/var-dumper (v6.2.3)
  - Locking symfony/var-exporter (v6.2.3)
  - Locking symfony/web-link (v6.2.0)
  - Locking symfony/yaml (v4.4.45)
  - Locking tedivm/stash (v0.17.6)
  - Locking theseer/tokenizer (1.2.1)
  - Locking true/punycode (v2.1.1)
  - Locking tubalmartin/cssmin (v4.1.1)
  - Locking vlucas/phpdotenv (v2.6.9)
  - Locking voku/portable-ascii (1.6.1)
  - Locking voku/stop-words (2.0.1)
  - Locking webmozart/assert (1.11.0)
  - Locking wikimedia/less.php (1.8.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 183 installs, 0 updates, 0 removals
  - Downloading composer/installers (v1.12.0)
  - Downloading composer/package-versions-deprecated (1.11.99.5)
  - Downloading mlocati/composer-patcher (1.2.5)
  - Downloading wikimedia/less.php (1.8.2)
  - Downloading tubalmartin/cssmin (v4.1.1)
  - Downloading psr/cache (1.0.1)
  - Downloading tedivm/stash (v0.17.6)
  - Downloading symfony/polyfill-ctype (v1.27.0)
  - Downloading symfony/yaml (v4.4.45)
  - Downloading symfony/polyfill-php80 (v1.27.0)
  - Downloading symfony/deprecation-contracts (v2.5.2)
  - Downloading symfony/serializer (v5.4.17)
  - Downloading symfony/routing (v5.4.17)
  - Downloading symfony/polyfill-mbstring (v1.27.0)
  - Downloading symfony/http-foundation (v5.4.17)
  - Downloading psr/http-message (1.0.1)
  - Downloading symfony/psr-http-message-bridge (v2.1.4)
  - Downloading symfony/polyfill-intl-normalizer (v1.27.0)
  - Downloading symfony/polyfill-intl-grapheme (v1.27.0)
  - Downloading symfony/string (v6.2.2)
  - Downloading symfony/property-info (v6.2.3)
  - Downloading symfony/property-access (v5.4.15)
  - Downloading symfony/polyfill-uuid (v1.27.0)
  - Downloading symfony/messenger (v5.4.17)
  - Downloading symfony/redis-messenger (v6.0.15)
  - Downloading psr/container (1.1.2)
  - Downloading symfony/service-contracts (v2.5.2)
  - Downloading doctrine/deprecations (v1.0.0)
  - Downloading doctrine/event-manager (1.2.0)
  - Downloading doctrine/cache (2.2.0)
  - Downloading doctrine/dbal (2.13.9)
  - Downloading symfony/doctrine-messenger (v6.2.0)
  - Downloading symfony/amqp-messenger (v5.4.17)
  - Downloading psr/log (1.1.4)
  - Downloading psr/link (2.0.1)
  - Downloading symfony/web-link (v6.2.0)
  - Downloading symfony/http-client-contracts (v3.2.0)
  - Downloading symfony/http-client (v6.2.2)
  - Downloading symfony/mercure (v0.6.2)
  - Downloading symfony/polyfill-php73 (v1.27.0)
  - Downloading psr/event-dispatcher (1.0.0)
  - Downloading symfony/event-dispatcher-contracts (v3.2.0)
  - Downloading symfony/event-dispatcher (v5.4.17)
  - Downloading symfony/var-dumper (v6.2.3)
  - Downloading symfony/error-handler (v6.2.3)
  - Downloading symfony/http-kernel (v5.4.18)
  - Downloading symfony/console (v5.4.17)
  - Downloading symfony/class-loader (v3.4.47)
  - Downloading symfony/var-exporter (v6.2.3)
  - Downloading symfony/cache-contracts (v2.5.2)
  - Downloading symfony/cache (v5.4.18)
  - Downloading sunra/php-simple-html-dom-parser (v1.5.2)
  - Downloading ssddanbrown/htmldiff (v1.0.2)
  - Downloading scssphp/scssphp (v1.11.0)
  - Downloading sabre/uri (2.3.2)
  - Downloading sabre/xml (2.2.5)
  - Downloading sabre/vobject (4.5.1)
  - Downloading punic/punic (3.8.0)
  - Downloading primal/color (1.0.1)
  - Downloading predis/predis (v1.1.10)
  - Downloading paragonie/random_compat (v2.0.21)
  - Downloading paragonie/constant_time_encoding (v2.6.3)
  - Downloading phpseclib/phpseclib (3.0.18)
  - Downloading patchwork/utf8 (v1.3.3)
  - Downloading pagerfanta/pagerfanta (v2.7.3)
  - Downloading symfony/filesystem (v6.2.0)
  - Downloading laminas/laminas-code (4.8.0)
  - Downloading friendsofphp/proxy-manager-lts (v1.0.13)
  - Downloading symfony/translation-contracts (v2.5.2)
  - Downloading symfony/translation (v5.4.14)
  - Downloading nesbot/carbon (2.65.0)
  - Downloading monolog/monolog (1.27.1)
  - Downloading mobiledetect/mobiledetectlib (2.8.41)
  - Downloading mlocati/ip-lib (1.18.0)
  - Downloading gettext/languages (2.10.0)
  - Downloading gettext/gettext (v3.5.9)
  - Downloading mlocati/concrete5-translation-library (1.7.1)
  - Downloading michelf/php-markdown (1.9.1)
  - Downloading lusitanian/oauth (v0.8.11)
  - Downloading true/punycode (v2.1.1)
  - Downloading league/url (3.3.5)
  - Downloading league/tactician (v1.0.3)
  - Downloading league/pipeline (1.0.0)
  - Downloading league/openid-connect-claims (1.1.0)
  - Downloading league/uri-interfaces (2.3.0)
  - Downloading league/uri (6.8.0)
  - Downloading league/event (2.2.0)
  - Downloading psr/clock (1.0.0)
  - Downloading lcobucci/clock (3.0.0)
  - Downloading lcobucci/jwt (4.3.0)
  - Downloading defuse/php-encryption (v2.3.1)
  - Downloading league/oauth2-server (8.3.6)
  - Downloading league/fractal (0.19.2)
  - Downloading league/mime-type-detection (1.11.0)
  - Downloading league/flysystem (1.1.10)
  - Downloading league/flysystem-cached-adapter (1.0.9)
  - Downloading league/csv (9.8.0)
  - Downloading voku/portable-ascii (1.6.1)
  - Downloading illuminate/macroable (v8.83.27)
  - Downloading psr/simple-cache (1.0.1)
  - Downloading illuminate/contracts (v8.83.27)
  - Downloading illuminate/collections (v8.83.27)
  - Downloading doctrine/inflector (2.0.6)
  - Downloading illuminate/support (v8.83.27)
  - Downloading laravel/helpers (v1.6.0)
  - Downloading webmozart/assert (1.11.0)
  - Downloading symfony/polyfill-php72 (v1.27.0)
  - Downloading symfony/polyfill-intl-idn (v1.27.0)
  - Downloading laminas/laminas-stdlib (3.16.1)
  - Downloading laminas/laminas-servicemanager (3.20.0)
  - Downloading laminas/laminas-validator (2.29.0)
  - Downloading laminas/laminas-mime (2.11.0)
  - Downloading laminas/laminas-loader (2.9.0)
  - Downloading laminas/laminas-mail (2.22.0)
  - Downloading laminas/laminas-i18n (2.21.0)
  - Downloading laminas/laminas-escaper (2.12.0)
  - Downloading laminas/laminas-feed (2.20.0)
  - Downloading stella-maris/clock (0.1.7)
  - Downloading laminas/laminas-eventmanager (3.10.0)
  - Downloading laminas/laminas-cache-storage-adapter-memory (2.2.0)
  - Downloading laminas/laminas-cache (3.10.0)
  - Downloading voku/stop-words (2.0.1)
  - Downloading jbroadway/urlify (1.2.3-stable)
  - Downloading indigophp/hash-compat (v1.1.0)
  - Downloading imagine/imagine (1.3.3)
  - Downloading symfony/finder (v5.4.17)
  - Downloading illuminate/filesystem (v8.83.27)
  - Downloading illuminate/container (v8.83.27)
  - Downloading illuminate/config (v8.83.27)
  - Downloading htmlawed/htmlawed (1.2.6)
  - Downloading ralouphie/getallheaders (3.0.3)
  - Downloading guzzlehttp/psr7 (1.9.0)
  - Downloading guzzlehttp/promises (1.5.2)
  - Downloading guzzlehttp/guzzle (6.5.8)
  - Downloading filp/whoops (2.14.6)
  - Downloading enshrined/svg-sanitize (0.15.4)
  - Downloading doctrine/lexer (1.2.3)
  - Downloading egulias/email-validator (1.2.17)
  - Downloading dragonmantank/cron-expression (v3.3.2)
  - Downloading doctrine/collections (1.8.0)
  - Downloading doctrine/persistence (2.5.6)
  - Downloading doctrine/instantiator (1.5.0)
  - Downloading doctrine/common (3.4.3)
  - Downloading doctrine/orm (2.14.1)
  - Downloading symfony/stopwatch (v5.4.13)
  - Downloading doctrine/migrations (2.3.5)
  - Downloading doctrine/annotations (1.14.2)
  - Downloading dapphp/securimage (3.6.8)
  - Downloading concrete5/oauth-user-data (v1.0.1)
  - Downloading symfony/options-resolver (v5.4.11)
  - Downloading symfony/polyfill-php81 (v1.27.0)
  - Downloading symfony/config (v5.4.11)
  - Downloading concrete5/monolog-cascade (0.6.0)
  - Downloading concrete5/doctrine-xml (1.2.0)
  - Downloading concrete5/dependency-patches (1.7.2)
  - Downloading commerceguys/addressing (v1.3.0)
  - Downloading anahkiasen/html-object (1.4.4)
  - Downloading concrete5/core (9.1.3)
  - Downloading hamcrest/hamcrest-php (v2.0.1)
  - Downloading mockery/mockery (1.5.1)
  - Downloading phpunit/php-token-stream (4.0.4)
  - Downloading sebastian/version (2.0.1)
  - Downloading sebastian/type (1.1.4)
  - Downloading sebastian/resource-operations (2.0.2)
  - Downloading sebastian/recursion-context (3.0.1)
  - Downloading sebastian/object-reflector (1.1.2)
  - Downloading sebastian/object-enumerator (3.0.4)
  - Downloading sebastian/global-state (3.0.2)
  - Downloading sebastian/exporter (3.1.5)
  - Downloading sebastian/environment (4.2.4)
  - Downloading sebastian/diff (3.0.3)
  - Downloading sebastian/comparator (3.0.5)
  - Downloading phpunit/php-timer (2.1.3)
  - Downloading phpunit/php-text-template (1.2.1)
  - Downloading phpunit/php-file-iterator (2.0.5)
  - Downloading theseer/tokenizer (1.2.1)
  - Downloading sebastian/code-unit-reverse-lookup (1.0.2)
  - Downloading phpunit/php-code-coverage (7.0.15)
  - Downloading phar-io/version (3.2.1)
  - Downloading phar-io/manifest (2.0.3)
  - Downloading myclabs/deep-copy (1.11.0)
  - Downloading phpunit/phpunit (8.5.31)
  - Downloading vlucas/phpdotenv (v2.6.9)
composer/installers contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "composer/installers" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing composer/installers (v1.12.0): Extracting archive
  - Installing composer/package-versions-deprecated (1.11.99.5): Extracting archive
mlocati/composer-patcher contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "mlocati/composer-patcher" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing mlocati/composer-patcher (1.2.5): Extracting archive
  - Installing wikimedia/less.php (1.8.2): Extracting archive
  - Installing tubalmartin/cssmin (v4.1.1): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Installing tedivm/stash (v0.17.6): Extracting archive
  - Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
  - Installing symfony/yaml (v4.4.45): Extracting archive
  - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
  - Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
  - Installing symfony/serializer (v5.4.17): Extracting archive
  - Installing symfony/routing (v5.4.17): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
  - Installing symfony/http-foundation (v5.4.17): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing symfony/psr-http-message-bridge (v2.1.4): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive
  - Installing symfony/string (v6.2.2): Extracting archive
  - Installing symfony/property-info (v6.2.3): Extracting archive
  - Installing symfony/property-access (v5.4.15): Extracting archive
  - Installing symfony/polyfill-uuid (v1.27.0): Extracting archive
  - Installing symfony/messenger (v5.4.17): Extracting archive
  - Installing symfony/redis-messenger (v6.0.15): Extracting archive
  - Installing psr/container (1.1.2): Extracting archive
  - Installing symfony/service-contracts (v2.5.2): Extracting archive
  - Installing doctrine/deprecations (v1.0.0): Extracting archive
  - Installing doctrine/event-manager (1.2.0): Extracting archive
  - Installing doctrine/cache (2.2.0): Extracting archive
  - Installing doctrine/dbal (2.13.9): Extracting archive
  - Installing symfony/doctrine-messenger (v6.2.0): Extracting archive
  - Installing symfony/amqp-messenger (v5.4.17): Extracting archive
  - Installing psr/log (1.1.4): Extracting archive
  - Installing psr/link (2.0.1): Extracting archive
  - Installing symfony/web-link (v6.2.0): Extracting archive
  - Installing symfony/http-client-contracts (v3.2.0): Extracting archive
  - Installing symfony/http-client (v6.2.2): Extracting archive
  - Installing symfony/mercure (v0.6.2): Extracting archive
  - Installing symfony/polyfill-php73 (v1.27.0): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v3.2.0): Extracting archive
  - Installing symfony/event-dispatcher (v5.4.17): Extracting archive
  - Installing symfony/var-dumper (v6.2.3): Extracting archive
  - Installing symfony/error-handler (v6.2.3): Extracting archive
  - Installing symfony/http-kernel (v5.4.18): Extracting archive
  - Installing symfony/console (v5.4.17): Extracting archive
  - Installing symfony/class-loader (v3.4.47): Extracting archive
  - Installing symfony/var-exporter (v6.2.3): Extracting archive
  - Installing symfony/cache-contracts (v2.5.2): Extracting archive
  - Installing symfony/cache (v5.4.18): Extracting archive
  - Installing sunra/php-simple-html-dom-parser (v1.5.2): Extracting archive
  - Installing ssddanbrown/htmldiff (v1.0.2): Extracting archive
  - Installing scssphp/scssphp (v1.11.0): Extracting archive
  - Installing sabre/uri (2.3.2): Extracting archive
  - Installing sabre/xml (2.2.5): Extracting archive
  - Installing sabre/vobject (4.5.1): Extracting archive
  - Installing punic/punic (3.8.0): Extracting archive
  - Installing primal/color (1.0.1): Extracting archive
  - Installing predis/predis (v1.1.10): Extracting archive
  - Installing paragonie/random_compat (v2.0.21): Extracting archive
  - Installing paragonie/constant_time_encoding (v2.6.3): Extracting archive
  - Installing phpseclib/phpseclib (3.0.18): Extracting archive
  - Installing patchwork/utf8 (v1.3.3): Extracting archive
  - Installing pagerfanta/pagerfanta (v2.7.3): Extracting archive
  - Installing symfony/filesystem (v6.2.0): Extracting archive
  - Installing laminas/laminas-code (4.8.0): Extracting archive
  - Installing friendsofphp/proxy-manager-lts (v1.0.13): Extracting archive
  - Installing symfony/translation-contracts (v2.5.2): Extracting archive
  - Installing symfony/translation (v5.4.14): Extracting archive
  - Installing nesbot/carbon (2.65.0): Extracting archive
  - Installing monolog/monolog (1.27.1): Extracting archive
  - Installing mobiledetect/mobiledetectlib (2.8.41): Extracting archive
  - Installing mlocati/ip-lib (1.18.0): Extracting archive
  - Installing gettext/languages (2.10.0): Extracting archive
  - Installing gettext/gettext (v3.5.9): Extracting archive
  - Installing mlocati/concrete5-translation-library (1.7.1): Extracting archive
  - Installing michelf/php-markdown (1.9.1): Extracting archive
  - Installing lusitanian/oauth (v0.8.11): Extracting archive
  - Installing true/punycode (v2.1.1): Extracting archive
  - Installing league/url (3.3.5): Extracting archive
  - Installing league/tactician (v1.0.3): Extracting archive
  - Installing league/pipeline (1.0.0): Extracting archive
  - Installing league/openid-connect-claims (1.1.0): Extracting archive
  - Installing league/uri-interfaces (2.3.0): Extracting archive
  - Installing league/uri (6.8.0): Extracting archive
  - Installing league/event (2.2.0): Extracting archive
  - Installing psr/clock (1.0.0): Extracting archive
  - Installing lcobucci/clock (3.0.0): Extracting archive
  - Installing lcobucci/jwt (4.3.0): Extracting archive
  - Installing defuse/php-encryption (v2.3.1): Extracting archive
  - Installing league/oauth2-server (8.3.6): Extracting archive
  - Installing league/fractal (0.19.2): Extracting archive
  - Installing league/mime-type-detection (1.11.0): Extracting archive
  - Installing league/flysystem (1.1.10): Extracting archive
  - Installing league/flysystem-cached-adapter (1.0.9): Extracting archive
  - Installing league/csv (9.8.0): Extracting archive
  - Installing voku/portable-ascii (1.6.1): Extracting archive
  - Installing illuminate/macroable (v8.83.27): Extracting archive
  - Installing psr/simple-cache (1.0.1): Extracting archive
  - Installing illuminate/contracts (v8.83.27): Extracting archive
  - Installing illuminate/collections (v8.83.27): Extracting archive
  - Installing doctrine/inflector (2.0.6): Extracting archive
  - Installing illuminate/support (v8.83.27): Extracting archive
  - Installing laravel/helpers (v1.6.0): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing symfony/polyfill-php72 (v1.27.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.27.0): Extracting archive
  - Installing laminas/laminas-stdlib (3.16.1): Extracting archive
  - Installing laminas/laminas-servicemanager (3.20.0): Extracting archive
  - Installing laminas/laminas-validator (2.29.0): Extracting archive
  - Installing laminas/laminas-mime (2.11.0): Extracting archive
  - Installing laminas/laminas-loader (2.9.0): Extracting archive
  - Installing laminas/laminas-mail (2.22.0): Extracting archive
  - Installing laminas/laminas-i18n (2.21.0): Extracting archive
  - Installing laminas/laminas-escaper (2.12.0): Extracting archive
  - Installing laminas/laminas-feed (2.20.0): Extracting archive
  - Installing stella-maris/clock (0.1.7): Extracting archive
  - Installing laminas/laminas-eventmanager (3.10.0): Extracting archive
  - Installing laminas/laminas-cache-storage-adapter-memory (2.2.0): Extracting archive
  - Installing laminas/laminas-cache (3.10.0): Extracting archive
  - Installing voku/stop-words (2.0.1): Extracting archive
  - Installing jbroadway/urlify (1.2.3-stable): Extracting archive
  - Installing indigophp/hash-compat (v1.1.0): Extracting archive
  - Installing imagine/imagine (1.3.3): Extracting archive
  - Installing symfony/finder (v5.4.17): Extracting archive
  - Installing illuminate/filesystem (v8.83.27): Extracting archive
  - Installing illuminate/container (v8.83.27): Extracting archive
  - Installing illuminate/config (v8.83.27): Extracting archive
  - Installing htmlawed/htmlawed (1.2.6): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing guzzlehttp/psr7 (1.9.0): Extracting archive
  - Installing guzzlehttp/promises (1.5.2): Extracting archive
  - Installing guzzlehttp/guzzle (6.5.8): Extracting archive
  - Installing filp/whoops (2.14.6): Extracting archive
  - Installing enshrined/svg-sanitize (0.15.4): Extracting archive
  - Installing doctrine/lexer (1.2.3): Extracting archive
  - Installing egulias/email-validator (1.2.17): Extracting archive
  - Installing dragonmantank/cron-expression (v3.3.2): Extracting archive
  - Installing doctrine/collections (1.8.0): Extracting archive
  - Installing doctrine/persistence (2.5.6): Extracting archive
  - Installing doctrine/instantiator (1.5.0): Extracting archive
  - Installing doctrine/common (3.4.3): Extracting archive
  - Installing doctrine/orm (2.14.1): Extracting archive
  - Installing symfony/stopwatch (v5.4.13): Extracting archive
  - Installing doctrine/migrations (2.3.5): Extracting archive
  - Installing doctrine/annotations (1.14.2): Extracting archive
  - Installing dapphp/securimage (3.6.8): Extracting archive
  - Installing concrete5/oauth-user-data (v1.0.1): Extracting archive
  - Installing symfony/options-resolver (v5.4.11): Extracting archive
  - Installing symfony/polyfill-php81 (v1.27.0): Extracting archive
  - Installing symfony/config (v5.4.11): Extracting archive
  - Installing concrete5/monolog-cascade (0.6.0): Extracting archive
  - Installing concrete5/doctrine-xml (1.2.0): Extracting archive
  - Installing concrete5/dependency-patches (1.7.2): Extracting archive
  - Installing commerceguys/addressing (v1.3.0): Extracting archive
  - Installing anahkiasen/html-object (1.4.4): Extracting archive
  - Installing concrete5/core (9.1.3): Extracting archive
  - Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
  - Installing mockery/mockery (1.5.1): Extracting archive
  - Installing phpunit/php-token-stream (4.0.4): Extracting archive
  - Installing sebastian/version (2.0.1): Extracting archive
  - Installing sebastian/type (1.1.4): Extracting archive
  - Installing sebastian/resource-operations (2.0.2): Extracting archive
  - Installing sebastian/recursion-context (3.0.1): Extracting archive
  - Installing sebastian/object-reflector (1.1.2): Extracting archive
  - Installing sebastian/object-enumerator (3.0.4): Extracting archive
  - Installing sebastian/global-state (3.0.2): Extracting archive
  - Installing sebastian/exporter (3.1.5): Extracting archive
  - Installing sebastian/environment (4.2.4): Extracting archive
  - Installing sebastian/diff (3.0.3): Extracting archive
  - Installing sebastian/comparator (3.0.5): Extracting archive
  - Installing phpunit/php-timer (2.1.3): Extracting archive
  - Installing phpunit/php-text-template (1.2.1): Extracting archive
  - Installing phpunit/php-file-iterator (2.0.5): Extracting archive
  - Installing theseer/tokenizer (1.2.1): Extracting archive
  - Installing sebastian/code-unit-reverse-lookup (1.0.2): Extracting archive
  - Installing phpunit/php-code-coverage (7.0.15): Extracting archive
  - Installing phar-io/version (3.2.1): Extracting archive
  - Installing phar-io/manifest (2.0.3): Extracting archive
  - Installing myclabs/deep-copy (1.11.0): Extracting archive
  - Installing phpunit/phpunit (8.5.31): Extracting archive
  - Installing vlucas/phpdotenv (v2.6.9): Extracting archive
83 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package concrete5/dependency-patches is abandoned, you should avoid using it. Use concretecms/dependency-patches instead.
Package concrete5/doctrine-xml is abandoned, you should avoid using it. Use concretecms/doctrine-xml instead.
Package concrete5/monolog-cascade is abandoned, you should avoid using it. Use concretecms/monolog-cascade instead.
Package dapphp/securimage is abandoned, you should avoid using it. No replacement was suggested.
Package indigophp/hash-compat is abandoned, you should avoid using it. No replacement was suggested.
Package league/url is abandoned, you should avoid using it. Use league/uri instead.
Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
Package symfony/class-loader is abandoned, you should avoid using it. No replacement was suggested.
Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
115 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Gathering patches from concrete5/dependency-patches (extra.patches).
Applying patch concrete5/dependency-patches/Fix minus in regular expressions to sunra/php-simple-html-dom-parser... done.
Applying patch concrete5/dependency-patches/Add PHP 8.1 compatibility to sunra/php-simple-html-dom-parser... done.
Applying patch concrete5/dependency-patches/Add PHP 8.1 compatibility to league/url... done.
Applying patch concrete5/dependency-patches/Add PHP 8.1 compatibility to anahkiasen/html-object... done.
No security vulnerability advisories found
# php -v
PHP 8.1.11 (cli) (built: Sep 29 2022 22:28:49) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.11, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.11, Copyright (c), by Zend Technologies

Yeah, the composer runs but when trying to concrete/bin/concrete c5:install it fails with

Whoops\Exception\ErrorException: require_once(doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php): Failed to open stream: No such file or directory in file /home/donat/dev/temp/mySite/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php on line 69
1 Like

The file (DoctrineAnnotations.php) was deleted in an update:

I added an older version of the package to my root composer.json
“doctrine/orm”: “2.13.5”

This will fix the problem. I think Concrete needs to fix this.

1 Like