Damus
Tobias Ernst profile picture
Tobias Ernst
@Tobias Ernst

#Physiker, #Nerd, #Patentanwalt. Lebte 2004-2014 als Expat in der Ukraine, mitbegründete dort die Deutsche Auslandsschule und Teil der deutschen lutherischen Gemeinde in #Kyjiw, #Ukraine. Heute Mitglied der Immanuelsgemeinde Stuttgart (#SELK #evangelisch #lutherisch). Hobbies: #Gravelbike, #Gesellschaftstanz. I speak English, розмовляю також українською.

Relays (1)
  • wss://relay.ditto.pub – read & write

Recent Notes

Tobias Ernst · 1w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqnkyslfu99j26dn76cgmlzfncstjasaulaagyz90daf0r90rnd8gs7rlz42 I apprciate your continued support but I am still at at a loss. I have now pulled the ...
Tobias Ernst profile picture
@Michael 🇺🇦 Oh! PROBLEM SOLVED!console/config had a setting to put friendica.log in the log directory. But there was not log directory. I manually created one. After that, the log appeared AND now I can access the admin panel :wink:.
Michael 🇺🇦 · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqus98k0a02l7a0ucced0d3rpuyc6xuj2gw0kj0rjeehqmjm6mp8hsxtygww You can access the config via bin/console config. Concerning the updates: I highly re...
Tobias Ernst profile picture
@Michael 🇺🇦 I apprciate your continued support but I am still at at a loss.
I have now pulled the stable friendica and addons from git and run composer.phar. For some reason, the latter required me to create /var/www/.cache and give write-permissions to www-data before it would work (my site sites in /var/www/html/friendica). As you see the instance is back running, I now see my addons (and have disabled them all for the time being). But I still get the 500 when trying to go to the admin panel.

How specifically do I use bin/console config to elicit a php error log in which I can see what is going on?
1
Tobias Ernst · 1w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqnkyslfu99j26dn76cgmlzfncstjasaulaagyz90daf0r90rnd8gs7rlz42 Oh! PROBLEM SOLVED!console/config had a setting to put friendica.log in the log directory. But there was not log directory. I manually created one. After that, the log appeared AND now ...
Michael 🇺🇦 · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqus98k0a02l7a0ucced0d3rpuyc6xuj2gw0kj0rjeehqmjm6mp8hsxtygww nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq5exvkak84vq2lyklvpczq4jkrh82zy8...
Tobias Ernst profile picture
@Michael 🇺🇦 In my previos installation I had a subdirectory log and a friendica.log therein for which I had enabled logging. In the new subdirectory with 2026.02, there is no such subdirectory. I think I am missing a lot of stuff, something with my update went wrong, I just don't know what it is. Now since I cannot get to admin panel, I cannot enable logging, or is it possible via console?
In apache, I see the access to /admin in the access.log, but I do not see anything in error.log. (The error.log as such works, I see other errors there, but it does not get an error when I try to access the admin panel and get the 500).
1
Michael 🇺🇦 · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqus98k0a02l7a0ucced0d3rpuyc6xuj2gw0kj0rjeehqmjm6mp8hsxtygww You can access the config via bin/console config. Concerning the updates: I highly recommend to use git to update your system.
Jools · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqus98k0a02l7a0ucced0d3rpuyc6xuj2gw0kj0rjeehqmjm6mp8hsxtygww I had this problem on one of my servers when I switched from 2024.12 to RC. In my cas...
Tobias Ernst profile picture
@Jools Interesting theory. I did not have many addons enabled. Now after the updated bin/console addon list all gives me an empty list. I think I rather missed something when performing the upgrade. I basically unpacked the distribution into a new directory, copied over the config directory and .htaccess (file storage is some other mount point, database is somewhere else), renamed the directories. Maybe I should have copied something more or did something else?
1
Michael 🇺🇦 · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqus98k0a02l7a0ucced0d3rpuyc6xuj2gw0kj0rjeehqmjm6mp8hsxtygww nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq5exvkak84vq2lyklvpczq4jkrh82zy8gln62mqzgffu4ky8rr97qwyavgx a 500 will create a log entry. Have a look there.
Tobias Ernst profile picture
Hi. I upgraded from 2024.12 to 2026.01. Database updated started and when it is finished just nothing displayed on the site. I then figured to copy over the old .htaccess file, now the site works. But but when I click on my profile and then on "Administration" to get to the admin panel, I get an error 500 "internal server configuration problem". How to fix this? Thanks a lot in advance.
1
Jools · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqus98k0a02l7a0ucced0d3rpuyc6xuj2gw0kj0rjeehqmjm6mp8hsxtygww I had this problem on one of my servers when I switched from 2024.12 to RC. In my case, it was add-ons that weren't working properly, e.g. syntax highlighting in combination with anothe...
Tobias Ernst · 2w
Hallo lieber Support. Ich betreibe hier eine 1-Mann-Instanz in einer VM auf einem leistungsstarken NAS. Bin noch auf 2024.12. Wollte,eigentlich erst das nun geschilderte Problem lösen bevor ich ein B...
Tobias Ernst profile picture
Ich denke, ich komme dem Problem auf die Schliche. Bei einem OPTIMIZE Versuch in MariaDB erhalte ich:
-> | friendica.storage | optimize | error | The table 'storage' is full
-> | friendica.storage | optimize | status | Operation failed
Mein System war zuvor von 10000 auf 10000 offene Worker-Tasks runtergekommen und dann in einen Zustand verfallen, in dem MariaDB die ganze Last zieht und deswegen die Worker und der Daemon irgendwann sterben. Ich ziehn jetzt auf Storage Filesystem um und hoffe dass sich meine Probleme damit dann erledigt haben werden. In die beiden SSDs die gerade unterwegs sind habe ich ggf. ganz unnötig investiert ... :)
Ich denke, Friendica sollte davon abkommen, Datenbank als Default-Storage zu wählen, wenn der so schnell volläuft.
utzer · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqus98k0a02l7a0ucced0d3rpuyc6xuj2gw0kj0rjeehqmjm6mp8hsxtygww kam auf jeden Fall an. Ich denke das wäre jetzt kein Grund kein Backup zu machen und...
Tobias Ernst profile picture
@utzer Danke für die Antwort.

