Skip to main content


Aktualisierung

Hallo !Friendica Support

bei der letzten Aktualisierung von Friendica werde ich bei dem bin/composer.phar install --no-dev nach einem Nutzernamen gefragt. Soll das so?
bin/composer.phar install --no-dev
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 7 updates, 1 removal
  - Syncing friendica/json-ld (1.1.5) into cache
    Authentication required (git.friendi.ca):
      Username: 


Nachdem ich mir auf git.friendi.ca ein Konto angelegt habe und ich die Daten beim aktualisieren eingegeben habe, erscheint folgende Meldung:

In Git.php line 657:

  Failed to execute git clone --mirror -- https://mon...:Ged...fen@git.friendi.ca/friendica/php-json-ld.git /.composer/cache/vcs/https---git.friendi.ca-friendic  
  a-php-json-ld.git/                                                                                                                                                           
                                                                                                                                                                               
  Cloning into bare repository '/.composer/cache/vcs/https---git.friendi.ca-friendica-php-json-ld.git'...                                                         
  fatal: unable to access 'https://git.friendi.ca/friendica/php-json-ld.git/': OpenSSL/1.0.2k-fips: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol v  
  ersion

install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-security-blocking] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]


Außerdem fehlen nach der Aktualisierung im Theme frio die Icons.
This entry was edited (4 weeks ago)
Hmm, das mit git ist seltsam. Ich frag mich, ob das eine Nebenwirkungen der Anti-Crawler-Maßnahmen ist, die wir gemacht haben.

Bezüglich der Icons: Hast Du Frio oder eine abgewandelte Form von Frio? Wir haben das Iconset geändert.
Ich habe diese Bookface Variante von Frio, aber auch bei dem normalem Frio fehlen die Icons.
Ich bin jetzt mal zurück zu stable gewechselt und dort funktioniert alles wunderbar und ich werde bei dem bin/composer.phar install --no-dev auch nicht nach einem Passwort gefragt.
Das scheint das gleiche Problem zu sein wie hier in diesem Issue:

Ich kann da nur hoffen, dass @utzer eine Lösung weiß.
@Michael 🇺🇦 habe es gerade erst gelesen, muss später mal schauen. @utzer @Montag
So, ich habe jetzt mal das hier gemacht: bin/composer.phar install --no-dev -v

Und das ist die Ausgabe, vielleicht ist das ja hilfreich:

Exception trace:
  at phar:///html/bin/composer.phar/src/Composer/Util/Git.php:657
 Composer\Util\Git->throwException() at phar:///html/bin/composer.phar/src/Composer/Util/Git.php:371
 Composer\Util\Git->runCommand() at phar:///html/bin/composer.phar/src/Composer/Util/Git.php:94
 Composer\Util\Git->runCommands() at phar:///html/bin/composer.phar/src/Composer/Util/Git.php:410
 Composer\Util\Git->syncMirror() at phar:///html/bin/composer.phar/src/Composer/Util/Git.php:445
 Composer\Util\Git->fetchRefOrSyncMirror() at phar:///html/bin/composer.phar/src/Composer/Downloader/GitDownloader.php:78
 Composer\Downloader\GitDownloader->doDownload() at phar:///html/bin/composer.phar/src/Composer/Downloader/VcsDownloader.php:73
 Composer\Downloader\VcsDownloader->download() at phar:///html/bin/composer.phar/src/Composer/Downloader/DownloadManager.php:218
 Composer\Downloader\DownloadManager->{closure:Composer\Downloader\DownloadManager::download():186}() at phar:///html/bin/composer.phar/src/Composer/Downloader/DownloadManager.php:230
 Composer\Downloader\DownloadManager->download() at phar:///html/bin/composer.phar/src/Composer/Installer/LibraryInstaller.php:111
 Composer\Installer\LibraryInstaller->download() at phar:///html/bin/composer.phar/src/Composer/Installer/InstallationManager.php:280
 Composer\Installer\InstallationManager->downloadAndExecuteBatch() at phar:///html/bin/composer.phar/src/Composer/Installer/InstallationManager.php:221
 Composer\Installer\InstallationManager->execute() at phar:///html/bin/composer.phar/src/Composer/Installer.php:847
 Composer\Installer->doInstall() at phar:///html/bin/composer.phar/src/Composer/Installer.php:304
 Composer\Installer->run() at phar:///html/bin/composer.phar/src/Composer/Command/InstallCommand.php:144
 Composer\Command\InstallCommand->execute() at phar:///html/bin/composer.phar/vendor/symfony/console/Command/Command.php:298
 Symfony\Component\Console\Command\Command->run() at phar:///html/bin/composer.phar/vendor/symfony/console/Application.php:1040
 Symfony\Component\Console\Application->doRunCommand() at phar:///html/bin/composer.phar/vendor/symfony/console/Application.php:301
 Symfony\Component\Console\Application->doRun() at phar:///html/bin/composer.phar/src/Composer/Console/Application.php:439
 Composer\Console\Application->doRun() at phar:///html/bin/composer.phar/vendor/symfony/console/Application.php:171
 Symfony\Component\Console\Application->run() at phar:///html/bin/composer.phar/src/Composer/Console/Application.php:139
 Composer\Console\Application->run() at phar:///html/bin/composer.phar/bin/composer:112
 require() at /html/bin/composer.phar:29
