Friendica Support reshared this.
Friendica Support reshared this.
Friendica Support reshared this.
Friendica nach Mastodon
Hiker reshared this.
#Fediverse - es gibt noch andere Plattformen!
like this
Plumeros ☮️, Hagen Graf :fv: and xy@libranet.de like this.
Friendica Support reshared this.
Ich bekomme von beim Starten von Cron für worker.php ständig Fehlermeldungen:
PHP Notice: Undefined index: Psr\Log\NullLogger in /var/www/virtual/hiker/fri.bitcast.info/vendor/level-2/dice/Dice.php on line 134
Was ist da los?
stable
- alsoFriendica 'Siberian Iris' 2021.09 - 1434
Kurzfristige "Lösung": von PHP 7.4 auf PHP 7.3 switchen. Da aber 7.3 meines Wissens nicht mehr supportet wird, keine wirkliche Lösung.
Andere "Lösung": hinten an den cron-Job "> /dev/null 2>&1" anhängen, das sendet alle Fehlermeldungen ins Nirvana. Besser als alle paar Minuten eine Mail zu bekommen, aber Du erfährst nichts mehr von Fehlern, die evt wirklich etwas bedeuten.
return $this->instances[$name];anscheinend wird irgendein Instanzen-Name nicht initialisiert?
Der Fehler kann aus meiner Sicht nur auftreten, wenn die Datenbank "frisch" initialisiert wird bei einer Durchführung (= Start des Cronjobs) und er dabei vorher nicht die NullLogger Instanz erzeugt hat .. Aber mir ist derzeit schleierhaft, wie diese Situation überhaupt enststehen kann, da Dice genau das verhindern sollte.
Meine Instanz lief schon mit der vorangegangenen stable und wurde dann auf 2021.09 aktualisiert.
Bionk likes this.
stable
Version nicht per git, sondern via Dateien installiert - da gibts kein ./bin/composer.phar
https://friendi.ca/resources/download-files/
Hier den Link noch einmal ohne redir, dann sollte er lesbar sein. Er zeigt auf eine ähnliche Fehlerbeschreibung von mir samt dem PHP-Hinweis. Zwei Wochen alt, da gab es keine weiteren Diskussionen.
Ich wollte nur auf das mehrfache "spontane" Auftreten de Fehlers hinweisen und einen mutmaßlichen Zusammenhang mit der PHP-Version herstellen, denn er trat meines Wissens nach einem Update auf PHP 7.4.27 beim Hoster auf.
Nun steht die nächste Friendica stable an, ich werde also updaten und dann auf PHP 7.4 zurück switchen und wenn der Fehler dann immer noch Auftritt, dann lohnt sich eine eingehendere Untersuchung.
Paulo da Silva likes this.
Verständnisfrage: beim Betrieb als Daemon müssten doch die gleichen Fehlermeldungen ausgeworfen werden. Kommen die Mails durch den Aufruf via cron und ich finde die Fehler sonst nur im log?
Hab auch eben das stable nochmal ausgecheckt und per composer erneut installiert --> ich bekomme keinen Fehler 😕
@Hiker interessant wäre, ob du mit dem neuesten
2021.12-rc
Archiv noch immer diese Probleme hast, weil der Release Candidat ist kurz vor der Release.https://friendi.ca/2022/02/06/friendica-2022-02-released/
Ich bin noch auf PHP 7.3 und es kam keine Mail vom CronJob.
Mit "uberspace tools version use php 7.3" solltest Du auch auf diese Version switchen können und bräuchtest dann /dev/null nicht.
Ich probiere gleich mal die PHP 7.4 und melde mich dann noch einmal.
Ich arbeite mit den Archiven und ohne git.
@Michael Vogel Autsch, beim testweise Umschalten auf PHP 7.4 kommt nun ein 500 Internal Server Error 🙁
Nach dem Zurücksetzen auf PHP 7.3 funktioniert alles wieder wie es soll.
@Hiker Versuche es mal mit
"uberspace tools version use php 7.3"
@Philipp Holzer mit welcher Version hast Du das getestet?
https://put.fedcast.ch/mez03ked
Ich kann leider nicht zurück auf PHP 7.3, sonst laufen andere Applikationen nicht mehr.
Offenbar hat Uberspace am Donnerstag die Version 7.3 abgeschaltet, so das dieses Fallback nun entfällt.
Nachdem meine Instanz ein paar Tage down war, habe jetzt mal auf PHP 8.1 geswitched nun läuft es endlich wieder.
Apache- und PHP-Logs zeigen erstmal keine Aufflälligkeiten.
- Friendica kann keine Instanz für
\Psr\Log\NullLogger
erstellen - Darum nimmt es die LoggerFactory
- Aber die LoggerFactory kann erst aufgerufen werden, wenn die Datenbank da ist --> darum auch initial der NullLogger
Kannst du mal schauen, ob du die Datei findest mit PHP 7.4:
vendor/psr/log/Psr/Log/NullLogger.php
Die müsste er eigentlich laden .. und die ist eigentlich auch nicht unbedingt sehr komplex 😁
Die Datei vendor/psr/log/Psr/Log/NullLogger.php ist vorhanden und hat die Rechte 644 (rw-r--r--).
Ich vermute, dass ich sie mit
php vendor/psr/log/Psr/Log/NullLogger.phpaufrufen soll.
In PHP 7.3 kommt diese Meldung
[16-Feb-2022 00:15:22 Europe/Berlin] PHP Fatal error: Uncaught Error: Class 'Psr\Log\AbstractLogger' not found in /var/www/virtual/snila/html/vendor/psr/log/Psr/Log/NullLogger.php:13In PHP 7.4 kommt dagegen diese Meldung
[16-Feb-2022 00:17:49 Europe/Berlin] PHP Fatal error: Cannot declare class Psr\Log\NullLogger, because the name is already in use in /var/www/virtual/snila/html/vendor/psr/log/Psr/Log/NullLogger.php on line 0
Friendica Support reshared this.
Autumnal Hackerspace Pop-up Fri Oct 1
Friday Oct 1, starting at 10:00 and going on until 17:00 (likely a bit later, too—no guarantees!) the hackerspace Lodis will open its doors to any & all people interested in the space! Feel free to drop by at any time and stay for 5 minutes or 5 hours.
Lunch
At 12:00 we will be in the building's restaurant Mygel ordering extremely well-made vegetarian (w/ vegan options!) dishes for lunch. After ordering, we will likely bring our plates to eat together at the long dining table on the floor above the hackerspace. For the person on a budget (or with that lunch box you really just have to eat because—is that mold no wait maybe it's just thyme—) there are also freely available microwave ovens.
People staying longer are welcome to work on their projects (as long as it aligns with at least 4/5th of the space's principles, see the principles section at the bottom of the email), sample our tea collection—or just ask questions, chat and hang out. Responsible for this edition of Öppen Lodis (unsanctioned name) will be Jacob and Louise!
...Workshop rumors??
There are also rumors of a lockpicking workshop that will be held during the day—verifying those rumors are, however, left to the reader as an exercise (2x true if biking).
Contact
If you need to get in, reach out to either Jacob or Louise! If you lack contact details and want to pop by, just reply to this event and we'll hook you up!
Attending
We'd appreciate it if you tried to click attend on this event and let us know how things worked out! (You are also welcome to drop-by the space completely unannounced!)
Location
See map above!
principles
from https://www.lodis.se
lodis is a space for people who want tocreate projects independently...
...and hang out with others while doing so.
work towards a world with greater equality
work on non-commercial projects
explore ideas and see where they end up
See you on the first day of October!
𝓻𝓻𝓪 reshared this.
Inför natten den 24 september öppnar vi porten på Lodgatan 3b för den nya äkta gallerinatten med en välkurerad samling av konstnärliga och kulinariska genier. Se konst i ena änden av byggnaden och ät och drick på Mygel i andra änden.
Kom från 16 till midnatt (dvs natten)
The gate of Lodgatan 3b opens the night of September 24 for a well curated collection of culinary and artistic geniuses. Observe art in one end of the building and have a bite and a drink at Mygel in the other end.
Come from 16 to midnight (aka the night)
Hosted by Lukas Annermarken / the rest of the house 3b[link to event on facebook]
𝓻𝓻𝓪 reshared this.
Matthias ✔
•Wirklich kursiv? Oder doch Fett?