Die Datenbankstruktur ist up to date (bei console dbstructure update passiert nix, in der Admin-Konsole steht die Meldung dass sie aktuell ist). Ich habe gestern abend mal alle Relays bis auf eins raugeschmissen, trotzdem bin ich heute morgen immer noch bei fast derselben Zahl verzögerte Worker Tasks. Da ist irgendwo der Wurm drin, er scheint den Rückstand nicht schneller aufarbeiten zu können als Neues reinkommt. In der Situation möcht ich halt auch nicht noch mehr Downtime durch Backup und Upgrade einbauen.

Hast Du noch Tipps was ich mir da noch genauer ansehen könnte?

Wegen der Länge: "description" in der Datenbank ist derzeit vom Typ "text", da ist in der Datenbank bei 65535 Zeichen schluss. Von daher wäre es durchaus Sinnvoll wenn Freindica hier ein hartes Limit zieht und solche Posts einfach mit einem kurzen Fehler im Log zurückweist.
Tobias Ernst profile picture
Hallo lieber Support. Ich betreibe hier eine 1-Mann-Instanz in einer VM auf einem leistungsstarken NAS. Bin noch auf 2024.12. Wollte,eigentlich erst das nun geschilderte Problem lösen bevor ich ein Backup mache und upgrade. Worker sollten bei meiner Konfiguration vom Daemon gestartet werden. Manchmal stirbt der (hab noch nicht analysiert warum) und dann entsteht ein Backlog aus verzögerten Queues und Tasks. Vor drei Tagen war das mal wieder so weit und ich war bei 100 verzögerten Queues und ca. 100000 verzögerten Tasks. Nachdem ich alles wieder gerichtet hatte ging es im Laufe eines Tages auf ca. 50000 verzögerte Tasks runter, aber unter diese Schwelle komm ich nicht, im Laufe eines weiteren Tages ging es mal hoch mal runter aber blieb ungefähr bei dieser Marke, aktuell wächst es eher wieder, wohingegen die Zahl der Queues derweil auf 125 angewachsen ist. Ich hab ungefähr alle Optimierungen ausprobiert, die Handbücher und diverse LLMs so empfehlen, komme aber nicht weiter. Aktuell funktioniert die Interaktion mit neuem Content ganz gut (sonst würdet ihr das hier nicht lesen), aber der Backlog wächst und wächst. Im friendica.log sehe ich alle paar Minuten einen Eintrag der Art 2026-02-22T21:39:51Z worker [ERROR]: DB Error {"code":1406,"error":"Data too long for column 'description' at row 1","params":"INSERT INTO `post-media` (`uri-id`, `url`, `media-uri-id`, `type`, `mimetype`, `description`, `name`, `author-url`, `author-name`, `author-image`, `publisher-url`, `publisher-name`) VALUES und danach ein unheimlich langer Post. Kam noch nicht drauf wo die eigentlich herkommen. In Mariadab ist das Feld "description" aber eh schon "text", wobei es tatsächlich sein kann dass diese Posts länger als 65536 Zeichen sind. Das System ist noch nicht am I/O-Bottleneck (iostat sagt ca. 40 % Auslastung, ca 10 % iowaits), eher ist CPU-Last das Problem. Allerdings kam ich in vergangenen Zeiten wenn so etwas war immer nach einem Tag oder so wieder auf Werte unter 100 im Backlog und frage mich warum diesmal nicht. Wo könnte mir hier noch irgendwas in die Suppe spucken?
2
utzer · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqus98k0a02l7a0ucced0d3rpuyc6xuj2gw0kj0rjeehqmjm6mp8hsxtygww kam auf jeden Fall an. Ich denke das wäre jetzt kein Grund kein Backup zu machen und das Upgrade anzustoßen. Es sind nur Worker Tasks, die sind nicht so wichtig. Das Posts zu lang f...
Tobias Ernst · 2w
Ich denke, ich komme dem Problem auf die Schliche. Bei einem OPTIMIZE Versuch in MariaDB erhalte ich: -> | friendica.storage | optimize | error | The table 'storage' is full -> | friendica.storage | optimize | status | Operation failed Mein System war zuvor von 10000 auf 10000 offene Wo...