@Montag schau nochmal und liefere nochmal die Ausgabe, wenn es geht dann ist gut, sonst kann sein, dass es ein SSL Problem ist oder so.
@utzer leider immer noch das gleiche Problem.
@Montag ich habe auf git.friendi.ca eine Ausnahme für Git Smart HTTP in Anubis ergänzt. Danach habe ich git ls-remote https://git.friendi.ca/friendica/php-json-ld.git getestet und das funktioniert von meinem Mac aus sauber.

Kannst Du den Befehl bei Dir ebenfalls einmal ausführen und prüfen, ob er funktioniert?
Hallo @utzer,
nein, funktioniert leider nicht ...

$ git ls-remote git.friendi.ca/friendica/php-json-ld.git
fatal: 'git.friendi.ca/friendica/php-json-ld.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
@Michael 🇺🇦 kannst du das mal gegenprüfen?

Oder jemand anderes mit #Linux?

@Montag
@utzer
ach so, falls es wichtig ist, meine Instanz liegt bei #Uberspace, ich verwalte sie also über eine Linux Shell.

@Michael 🇺🇦
@Montag ich frag mich gerade ob git ls-remote https://git.friendi.ca/friendica/php-json-ld.git bei mir funktioniert weil ich MacOS nutze, oder weil ich vorher im Browser das Webui aufgerufen hatte oder ob Linux stricktere Vorgaben zu SSL oder so hat als MacOS.
$ git ls-remote git.friendi.ca/friendica/php-json-ld.git
fatal: 'git.friendi.ca/friendica/php-json-ld.git' does not appear to be a git repository
fatal: Konnte nicht vom Remote-Repository lesen.

Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen
und das Repository existiert.
@Michael 🇺🇦
hier:

git ls-remote https://git.friendi.ca/friendica/php-json-ld.git
fatal: unable to access 'https://git.friendi.ca/friendica/php-json-ld.git/': OpenSSL/1.0.2k-fips: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
@Montag OK, dann ist das SSL oder TLS von @Uberspace Support alt.

Vielleicht hat @Uberspace Support einen Tipp ob man das umgehen kann und ein neueres SSL / TLS nehmen kann.

Ich weiss ich kann bei mir einstellen, dass auch alte Versionen akzeptiert werden, dachte aber, dass dies nicht mehr nötig ist.

Ich denke @Uberspace Support wird fragen welcher Host Dein Ubersapce ist, wahrscheinlich sind sie neuen Uberspace mit neuerer SSL/TLS Version.

@Michael 🇺🇦
@utzer ok, danke fürs kümmern.

Hallo @Uberspace Support, falls Ihr hier mitlest, kann man da ein neueres SSL/TLS nehmen. Meine Instanz liegt auf dem Uperspace hati.
@Montag @Michael 🇺🇦 OK, ich denke das Problem müsste sein, das die domain mit https sein muss.

Zumindest habe ich jetzt schon zwei Leute wo das den Unterschied macht.