Ergebnis 1 bis 9 von 9

Thema: Notification Center 1.7: kein "Database Update" in Contao-Manager nach Installation

  1. #1
    Contao-Nutzer
    Registriert seit
    31.05.2010.
    Ort
    Österreich
    Beiträge
    98

    Standard Notification Center 1.7: kein "Database Update" in Contao-Manager nach Installation

    Irgendwas passt hier nicht oder ich stehe auf der Leitung:

    Nach der Installation von Notification Center 1.7.4 sollten doch die entsprechenden Datenbank-Einträge erstellt werden - doch bei mir bleibt der Button ausgegraut.

    Auch in Install Tool und Check Database wird kein Änderungswunsch ausgedrückt.

    So ist das Modul nun zwar installiert, aber im Backend fehlen die entsprechenden Menüeinträge usw.

    Auch ein Downgrade auf NC 1.7.3 brachte kein Änderung.

    Andere Module verursachten dagegen schon ein Datenbank-Update. Was läuft hier falsch?
    ---
    Contao 4.13.24
    Contao-Manager 1.8.0
    PHP 8.2.11

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Kommt es denn zu einem Fehler im Backend, wenn du Gateways oder Benachrichtigungen anlegst?
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer
    Registriert seit
    31.05.2010.
    Ort
    Österreich
    Beiträge
    98

    Standard

    Ich hab gar keine Möglichkeit dazu, diese anzulegen, weil das ganze Untermenü "Notification Center" im Backend fehlt...

    Die Datenbankeinträge tl_nc_* fehlen in der DB.

  4. #4
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Poste deine composer.json
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Nutzer
    Registriert seit
    31.05.2010.
    Ort
    Österreich
    Beiträge
    98

    Standard

    Bitte - danke.

    Code:
    {
        "type": "project",
        "require": {
            "contao/calendar-bundle": "4.13.32",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.13.32",
            "contao/listing-bundle": "4.13.32",
            "contao/manager-bundle": "4.13.32",
            "contao/news-bundle": "4.13.32",
            "erdmannfreunde/optimist-theme-bundle": "2.0.3",
            "heimrichhannot/contao-autocompletejs-bundle": "^0.3.6",
            "hofff/contao-content-navigation": "^1.1",
            "madeyourday/contao-rocksolid-columns": "^2.1",
            "madeyourday/contao-rocksolid-custom-elements": "^2.4",
            "oveleon/contao-cookiebar": "^1.13",
            "oveleon/contao-glossary-bundle": "^2.2",
            "terminal42/contao-node": "^1.5",
            "terminal42/notification_center": "^1.7"
        },
        "extra": {
            "public-dir": "public",
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }

  6. #6
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Poste mal die Konsolenausgabe einer vollständigen Paketaktualisierung.
    » sponsor me via GitHub or PayPal or Revolut

  7. #7
    Contao-Nutzer
    Registriert seit
    31.05.2010.
    Ort
    Österreich
    Beiträge
    98

    Standard

    Neuinstallation NC 1.7.4:

    Code:
    $ /usr/bin/php8.2 -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Vienna /var/www/clients/xxx/web/public/contao-manager.phar.php composer require terminal42/notification_center --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    Using version ^1.7 for terminal42/notification_center
    /var/www/clients/xxx/web/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
    
    [7.1MiB/0.22s] Loading composer repositories with package information
    [71.7MiB/10.90s] Updating dependencies
    [29.6MiB/11.21s] Lock file operations: 2 installs, 0 updates, 0 removals
    [29.6MiB/11.21s]   - Locking terminal42/dcawizard (3.0.1)
    [29.6MiB/11.21s]   - Locking terminal42/notification_center (1.7.4)
    [28.9MiB/11.22s] Writing lock file
    [12.8MiB/11.24s] 1 package suggestions were added by new dependencies, use `composer suggest` to see details.
    [13.5MiB/11.25s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    [13.5MiB/11.26s] Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    [13.7MiB/11.58s] No security vulnerability advisories found
    [14.2MiB/11.60s] Memory usage: 14.23MB (peak: 204.51MB), time: 11.62s.
    [14.2MiB/11.60s] Finished Composer Cloud resolving.
    
    
    # Job ID TL861lhOglliorBLCAHCadJzv1uma5rhhdbpET7pjdsN4xxxnHsEjkVXLaGIuRruvubF4OK6r0 completed in 21 seconds
    # Memory usage: 14.23MB (peak: 204.51MB), time: 11.62s.
    
    $ /usr/bin/php8.2 -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Vienna /var/www/clients/xxx/web/public/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update `.
    Package operations: 2 installs, 0 updates, 0 removals
      - Installing terminal42/dcawizard (3.0.1): Extracting archive
      - Installing terminal42/notification_center (1.7.4): Extracting archive
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    Generating optimized autoload files
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    113 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > @php vendor/bin/contao-setup
    Added the /var/www/clients/xxx/web/public/preview.php file.
    Added the /var/www/clients/xxx/web/public/app.php file.
    Added the /var/www/clients/xxx/web/public/index.php file.
    
     Trying to install assets as relative symbolic links.
    
     --- ------------------------------------ ------------------ 
          Bundle                               Method / Error    
     --- ------------------------------------ ------------------ 
      ?   ContaoCoreBundle                     relative symlink  
      ?   HeimrichHannotAutocompletejsBundle   relative symlink  
      ?   RockSolidCustomElementsBundle        relative symlink  
      ?   ErdmannFreundeContaoGridBundle       relative symlink  
      ?   ContaoCookiebar                      relative symlink  
      ?   ContaoFaqBundle                      relative symlink  
      ?   CodefogHasteBundle                   relative symlink  
      ?   RockSolidColumnsBundle               relative symlink  
      ?   HeimrichHannotContaoUtilsBundle      relative symlink  
      ?   Terminal42DcawizardBundle            relative symlink  
      ?   ContaoNewsBundle                     relative symlink  
      ?   ContaoCalendarBundle                 relative symlink  
      ?   ContaoGlossaryBundle                 relative symlink  
      ?   HeimrichHannotUtilsBundle            relative symlink  
      ?   CodefogTagsBundle                    relative symlink  
     --- ------------------------------------ ------------------ 
    
     [OK] All assets were successfully installed.                                   
    
    
     --- ------------------------------------------- ---------------------------------------------------------------- 
          Symlink                                     Target / Error                                                  
     --- ------------------------------------------- ---------------------------------------------------------------- 
      ?   public/files/demo                           files/demo                                                      
      ?   public/files/files                          files/files                                                     
      ?   public/files/tinymce                        files/tinymce                                                   
      ?   public/files/theme/img                      files/theme/img                                                 
      ?   public/files/theme/fonts                    files/theme/fonts                                               
      ?   public/files/theme/js                       files/theme/js                                                  
      ?   system/themes/flexible                      vendor/contao/core-bundle/src/Resources/contao/themes/flexible  
      ?   public/assets                               assets                                                          
      ?   public/system/themes                        system/themes                                                   
      ?   system/logs                                 var/logs                                                        
      ?   public/vendor/scrivo/highlight_php/styles   vendor/scrivo/highlight.php/styles                              
     --- ------------------------------------------- ---------------------------------------------------------------- 
    
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
     // Clearing the cache for the dev environment with debug                       
     // true                                                                        
    
     [OK] Cache for the "dev" environment (debug=true) was successfully cleared.    
    
    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully warmed.   
    
    
     [INFO] Done! Please open the Contao install tool or run the contao:migrate     
            command to make sure the database is up-to-date.                        
    
    
    # Process terminated with exit code 0
    # Result: OK

  8. #8
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Wie meinst du Neuinstallation? Gemeint war, dass du alles belässt wie es ist und dann eine vollständige Paketaktualisierung durchführst und dessen Konsolenausgabe postest.

    Aber passt es nun?
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Contao-Nutzer
    Registriert seit
    31.05.2010.
    Ort
    Österreich
    Beiträge
    98

    Standard

    Danke, das hat es gelöst.

    Code:
    Runonce file: system/modules/notification_center/config/runonce.php
    Bin wirklich auf der Leitung gestanden..

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •