Contao-Camp 2024
Ergebnis 1 bis 31 von 31

Thema: ALte 3.5.12 bei Strato auf 3540 aktualisieren und dann weiter

  1. #1
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard ALte 3.5.12 bei Strato auf 3540 aktualisieren und dann weiter

    Hallo zusammen,

    ich habe mal wieder ein lästiges Problem.

    Ich soll bei Strato eine alte 3.5.12 aktualisieren.
    Allein das Update auf 3.5.40 ist schon am Speicher gescheitert:
    HTML-Code:
    Derzeit erhalten Sie bereits 283 MB, obwohl gemäß den PHP 7.3 Einstellungen nur maximal 256 MB zur Verfügung gestellt werden.
    Also dachte ich ziehe mir das System lokal und update dort.

    Vielleicht weil ich aber lokal php7.4 und ein mysql Ver 8.0.22 for osx10.15 on x86_64 (Homebrew) habe, meckert das installtool jetzt
    HTML-Code:
    Tabellen prüfen
    
    Die Datenbank ist nicht aktuell!
    
    Es scheint, als würden Sie ein Update von einer Contao-Version kleiner als 2.9.2 durchführen. Falls das zutrifft, ist es unbedingt notwendig, das Version 2.9.2-Update auszuführen, um die Integrität der Daten zu gewährleisten!
    ist aber Quatsch war ja schon 3.5.12

    Als Fehlermeldung kommt außerdem
    Code:
    Fatal error: Uncaught exception Exception with message Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups=NULL, inherit='', modules=NULL, themes=NULL, pagemounts='a:0:{}', alpty=N' at line 1 (UPDATE tl_user SET id='1', tstamp='1462785003', username='muster', name='muster', email='muster.muster@muster.de', language='de', backendTheme='flexible', uploader='', showHelp='1', thumbnails='1', useRTE='1', useCE='1', password='#######', pwChange='', admin='1', groups=NULL, inherit='', modules=NULL, themes=NULL, pagemounts='a:0:{}', alpty=NULL, filemounts='a:0:{}', fop=NULL, forms=NULL, formp=NULL, disable='', start='', stop='', session='a:22:{s:7:\"referer\";a:24:{s:8:\"b83ee3cb\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:43:\"contao/main.php?do=composer&update=database\";}s:8:\"4dad222d\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:27:\"contao/main.php?do=composer\";}s:8:\"bedd187a\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:15:\"contao/main.php\";}s:8:\"87aeadcc\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:15:\"contao/main.php\";}s:8:\"32a5a969\";a:2:{s:4:\"last\";s:15:\"contao/main.php\";s:7:\"current\";s:40:\"contao/main.php?do=composer&ref=87aeadcc\";}i:0;a:1:{s:4:\"last\";s:0:\"\";}i:1;a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:40:\"contao/main.php?do=composer&tools=dialog\";}s:8:\"80b867c4\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:27:\"contao/main.php?do=composer\";}s:8:\"cd5aa6da\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:15:\"contao/main.php\";}s:8:\"e1277429\";a:2:{s:4:\"last\";s:15:\"contao/main.php\";s:7:\"current\";s:40:\"contao/main.php?do=composer&ref=cd5aa6da\";}s:8:\"4fdba06d\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:43:\"contao/main.php?do=composer&settings=dialog\";}i:2;a:1:{s:4:\"last\";s:0:\"\";}i:3;a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:27:\"contao/main.php?do=composer\";}s:8:\"571547ea\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:15:\"contao/main.php\";}i:4;a:1:{s:4:\"last\";s:0:\"\";}i:5;a:2:{s:4:\"last\";s:15:\"contao/main.php\";s:7:\"current\";s:42:\"contao/main.php?do=tpl_editor&ref=571547ea\";}s:8:\"677f6c73\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:15:\"contao/main.php\";}s:8:\"ead7f04a\";a:2:{s:4:\"last\";s:15:\"contao/main.php\";s:7:\"current\";s:40:\"contao/main.php?do=composer&ref=677f6c73\";}s:8:\"abd20160\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:15:\"contao/main.php\";}s:8:\"6851082f\";a:2:{s:4:\"last\";s:15:\"contao/main.php\";s:7:\"current\";s:40:\"contao/main.php?do=composer&ref=abd20160\";}s:8:\"b753484e\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:15:\"contao/main.php\";}s:8:\"7ba6b940\";a:3:{s:8:\"tl_theme\";s:38:\"contao/main.php?do=themes&ref=b753484e\";s:4:\"last\";s:15:\"contao/main.php\";s:7:\"current\";s:38:\"contao/main.php?do=themes&ref=b753484e\";}s:8:\"9eb9172d\";a:3:{s:4:\"last\";s:38:\"contao/main.php?do=themes&ref=b753484e\";s:8:\"tl_theme\";s:38:\"contao/main.php?do=themes&ref=b753484e\";s:7:\"current\";s:95:\"contao/main.php?do=themes&table=tl_module&id=2&rt=60a2bda76b772e05fc84cfc0032cbc99&ref=7ba6b940\";}s:8:\"5dc12938\";a:3:{s:4:\"last\";s:95:\"contao/main.php?do=themes&table=tl_module&id=2&rt=60a2bda76b772e05fc84cfc0032cbc99&ref=7ba6b940\";s:8:\"tl_theme\";s:38:\"contao/main.php?do=themes&ref=b753484e\";s:7:\"current\";s:40:\"contao/main.php?do=composer&ref=9eb9172d\";}}s:7:\"CURRENT\";a:1:{s:3:\"IDS\";a:13:{i:0;s:1:\"7\";i:1;s:2:\"12\";i:2;s:1:\"8\";i:3;s:1:\"6\";i:4;s:2:\"11\";i:5;s:2:\"13\";i:6;s:2:\"10\";i:7;s:1:\"3\";i:8;s:1:\"9\";i:9;s:1:\"1\";i:10;s:1:\"2\";i:11;s:1:\"4\";i:12;s:1:\"5\";}}s:9:\"CLIPBOARD\";a:2:{s:13:\"tl_form_field\";a:0:{}s:8:\"tl_files\";a:0:{}}s:11:\"new_records\";a:11:{s:7:\"tl_page\";a:21:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;i:6;i:7;i:7;i:8;i:8;i:9;i:9;i:10;i:10;i:11;i:11;i:12;i:12;i:13;i:13;i:14;i:14;i:15;i:15;i:16;i:16;i:17;i:17;i:18;i:18;i:19;i:19;i:20;i:20;i:21;}s:8:\"tl_theme\";a:2:{i:0;i:1;i:1;i:2;}s:9:\"tl_layout\";a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}s:10:\"tl_content\";a:76:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;i:6;i:7;i:7;i:8;i:8;i:9;i:9;i:10;i:10;i:11;i:11;i:12;i:12;i:13;i:13;i:14;i:14;i:15;i:15;i:16;i:16;i:17;i:17;i:18;i:18;i:19;i:19;i:20;i:20;i:21;i:21;i:22;i:22;i:23;i:23;i:24;i:24;i:25;i:25;i:26;i:26;i:27;i:27;i:30;i:28;i:31;i:29;i:32;i:30;i:33;i:31;i:34;i:32;i:35;i:33;i:36;i:34;i:37;i:35;i:38;i:36;i:39;i:37;i:40;i:38;i:41;i:39;i:42;i:40;i:43;i:41;i:44;i:42;i:45;i:43;i:46;i:44;i:47;i:45;i:48;i:46;i:50;i:47;i:51;i:48;i:52;i:49;i:53;i:50;i:54;i:51;i:55;i:52;i:56;i:53;i:57;i:54;i:58;i:55;i:59;i:56;i:60;i:57;i:61;i:58;i:62;i:59;i:63;i:60;i:64;i:61;i:66;i:62;i:67;i:63;i:68;i:64;i:69;i:65;i:70;i:66;i:71;i:67;i:72;i:68;i:73;i:69;i:74;i:70;i:75;i:71;i:76;i:72;i:77;i:73;i:78;i:74;i:79;i:75;i:83;}s:9:\"tl_module\";a:13:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;i:6;i:7;i:7;i:8;i:8;i:9;i:9;i:10;i:10;i:11;i:11;i:12;i:12;i:13;}s:7:\"tl_form\";a:2:{i:0;i:1;i:1;i:2;}s:10:\"tl_article\";a:9:{i:0;i:13;i:1;i:14;i:2;i:15;i:3;i:16;i:4;i:20;i:5;i:21;i:6;i:22;i:7;i:26;i:8;i:27;}s:17:\"tl_dlh_googlemaps\";a:2:{i:0;i:1;i:1;i:2;}s:26:\"tl_dlh_googlemaps_elements\";a:2:{i:0;i:1;i:1;i:2;}s:13:\"tl_form_field\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}s:7:\"tl_user\";a:1:{i:0;i:2;}}s:15:\"fieldset_states\";a:10:{s:7:\"tl_page\";a:7:{s:13:\"global_legend\";i:1;s:14:\"sitemap_legend\";i:1;s:16:\"protected_legend\";i:1;s:12:\"cache_legend\";i:1;s:12:\"chmod_legend\";i:1;s:13:\"layout_legend\";i:1;s:13:\"expert_legend\";i:1;}s:9:\"tl_layout\";a:6:{s:15:\"webfonts_legend\";i:1;s:15:\"sections_legend\";i:1;s:13:\"script_legend\";i:1;s:18:\"picturefill_legend\";i:1;s:11:\"feed_legend\";i:1;s:13:\"expert_legend\";i:1;}s:9:\"tl_module\";a:3:{s:20:\"mmenu_effects_legend\";i:1;s:15:\"template_legend\";i:1;s:13:\"expert_legend\";i:1;}s:7:\"tl_form\";a:2:{s:12:\"store_legend\";i:1;s:13:\"expert_legend\";i:1;}s:10:\"tl_content\";a:5:{s:16:\"invisible_legend\";i:1;s:15:\"template_legend\";i:1;s:16:\"protected_legend\";i:1;s:13:\"expert_legend\";i:1;s:11:\"type_legend\";i:1;}s:10:\"tl_article\";a:1:{s:13:\"expert_legend\";i:1;}s:17:\"tl_dlh_googlemaps\";a:9:{s:14:\"maptype_legend\";i:1;s:22:\"maptypecontrols_legend\";i:1;s:18:\"zoomcontrol_legend\";i:1;s:20:\"rotatecontrol_legend\";i:1;s:17:\"pancontrol_legend\";i:1;s:19:\"scalecontrol_legend\";i:1;s:24:\"streetviewcontrol_legend\";i:1;s:25:\"overviewmapcontrol_legend\";i:1;s:16:\"parameter_legend\";i:1;}s:13:\"tl_form_field\";a:1:{s:13:\"expert_legend\";i:1;}s:11:\"tl_settings\";a:3:{s:11:\"smtp_legend\";i:1;s:12:\"files_legend\";i:1;s:14:\"uploads_legend\";i:1;}s:26:\"tl_dlh_googlemaps_elements\";a:1:{s:16:\"parameter_legend\";i:1;}}s:12:\"tl_page_tree\";a:20:{i:1;i:1;i:2;i:0;i:3;i:1;i:4;i:0;i:5;i:1;i:6;i:0;i:7;i:0;i:8;i:0;i:9;i:0;i:10;i:0;i:11;i:1;i:12;i:0;i:13;i:0;i:14;i:0;i:15;i:0;i:16;i:0;i:17;i:0;i:19;i:0;i:20;i:0;i:21;i:0;}s:22:\"style_sheet_update_all\";N;s:13:\"filePickerRef\";s:55:\"contao/file.php?table=tl_content&field=singleSRC&value=\";s:12:\"popupReferer\";a:1:{s:8:\"f51ccb56\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:32:\"contao/main.php?do=files&popup=1\";}}s:8:\"filetree\";a:15:{s:8:\"d272c8e4\";i:1;s:8:\"4b3d3649\";i:1;s:8:\"f9c39b30\";i:1;s:8:\"129a4c2f\";i:1;s:8:\"06793b1b\";i:0;s:8:\"bc47287d\";i:1;s:8:\"fd50a2af\";i:1;s:8:\"ff6a5a59\";i:0;s:8:\"9f41320a\";i:1;s:8:\"d40cb2c2\";i:1;s:8:\"3ad5ee02\";i:1;s:8:\"a970030e\";i:1;s:8:\"fb90e25b\";i:1;s:8:\"1afb73e9\";i:1;s:8:\"d6903262\";i:1;}s:10:\"CURRENT_ID\";s:1:\"2\";s:12:\"tl_page_node\";s:1:\"1\";s:26:\"tl_article_tl_article_tree\";a:28:{i:1;i:0;i:12;i:0;i:13;i:0;i:14;i:0;i:15;i:0;i:16;i:0;i:2;i:0;i:3;i:0;i:4;i:0;i:7;i:0;i:8;i:0;i:9;i:0;i:10;i:0;i:17;i:0;i:19;i:0;i:18;i:0;i:11;i:0;i:20;i:0;i:21;i:0;i:5;i:0;i:6;i:0;i:22;i:0;i:23;i:0;i:25;i:0;i:26;i:0;i:24;i:0;i:27;i:0;i:28;i:0;}s:19:\"tree_tl_form_jumpTo\";a:2:{i:1;i:1;i:11;i:1;}s:25:\"tree_tl_content_singleSRC\";a:13:{s:32:\"8b37b062d24d3ff92b0f6637c606ecff\";i:1;s:32:\"c6ace89ccab02a8aea6e2d689c27c538\";i:1;i:1;i:1;i:5;i:1;s:32:\"4b3d3649d34ab98447a6c2da36d42932\";i:1;s:32:\"f9c39b304b6a4b43300d6847627f0ad8\";i:1;s:32:\"8f6ff5411771354cd6a7cdfd394dcc8c\";i:0;s:32:\"9391b27f5b849da511884000a6ffbc84\";i:1;s:32:\"2a4c034b0404125289ea2892317db0d6\";i:1;s:32:\"bd5ce50eca370bab62f0931620731c93\";i:0;s:32:\"3011b349d33ed1d1db0c7abee4bdbc3d\";i:1;s:32:\"3ad5ee027ac6fa962cff2536a42c7d85\";i:1;s:32:\"fb90e25b78f5a91c7bf5855233c2553f\";i:1;}s:24:\"tree_tl_content_imageUrl\";a:1:{i:1;i:1;}s:20:\"tree_tl_module_pages\";a:1:{i:1;i:1;}s:23:\"tl_article_tl_page_tree\";a:4:{i:1;i:1;i:5;i:1;i:11;i:1;i:3;i:1;}s:23:\"tree_tl_layout_external\";a:2:{s:32:\"8b37b062d24d3ff92b0f6637c606ecff\";i:1;s:32:\"395bffb70ca9b23c49481844bade8e09\";i:1;}s:19:\"tree_tl_page_jumpTo\";a:3:{i:1;i:1;i:5;i:1;i:3;i:1;}s:24:\"tree_tl_content_multiSRC\";a:10:{s:32:\"4b3d3649d34ab98447a6c2da36d42932\";i:1;s:32:\"f9c39b304b6a4b43300d6847627f0ad8\";i:1;s:32:\"129a4c2f027208551c557c0bcf7b293d\";i:0;s:32:\"06793b1b43d3658cbc0a058dc80d13f5\";i:0;s:32:\"9e2aa2e4541f95f7029790d4d909ff73\";i:0;s:32:\"ddcd3022ccebf45bedd478151daacce8\";i:1;s:32:\"72729723ce741dce964e03afc2d8bd88\";i:0;s:32:\"e08c1a0064181ed829bfc15fea6198d7\";i:0;s:32:\"9f41320a29658b83db237f0fbe2f0050\";i:1;s:32:\"d40cb2c22153e23e4e16371680e9c3d5\";i:0;}s:13:\"tl_files_node\";s:0:\"\";}', dateAdded='1462785003', lastLogin='1613380151', currentLogin=1615559681, loginCount=3, locked='0', calendars=NULL, calendarp=NULL, calendarfeeds=NULL, calendarfeedp=NULL, faqs=NULL, faqp=NULL, news=NULL, newp=NULL, newsfeeds=NULL, newsfeedp=NULL, newsletters=NULL, newsletterp=NULL, dlh_googlemapss=NULL, dlh_googlemapsp=NULL WHERE id='1') thrown in system/modules/core/library/Contao/Database/Statement.php on line 295
    
    #0 system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
    #1 system/modules/core/library/Contao/User.php(545): Contao\Database\Statement->execute('1')
    #2 system/modules/core/classes/BackendUser.php(387): Contao\User->save()
    #3 system/modules/core/library/Contao/User.php(432): Contao\BackendUser->save()
    #4 system/modules/core/controllers/BackendIndex.php(37): Contao\User->login()
    #5 contao/index.php(19): Contao\BackendIndex->__construct()
    #6 {main}
    Hat jemand eine Idee dazu?


    Viele Grüße,
    conter

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

    Standard

    Du musst eine niedrigere MySQL Version nutzen. Contao 3 ist glaube ich nicht mit MySQL 8+ kompatibel.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    ja, das hab ich schon vermutet.

    Also um so ein mamp o.ä. komm ich wohl nicht drum herum oder?

    Andere Frage:
    hat jemand auf so einem Strato Paket mit 256 MB contao zum laufen gebracht?

    Viele Grüße,
    conter

  4. #4
    Contao-Fan
    Registriert seit
    26.05.2013.
    Ort
    Berlin
    Beiträge
    381

    Standard

    Zitat Zitat von conter Beitrag anzeigen
    Andere Frage:
    hat jemand auf so einem Strato Paket mit 256 MB contao zum laufen gebracht?
    ja natürlich: https://community.contao.org/de/show...-und-PHP-7-4-x

  5. #5
    Contao-Fan Avatar von rusty
    Registriert seit
    07.02.2012.
    Ort
    Hamburg
    Beiträge
    265

    Standard

    Ist es denn so wichtig, erst auf 3.5.40 zu gehen, wenn du ohnehin weiter auf 4.x willst? Du nutzt von der alten Installation ja nur die DB, und die ändert sich strukturell beim Schritt auf 3.5.40 nicht wesentlich.

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

    Standard

    Es ist wichtig zuerst auf Contao 3.5.40 zu aktualisieren, da es tatsächlich wesentliche Datenbank Änderungen gibt.
    » sponsor me via GitHub or PayPal or Revolut

  7. #7
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    Hallo zusammen,

    ich habe jetzt noch mal direkt auf Strato versucht auf 3540 zu aktualisieren. nachdem ich zwei Erweiterungen rausgeschmissen habe, kommt jetzt keine Speichermeldung mehr sondern:

    Code:
    Fatal error: Uncaught exception Error with message Call to undefined method Composer\Downloader\DownloadManager::setOutputProgress() thrown in system/modules/!composer/src/Controller/UpdatePackagesController.php on line 100
    #0 system/modules/!composer/src/Controller/UpdatePackagesController.php(51): ContaoCommunityAlliance\Contao\Composer\Controller\UpdatePackagesController->runInline(Array, false)
    #1 system/modules/!composer/src/ClientBackend.php(213): ContaoCommunityAlliance\Contao\Composer\Controller\UpdatePackagesController->handle(Object(Contao\Input))
    #2 system/modules/core/classes/Backend.php(423): ContaoCommunityAlliance\Contao\Composer\ClientBackend->generate()
    #3 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('composer')
    #4 contao/main.php(20): Contao\BackendMain->run()
    #5 {main}
    Fällt jemand dazu was ein?


    Viele Grüße,
    conter

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

    Standard

    Du musst sicherstellen, dass du das automatische Update der composer.phar in den Einstellungen der Paketverwaltung deaktiviert hast - und du musst evt. manuell die composer/composer.phar mit dieser hier ersetzen.
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    Ich habe die Datei ausgetauscht.

    Jetzt bekomme ich den Fehler:
    Code:
    Fatal error: Out of memory (allocated 281018368) (tried to allocate 2117400 bytes) in phar:///mnt/web015/c3/21/51615921/htdocs/contao_3540/composer/composer.phar/src/Composer/Util/RemoteFilesystem.php on line 462
    Die Einstellungen sehen jetzt so aus
    einstellungen-3-5.png

    Ich habe auch ssh-Zugang, gibt es irgendwo eine Anleitung 3.5 über Konsole upzudaten?

    Viele Grüße,
    conter

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

    Standard

    Das Problem wird eher sein, dass du direkt in der Hosting Umgebung nicht genügend Arbeitsspeicher zur Verfügung hast. Du könntest stattdessen das composer update lokal ausführen, dann die composer/composer.json und composer/composer.lock auf den Server kopieren und dort dann wiederum composer install ausführen.
    » sponsor me via GitHub or PayPal or Revolut

  11. #11
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    ja, wollte ich auch , aber wie gesagt ist die Entwicklungsumgebung auf meinem Mac zu "neu"

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

    Standard

    Das Problem in deiner lokalen Entwicklungsumgebung war ja der SQL Server. Für das Composer Update ist das aber egal.
    » sponsor me via GitHub or PayPal or Revolut

  13. #13
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    Ich habe jetzt noch mal eine andere Testumgebung aufgetan.

    Ich bekomme beim Testlauf jetzt

    Code:
    $ /usr/bin/env php -d memory_limit=2G -d max_execution_time=900 composer.phar update --no-ansi --no-interaction --dry-run
    The "contao-community-alliance/composer-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.1.0"). You may need to run composer update with the "--no-plugins" option.
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - contao-community-alliance/composer-plugin[2.0.0-beta1, ..., 2.3.3] require composer-plugin-api 1.0.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
        - contao-community-alliance/composer-plugin[2.3.4, ..., 2.4.x-dev] require composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
        - delahaye/dlh_googlemaps 2.1.1 requires contao/core >=3.2,<4-dev -> satisfiable by contao/core[3.2.beta1, ..., 3.5.40].
        - contao/core[3.2.beta1, ..., 3.5.40] require contao-community-alliance/composer-plugin ~2.0 -> satisfiable by contao-community-alliance/composer-plugin[2.0.0-beta1, ..., 2.4.x-dev].
        - Root composer.json requires delahaye/dlh_googlemaps >=2.1.1.0,<2.2-dev -> satisfiable by delahaye/dlh_googlemaps[2.1.1].
    
    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.


    In den contao Einstellungen steht schon:

    Code:
    als eigenständiger Prozess
    
    Composer Bibliothek automatisch aktualisieren
    
    /usr/bin/env php -d memory_limit=2G -d max_execution_time=900

    Wo stelle ich "Use the option --with-all-dependencies (-W) " ein?

    Viele Grüße,
    conter

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

    Standard

    Du lässt eine zu alte Version von delahaye/dlh_googlemaps installieren.
    Geändert von Spooky (12.04.2021 um 13:56 Uhr)
    » sponsor me via GitHub or PayPal or Revolut

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

    Standard

    Achso, hier geht es ja um Contao 3. Du musst in der Composer Paketverwaltung einstellen, dass Composer nicht automatisch aktualisiert wird. Und danach musst du Composer 1.x von hier runterladen und die bestehende composer/composer.phar damit ersetzen.
    Geändert von Spooky (12.04.2021 um 14:01 Uhr)
    » sponsor me via GitHub or PayPal or Revolut

  16. #16
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    Habe die composer.phar 1.10.21 heruntergeladen und den Haken bei auutomatisch aktualisieren rausgenommen.

    Jetzt bekomme ich folgende Meldung nach klick auf "Test":

    Code:
    $ /usr/bin/env php -d memory_limit=2G -d max_execution_time=900 composer.phar update --no-ansi --no-interaction --dry-run
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    PHP Fatal error:  Allowed memory size of 2147483648 bytes exhausted (tried to allocate 268435464 bytes) in phar:///home/meike-test/public_html/v2/composer/composer.phar/src/Composer/DependencyResolver/RuleSet.php on line 84
    
    Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 268435464 bytes) in phar:///home/meike-test/public_html/v2/composer/composer.phar/src/Composer/DependencyResolver/RuleSet.php on line 84
    
    Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.

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

    Standard

    Siehe #10
    » sponsor me via GitHub or PayPal or Revolut

  18. #18
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    ja, da beißt sich die Katze in den Schwanz

    Aber ich bin ja hartnäckig und habe einfach mal auf 5G erhöht.

    Code:
    /usr/bin/env php -d memory_limit=5G -d max_execution_time=900
    Jetzt scheint der Speicher auszureichen und die Meldung hat sich noch mal geändert:

    Code:
    $ /usr/bin/env php -d memory_limit=5G -d max_execution_time=900 composer.phar update --no-ansi --no-interaction
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 0 installs, 4 updates, 0 removals
      - Updating contao-community-alliance/composer-plugin (2.4.2 => 2.4.3): Downloading
                                                 
      [Composer\Downloader\TransportException]   
      Could not authenticate against github.com  
                                                 
    
    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
    Dazu vielleicht noch jemand eine Idee?

    Viele Grüße,
    conter

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

    Standard

    Poste mal deine Composer Einstellungen.
    » sponsor me via GitHub or PayPal or Revolut

  20. #20
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    meinst du dies?

    Code:
    /usr/bin/env php -d memory_limit=5G -d max_execution_time=900
    composer.png

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

    Standard

    Lösche mal den Ordner composer/vendor/contao-community-alliance/composer-plugin und versuche es nochmal.
    » sponsor me via GitHub or PayPal or Revolut

  22. #22
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    jetzt heißt es

    Code:
    $ /usr/bin/env php -d memory_limit=5G -d max_execution_time=900 composer.phar update --no-ansi --no-interaction
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 13 installs, 3 updates, 7 removals
      - Removing contao/calendar-bundle (3.5.12)
      - Removing contao/comments-bundle (3.5.12)
      - Removing contao/core (3.5.12)
      - Removing contao/core-bundle (3.5.12)
      - Removing contao/faq-bundle (3.5.12)
      - Removing contao/listing-bundle (3.5.12)
      - Removing contao/news-bundle (3.5.12)
      - Installing contao-community-alliance/composer-plugin (2.4.3): Downloading    Failed to download contao-community-alliance/composer-plugin from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing contao-community-alliance/composer-plugin (2.4.3): Cloning 238935db14
      - Installing simplepie/simplepie (1.5.6): Downloading    Failed to download simplepie/simplepie from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing simplepie/simplepie (1.5.6): Cloning 1c68e14ca3
      - Installing phpspec/php-diff (v1.1.3): Downloading    Failed to download phpspec/php-diff from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing phpspec/php-diff (v1.1.3): Cloning fc1156187f
      - Installing michelf/php-markdown (1.9.0): Downloading    Failed to download michelf/php-markdown from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing michelf/php-markdown (1.9.0): Cloning c83178d49e
      - Installing matthiasmullie/path-converter (1.1.3): Downloading    Failed to download matthiasmullie/path-converter from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing matthiasmullie/path-converter (1.1.3): Cloning e7d13b2c7e
      - Installing matthiasmullie/minify (1.3.66): Downloading    Failed to download matthiasmullie/minify from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing matthiasmullie/minify (1.3.66): Cloning 45fd3b0f1d
      - Installing swiftmailer/swiftmailer (v5.4.12): Downloading    Failed to download swiftmailer/swiftmailer from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing swiftmailer/swiftmailer (v5.4.12): Cloning 181b89f18a
      - Installing oyejorge/less.php (v1.7.0.14): Downloading    Failed to download oyejorge/less.php from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing oyejorge/less.php (v1.7.0.14): Cloning 42925c5a01
      - Installing contao-components/compass (0.12.2.1): Downloading    Failed to download contao-components/compass from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing contao-components/compass (0.12.2.1): Cloning 57f0d49607
      - Installing true/punycode (1.1.0): Downloading    Failed to download true/punycode from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing true/punycode (1.1.0): Cloning 21c0025130
      - Installing tecnick.com/tcpdf (6.4.1): Downloading    Failed to download tecnick.com/tcpdf from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing tecnick.com/tcpdf (6.4.1): Cloning 5ba838befd
      - Installing leafo/scssphp (v0.8.4): Downloading    Failed to download leafo/scssphp from dist: Could not authenticate against github.com
        Now trying to download from source
      - Installing leafo/scssphp (v0.8.4): Cloning b9cdea3e42
    
                                                                                                                                                                   
      [ContaoCommunityAlliance\Composer\Plugin\DuplicateContaoException]                                                                                           
      Warning: Contao core 3.5.40 was about to get installed but 3.5.12 has been found in project root, to recover from this problem please restart the operation  
                                                                                                                                                                   
    
    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
    Geändert von conter (12.04.2021 um 18:11 Uhr)

  23. #23
    Wandelndes Contao-Lexikon Avatar von tab
    Registriert seit
    22.10.2013.
    Beiträge
    10.076
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Notfalls würde ich das Update auf 3.5.40 einfach manuell machen und bei der Gelegenheit composer entfernen. Deine installierten Erweiterungen sind dann halt nicht wieder automatisch in der alten Erweiterungsverwaltung, sondern einfach alle manuell installiert (system/modules/...) Aber das ist ja egal, weil das spätestens beim Update auf Contao 4 sowieso passiert, wenn es für eine Erweiterung keine Contao 4 Version gibt. Wo es eine Version von Contao 4 gibt, musst du die dann im Contao-Manager installieren und dann eben nicht in system/modules der Contao 4 Installation übernehmen. Wo es keine gibt, die alte Version in die neue Installation unter system/modules übernehmen. Wo das dann knallt, muss die alte Erweiterung eben durch eine andere ersetzt werden, da führt eh kein Weg vorbei.

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

    Standard

    Zitat Zitat von conter Beitrag anzeigen
    jetzt heißt es
    Führe die composer update Operation einfach nochmal aus.
    » sponsor me via GitHub or PayPal or Revolut

  25. #25
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    Hallo tab,

    wie würde ich da vorgehen?

    Die Erweiterung sind nicht so wichtig, ist nur google map und mobile menu, das kannich nachinstallieren, hauptsache ich ich kriege das cms erstmal auf 3.5.40.

    Viele Grüße,
    conter

  26. #26
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    @spooky

    mittlerweile ist nur noch das core drin.

    nochmal ausgeführt:

    Code:
    $ /usr/bin/env php -d memory_limit=5G -d max_execution_time=900 composer.phar update --no-ansi --no-interaction --prefer-dist
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Nothing to install or update
    Generating autoload files
    Wieso bleibt es immer noch auf 3.5.12??

  27. #27
    Wandelndes Contao-Lexikon Avatar von tab
    Registriert seit
    22.10.2013.
    Beiträge
    10.076
    Contao-Projekt unterstützen

    Support Contao

    Standard

    https://docs.contao.org/books/contao-handbuch-3.5.pdf Manuelles Update ab Seite 9
    Was dort als zu sichernde Dateien/Verzeichnisse aufgelistet ist + system/modules und eventuell /composer würde ich einfach in ein komplett frisches (aus heruntergeladenem Archiv erstellt) Contao 3.5.40 reinkopieren. SQL-Dump der Datenbank in eine neue Datenbank importieren, Datenbankzugangsdaten in der localconfig.php anpassen und dann das Installtool aufrufen.

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

    Standard

    Zitat Zitat von conter Beitrag anzeigen
    Wieso bleibt es immer noch auf 3.5.40??
    Hast du denn schon auf Contao 3.5.12 aktualisiert? Das übernimmt nicht die Composer Paketverwaltung für dich. Das musst du entweder manuell machen, über die Live-Update Funktion, oder über Extensions wie easyupdate3
    » sponsor me via GitHub or PayPal or Revolut

  29. #29
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    O M G

    3.5 ist wirklich zu lange her ...

    Ich habe immer drauf gewartet das die Version über composer aktualisiert wird.

    Also frische Installation von 3.5 und dann files, template, Databank reinkopieren, oder?

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

    Standard

    Ich persönlich würde einfach die easyupdate3 Extension nehmen.
    » sponsor me via GitHub or PayPal or Revolut

  31. #31
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    Danke allen Beteiligten

    Ist schon erledigt, manuelles Update hat gut geklappt

Aktive Benutzer

Aktive Benutzer

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

Lesezeichen

Lesezeichen

Berechtigungen

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