- 🇩🇪Germany thomaswalther Rhein-Main Area
# 2 works for me.
I moved modul version with 2.x to directory contrib (mv modules/admin_toolbar modules/contrib), clear cache, update db, composer require 'drupal/admin_toolbar:^3.4', update db, clear cache.
I also removed cached files:
rm -rf sites/default/files/php
rm -rf sites/default/files/js
rm -rf sites/default/files/css