2022-10-30 20:54:10
2022-10-27 12:52:56
2022-10-27 12:52:56
10910084
Problem beim Update auf die aktuelle 2022.10
Hallo zusammen
Auf meiner zweiten Instanz habe ich ein Problem beim Update auf die 2022.10 (von der alten Stable aus).
Im Apache-Log finde ich folgende Zeilen:
Beim Update bei git und composer lief alles fehlerfrei durch. Jetzt habe ich nur noch einen Whitescreen.
Standardmässig nutzt ich php 7.4, habe das Ganze noch kurz mit 8.0 getestet - ohne erfolg.
Mögliche Ursachen?
Danke für eure Unterstützung im Voraus!
!Friendica Support
Auf meiner zweiten Instanz habe ich ein Problem beim Update auf die 2022.10 (von der alten Stable aus).
Im Apache-Log finde ich folgende Zeilen:
[Thu Oct 27 14:27:36.243856 2022] [proxy_fcgi:error] [pid 2771074:tid 139919720097536] [client 62.204.xx.xx:60503] AH01071: Got error 'PHP message: PHP Warning: include(www/friendica/vendor/composer/../smarty/smarty/libs/Smarty.class.php): Failed to open stream: No such file or directory in www/friendica/vendor/composer/ClassLoader.php on line 444PHP message: PHP Warning: include(): Failed opening 'www/friendica/vendor/composer/../smarty/smarty/libs/Smarty.class.php' for inclusion (include_path='.::www/friendica/include:www/friendica/library:www/friendica') in www/friendica/vendor/composer/ClassLoader.php on line 444', referer: https://f.freinetz.ch/network
Beim Update bei git und composer lief alles fehlerfrei durch. Jetzt habe ich nur noch einen Whitescreen.
Standardmässig nutzt ich php 7.4, habe das Ganze noch kurz mit 8.0 getestet - ohne erfolg.
Mögliche Ursachen?
Danke für eure Unterstützung im Voraus!
!Friendica Support
Roland Häder likes this.
Friendica Support reshared this.
Hypolite Petovan
•bin/composer.phar install --no-dev
at the root of your Friendica install.Roland Häder likes this.
Friendica Support reshared this.
Michi
Roland Häder likes this.
Friendica Support reshared this.
Hypolite Petovan
•vendor
folder and wether the web server can open them.Roland Häder likes this.
Friendica Support reshared this.
Michi
Friendica Support reshared this.
Hypolite Petovan
•www/friendica/vendor/smarty/smarty/libs/Smarty.class.php
exists?Friendica Support reshared this.
Michi
There are other errors to other php-files:
... show more
There are other errors to other php-files:
Roland Häder likes this.
Friendica Support reshared this.
Hypolite Petovan
•Friendica Support reshared this.
Michi
Friendica Support reshared this.
Hypolite Petovan
•user
, notwww-data
?Roland Häder likes this.
Friendica Support reshared this.
Michi
Friendica Support reshared this.
Roland Häder
•php-fpm
or how does your web server (Apache/Nginx?) run PHP scripts?E.g. for this sub-domain I had to specify it in the pool's configuration file:
(while
xxxx
is a four-digit number).Friendica Support reshared this.
Michi
Friendica Support reshared this.
Roland Häder
•/etc/php/7.4/fpm/pool.d/
Friendica Support reshared this.
Hypolite Petovan
•Friendica Support reshared this.
Michi
Hypolite Petovan likes this.
Friendica Support reshared this.
Michi
Roland Häder likes this.
Friendica Support reshared this.
Michi
ERROR 1005 (HY000) at line 1785: Can't create table `freinetz_db1`.`contact` (errno: 121 "Duplicate key on write or update")
Wenn ich im sql-dump den entsprechenden Bereich anschaue:
Zur besseren Übersicht: https://privatebin.freinetz.ch/?1db85aa2e0b9c5da#DuQc4oFSYLbPM5LUq7afcfYgfUyabfoFoibm4KCSqWCe
... show more
ERROR 1005 (HY000) at line 1785: Can't create table `freinetz_db1`.`contact` (errno: 121 "Duplicate key on write or update")
Wenn ich im sql-dump den entsprechenden Bereich anschaue:
Zur besseren Übersicht: https://privatebin.freinetz.ch/?1db85aa2e0b9c5da#DuQc4oFSYLbPM5LUq7afcfYgfUyabfoFoibm4KCSqWCe
Leider finde ich nicht heraus, was das Problem ist und wie ich es lösen könnte.
#mysql #mariadb
Roland Häder likes this.
Friendica Support reshared this.
Michi
Duplicate key on write or update
in diesem Abschnitt? Was soll hie doppelt vorhanden sein und zu einem Fehler führen?Friendica Support reshared this.
Michi
Weiter komme ich selber nun wirklich nicht und bitte um Unterstützung von #datenbank #Profis 😉 Wer kennst sich mit der friendica-db aus?
Friendica Support reshared this.
Michi
Friendica Support reshared this.
Michael Vogel
•Friendica Support reshared this.
Michi
Also ich möchte erstmals zurück zur letzten funktionierenden Version, sprich des Backup einspielen. Die Dateien waren kein Problem, bei der DB klemmt es. Ich denke composer sollte da ja auch keine Probleme mehr machen.
Friendica Support reshared this.
Michi
Friendica Support reshared this.
Michael Vogel
•Friendica Support reshared this.
Michi
Siehe den Post oben, ich bekomme diese Fehlermeldung: ERROR 1005 (HY000) at line 1785: Can't create table
freinetz_db1
.contact
(errno: 121 "Duplicate key on write or update")In eine neue DB einspielen habe ich noch nicht versucht. Das probiere ich mal, danke.
Friendica Support reshared this.
Michi
Ich werde bei Gelegenheit das Update auf die neue Stable nochmals versuchen. Ich hoffe, es funktioniert!
Hypolite Petovan likes this.
Friendica Support reshared this.
Michael Vogel
•Michi likes this.
Friendica Support reshared this.