• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Frage Grocy 3.0.0 und Composer: Hilfe bei der Installation

MichiDE

Neues Mitglied
Hallo,
ich würde gerne Grocy (https://grocy.info) verwenden. Da mein Server nicht die Anforderungen der neuen Versionen erfüllt steige ich mal auf die Version 3.0.0 (https://github.com/grocy/grocy/tree/v3.0.0) zurück um danach mal zu erhöhen oder so.

Mein Problem liegt darin das ich mit dem Composer nicht zurecht komme! Ich habe auch schon alles versucht (inkl. KI).
Grocy kann nicht ausgeführt werden: /vendor/autoload.php nicht gefunden. Haben Sie Composer ausgeführt?
Und Composer gibt dauernd Fehler aus. :(

Also: Ich benötige die Dateien vom Composer, könnte mir da jemand Helfen?

Vielen Dank im Voraus!
MichiDE
 
Hallo,
C:\Users\Anatoli\Downloads\grocy-3.0.0\grocy-3.0.0>composer install

In Factory.php line 654:

The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl ex
tension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.


install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--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>...]
 
Deiner PHP-Version fehlt die SSL-Extension. Die kannst du in der php.ini freigeben, falls die Dll vorhanden ist.
 
Hallo,
das ist meine php.ini vom Composer (Wenn das sie richtige ist):
PHP:
[openssl]
; The location of a Certificate Authority (CA) file on the local filesystem
; to use when verifying the identity of SSL/TLS peers. Most users should
; not specify a value for this directive as PHP will attempt to use the
; OS-managed cert stores in its absence. If specified, this value may still
; be overridden on a per-stream basis via the "cafile" SSL stream context
; option.
;openssl.cafile=

; If openssl.cafile is not specified or if the CA file is not found, the
; directory pointed to by openssl.capath is searched for a suitable
; certificate. This value must be a correctly hashed certificate directory.
; Most users should not specify a value for this directive as PHP will
; attempt to use the OS-managed cert stores in its absence. If specified,
; this value may still be overridden on a per-stream basis via the "capath"
; SSL stream context option.
;openssl.capath=

Muss ich da was ändern?
 
Bei dieser Zeile
Code:
;extension=openssl
musst du das Semikolon entfernen und danach den Webserver neu starten.
 
Habe ich gerade gemacht. -> Nächster Fehler:
C:\Users\Anatoli\Downloads\grocy-3.0.0\grocy-3.0.0>composer install
PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: C:\php\ext\openssl (Das angegebene Modul wurde nicht gefunden), C:\php\ext\php_openssl.dll (Das angegebene Modul wurde nicht gefunden)) in Unknown on line 0

In Factory.php line 654:

The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl ex
tension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.


install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--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>...]
Immerhin ein fortschritt :). Aber wo bekomme ich jetzt das Modul her?
 
Dann werden dir bestimmt noch Dll's auf deinem System fehlen. Die Dll libeay32.dll muss auf deinem Rechner sein und auch per PATH zu finden sein.
Ja das stimmt, die libeay32.dll ist bei mir nicht vorhanden.
Wie bekomme ich sie jetzt da rein?
Ich habe auch feststellen müssen das die Datei im ganzen PC nicht existiert. - Wo bekomme ich die Datei her?
 
Ok die Datei habe ich jetzt und habe Sie in den Ordner C:\Windows\SysWOW64 kopiert und dann in PATH eingetragen.
Was genau muss ich jetzt mit dieser Datei machen (Habe diese auch bereits heruntergeladen und den Ordner erstellt und hinein kopiert): C:\Program Files (x86)\Common Files\SSL\openssl.cnf
Muss die auch in PATH eingetragen werden?
 
Achso ok, das wusste ich nicht ist aber eigentlich logisch. Ich las das mal so oder ist das dann ein Problem?
Was genau muss ich jetzt mit dieser Datei machen (Habe diese auch bereits heruntergeladen und den Ordner erstellt und hinein kopiert): C:\Program Files (x86)\Common Files\SSL\openssl.cnf
Muss die auch in PATH eingetragen werden?
Wie soll ich jetzt dann weiter machen?
 
Bekomme aber immer noch gleichen Fehler:
PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: C:\php\ext\openssl (Das angegebene Modul wurde nicht gefunden), C:\php\ext\php_openssl.dll (Das angegebene Modul wurde nicht gefunden)) in Unknown on line 0

In Factory.php line 654:

The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl ex
tension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.


install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--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>...]
 
Erstelle ein Script mit diesen 3 Zeilen:
PHP:
<?php
    phpinfo();
?>
Nenne diese Datei z.B. info.php, kopiere sie in das htdocs-Verzeichnis des Webservers und rufe es im Browser auf. Suche in der Ausgabe nach openssl

1729440715887.png

und überprüfe, ob der SSL-Support enabled ist.
 
Zurück
Oben