Ergebnis 1 bis 4 von 4

Thema: symlink error nach lokal transfer

  1. #1
    Contao-Nutzer
    Registriert seit
    21.01.2014.
    Ort
    Kiel
    Beiträge
    139

    Standard symlink error nach lokal transfer

    Hi,

    ich versche ein c5.3 Live-Backup in eine lokale Mamp Umgebung zu transferieren.
    Das FE-Layout sieht ziemlich unformatiert aus. Ich habe versucht composer Abhängigkeiten über die Manager neu zu installieren und bekomme einen Log Error (s.u.). Die Symlinks sind beim Umzug ja immer ein Thema aber in diesem Fall ist die Systemwartung / Symlinks neu erstellen nicht erfolgreich. Ich habe alle Caches geleert, Server neugestartet, etc aber das Frontend lässt sich einfach nicht wiederherstellen.

    Hat jemand eine Idee?

    Code:
    > Resolving dependencies using Composer Cloud v3.8.2
    
    [7.3MiB/0.29s] Loading composer repositories with package information
    [98.6MiB/16.80s] Updating dependencies
    [32.2MiB/18.78s] Lock file operations: 0 installs, 3 updates, 0 removals
    [32.2MiB/18.78s]   - Upgrading doctrine/dbal (3.10.0 => 3.10.1)
    [32.2MiB/18.78s]   - Upgrading doctrine/doctrine-bundle (2.15.0 => 2.15.1)
    [32.2MiB/18.79s]   - Upgrading setasign/fpdi (v2.6.3 => v2.6.4)
    [31.4MiB/18.81s] Writing lock file
    [17.3MiB/18.84s] <warning>Package debril/feed-io is abandoned, you should avoid using it. Use php-feed-io/feed-io instead.</warning>
    [17.3MiB/18.84s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
    [17.5MiB/19.07s] No security vulnerability advisories found.
    [18.1MiB/19.07s] Memory usage: 18.06MB (peak: 229.1MB), time: 19.08s.
    [18.1MiB/19.07s] Finished Composer Cloud resolving.
    
    
    # Job ID sfKZHxblfzONKxXsRuwVgQGQCOS02Cs6m3k75Qo5ze5S3ROYi4qKfZCoiJyERLYJOe7A0GRwsWgw6JmnIKbvyxcwbsy6K94Q7oAqeZGx84p7bUogtedfSWwWX4h completed in 15 seconds
    # Memory usage: 18.06MB (peak: 229.1MB), time: 19.08s.
    
    $ /Applications/MAMP/bin/php/php8.2.0/bin/php -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=UTC /Volumes/Extern Raid/Sites/localhost/temp.de/webseiten/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.
    Nothing to install, update or remove
    Package debril/feed-io is abandoned, you should avoid using it. Use php-feed-io/feed-io instead.
    Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    Generating optimized autoload files
    122 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    > @php vendor/bin/contao-setup
    Added the bin/console file.
    Added the public/index.php file.
    Added the public/preview.php file.
    
     Trying to install assets as relative symbolic links.
    
     --- -------------------------------------- ------------------ 
          Bundle                                 Method / Error    
     --- -------------------------------------- ------------------ 
      ?   ContaoCoreBundle                       relative symlink  
      ?   MarkocupicExportTable                  relative symlink  
      ?   MultiColumnWizardBundle                relative symlink  
      ?   SoftleisterPdfformsBundle              relative symlink  
      ?   ContaoFaqBundle                        relative symlink  
      ?   CodefogHasteBundle                     relative symlink  
      ?   Terminal42DcawizardBundle              relative symlink  
      ?   ContaoNewsBundle                       relative symlink  
      ?   Terminal42NotificationCenterBundle     relative symlink  
      ?   ContaoCalendarBundle                   relative symlink  
      ?   ContaoNewsletterBundle                 relative symlink  
      ?   ContaoCommentsBundle                   relative symlink  
      ?   MarkocupicCalendarEventBookingBundle   relative symlink  
     --- -------------------------------------- ------------------ 
    
     [OK] All assets were successfully installed.                                   
    
    
     --- ----------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- 
          Symlink                                                                                                     Target / Error                                                                                      
     --- ----------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- 
      ?   public/files/cto_layout                                                                                     files/cto_layout                                                                                    
      ?   public/system/modules/pct_autogrid/assets                                                                   system/modules/pct_autogrid/assets                                                                  
      ?   public/system/modules/pct_customelements/assets                                                             system/modules/pct_customelements/assets                                                            
      ?   public/system/modules/pct_customelements_attribute_tags/assets                                              system/modules/pct_customelements_attribute_tags/assets                                             
      ?   public/system/modules/pct_customelements_plugin_customcatalog/assets                                        system/modules/pct_customelements_plugin_customcatalog/assets                                       
      ?   public/system/modules/pct_customelements_plugin_notelist/html                                               system/modules/pct_customelements_plugin_notelist/html                                              
      ?   public/system/modules/pct_frontend_quickedit/assets                                                         system/modules/pct_frontend_quickedit/assets                                                        
      ?   public/system/modules/pct_iconpicker/assets                                                                 system/modules/pct_iconpicker/assets                                                                
      ?   public/system/modules/pct_megamenu/assets                                                                   system/modules/pct_megamenu/assets                                                                  
      ?   public/system/modules/pct_privacy_manager/assets                                                            system/modules/pct_privacy_manager/assets                                                           
      ?   public/system/modules/pct_revolutionslider/assets                                                           system/modules/pct_revolutionslider/assets                                                          
      ?   public/system/modules/pct_tabletree_widget/assets                                                           system/modules/pct_tabletree_widget/assets                                                          
      ?   public/system/modules/pct_theme_installer/assets                                                            system/modules/pct_theme_installer/assets                                                           
      ?   public/system/modules/pct_theme_settings/assets                                                             system/modules/pct_theme_settings/assets                                                            
      ?   public/system/modules/pct_theme_updater/assets                                                              system/modules/pct_theme_updater/assets                                                             
      ?   public/system/modules/pct_themer/assets                                                                     system/modules/pct_themer/assets                                                                    
      ?   public/system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Attributes/RateIt/assets   system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Attributes/RateIt/assets  
      ?   public/system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Filters/Text/assets        system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Filters/Text/assets       
      ?   system/themes/flexible                                                                                      The path "system/themes/flexible" exists and is not a symlink.                                      
      ?   public/assets                                                                                               The path "public/assets" exists and is not a symlink.                                               
      ?   public/system/themes                                                                                        The path "public/system/themes" exists and is not a symlink.                                        
      ?   system/logs                                                                                                 The path "system/logs" exists and is not a symlink.                                                 
      ?   public/vendor/scrivo/highlight_php/styles                                                                   vendor/scrivo/highlight.php/styles                                                                  
     --- ----------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- 
    
    18:43:50 CRITICAL  [console] An error occurred while using the console. Message: "An error occurred while executing the "/Applications/MAMP/bin/php/php8.2.0/bin/php -dmemory_limit=-1 /Volumes/Extern Raid/Sites/localhost/temp.de/webseiten/vendor/contao/manager-bundle/bin/contao-console contao:symlinks public --env=prod --no-ansi" command: " ["exception" => RuntimeException { …},"message" => "An error occurred while executing the "/Applications/MAMP/bin/php/php8.2.0/bin/php -dmemory_limit=-1 /Volumes/Extern Raid/Sites/localhost/temp.de/webseiten/vendor/contao/manager-bundle/bin/contao-console contao:symlinks public --env=prod --no-ansi" command: "]
    
    In ContaoSetupCommand.php line 142:
                                                                                   
      An error occurred while executing the "/Applications/MAMP/bin/php/php8.2.0/  
      bin/php -dmemory_limit=-1 /Volumes/Extern Raid/Sites/localhost/temp.de/webseiten/vendor/contao/manager-bundle/bin/contao-console conta  
      o:symlinks public --env=prod --no-ansi" command:                             
                                                                                   
    
    contao:setup
    
    Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1
    
    # Process terminated with exit code 1
    # Result: General error

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

    Standard

    Du hast irrtümlich auch die Symlinks nicht als solche kopiert. Die Pfade wo The path "…" exists and is not a symlink. steht musst du nun einfach löschen. Danach nochmal vendor/bin/contao-setup.
    » sponsor me via GitHub or Revolut

  3. #3
    Contao-Urgestein Avatar von fiedsch
    Registriert seit
    09.07.2009.
    Ort
    München
    Beiträge
    3.042

    Standard

    Die angegebenen Pfade wie bei

    HTML-Code:
    The path "system/themes/flexible" exists and is not a symlink.
    musst Du löschen und dann den Befehl nochmals ausführen.
    Contao-Community-Treff Bayern: http://www.contao-bayern.de

  4. #4
    Contao-Nutzer
    Registriert seit
    21.01.2014.
    Ort
    Kiel
    Beiträge
    139

    Standard

    Perfekt! Danke euch

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
  •