terminal42 / contao-password-validation

MIT License
7 stars 7 forks source link

Contao Manager installation fails due to "Palette "rootfallback" not found in table "tl_page" #5

Closed anuijen closed 4 years ago

anuijen commented 4 years ago

When I try to install the extension using Contao Manager, I get the following error message:

$ /usr/bin/php7.3 -q /srv/www/***/***/***/***/contao-manager.phar.php composer require terminal42/contao-password-validation --no-suggest --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction

Using version ^1.0 for terminal42/contao-password-validation
/srv/www/***/***/***/composer.json has been updated

# Process terminated with exit code 0
# Result: OK

> Resolving dependencies using Composer Cloud v2.4.3

# Job ID MGZ7i7pu5FTMThTU0hLuEyefNnW9AgR41jrqlbJNr8z4L6u1PTurbfpnzBKde7JdSNRQSzGOHxTub completed in 43 seconds
# Memory usage: 511.08MB (peak: 3068.44MB), time: 44.2s.

$ /usr/bin/php7.3 -q /srv/www/***/***/***/***/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader

contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class

 // Clearing the cache for the prod environment with debug                      
 // false                                                                       

 [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  

 // Warming up the cache for the prod environment with debug                    
 // false                                                                       

16:30:50 ERROR     [console] Error thrown while running command "cache:warmup --env=prod". Message: "Palette "rootfallback" not found in table "tl_page"" ["exception" => Contao\CoreBundle\Exception\PaletteNotFoundException { …},"command" => "cache:warmup --env=prod","message" => "Palette "rootfallback" not found in table "tl_page""]

In PaletteManipulator.php line 123:

  Palette "rootfallback" not found in table "tl_page"  

cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 4 installs, 0 updates, 0 removals
As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' may remediate them.
  - Installing paragonie/constant_time_encoding (v2.3.0): Downloading (100%)
  - Installing paragonie/sodium_compat (v1.13.0): Downloading (100%)
  - Installing paragonie/hidden-string (v1.0.0): Downloading (100%)
  - Installing terminal42/contao-password-validation (1.0.4): Downloading (100%)
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
28 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception

In ScriptHandler.php line 113:

  An error occurred while executing the "cache:warmup" command: 16:30:50 ERRO  
  R     [console] Error thrown while running command "cache:warmup --env=prod  
  ". Message: "Palette "rootfallback" not found in table "tl_page"" ["excepti  
  on" => Contao\CoreBundle\Exception\PaletteNotFoundException { …},"command"   
  => "cache:warmup --env=prod","message" => "Palette "rootfallback" not found  
   in table "tl_page""]                                                        

  In PaletteManipulator.php line 123:                                          

    Palette "rootfallback" not found in table "tl_page"                        

  cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--  
  verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en  
  v ENV] [--no-debug] [--] <command>                                           

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]

# Process terminated with exit code 1
# Result: General error

---

### Der Hintergrundprozess wurde unerwartet beendet ###
richardhj commented 4 years ago

Stupid issue (b633435b20774ee992abf547d9242f0b83e8c2fa) 🙈 Should be fixed by now.

anuijen commented 4 years ago

@richardhj That was fast! Thanks a lot 😃