Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291614

Error "The URL alias entity type needs to be installed." D8.8 PathAuto 1.6 upgrade

$
0
0

I was redirected from Pathauto to Core for this issue
( https://www.drupal.org/project/pathauto/issues/3100678 )

Since I updated to Drupal 8.8, and pathauto 1.6
I get the following error :

Entity/field definitions
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
URL alias

    The URL alias entity type needs to be installed.

I tried installing entity-update and running drush entup, the error persists;
Also tried running updates, cron and clearing all caches.

#drush entup
The following updates are pending:

path_alias entity type : 
  The URL alias entity type needs to be installed.
Do you wish to run all pending updates? (y/n): y
Cache rebuild complete.                                                                                                                                                               [ok]
Finished performing updates.                                                                                                                                                         [ok]

The error persisted so I run it again in verbose mode :

root@www /home/www.mydomain.com # drush entup -vv
Executing: mysql --defaults-extra-file=/tmp/drush_2Wl2V1 --database=mydatabase --host=localhost --port=3306 --silent  < /tmp/drush_18mVNw
Executing: mysql --defaults-extra-file=/tmp/drush_jjhqg2 --database=mydatabase --host=localhost --port=3306 --silent  < /tmp/drush_yn9c6w
The following updates are pending:

path_alias entity type : 
  The URL alias entity type needs to be installed.
Do you wish to run all pending updates? (y/n): y
env COLUMNS=193 /usr/local/bin/drush  --backend=2 --user=0 --verbose --root=/home/www.mydomain.com --uri=http://default  updatedb-batch-process 647 2>&1                           [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_chzotL --database=mydatabase --host=localhost --port=3306 --silent  < /tmp/drush_5lhIy0
Executing: mysql --defaults-extra-file=/tmp/drush_tSjZmh --database=mydatabase --host=localhost --port=3306 --silent  < /tmp/drush_QzKaqw
EntityDefinitionUpdateManagerInterface::applyUpdates() is deprecated in 8.7.0 and will be removed before Drupal 9.0.0. Use                                                               [notice]
\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getChangeList() and execute each entity type and field storage update manually instead. See
https://www.drupal.org/node/3034742. EntityDefinitionUpdateManager.php:175
Command dispatch complete                                                                                                                                                                [notice]
env COLUMNS=193 /usr/local/bin/drush  --backend=2 --verbose --root=/home/www.mydomain.com --uri=http://default  cache-rebuild 2>&1                                                 [notice]
Cache rebuild complete.                                                                                                                                                               [ok]
Command dispatch complete                                                                                                                                                                [notice]
Finished performing updates.                                                                                                                                                          [ok]
Command dispatch complete                                                                                                                                                                [notice]

I'm told drush entup is now useless, so how am I supposed to fix this error ?
Thanks in advance :-)


Viewing all articles
Browse latest Browse all 291614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>