Skip to main content


Hello !Friendica Support
I updated my two #Friendica servers to 03.2024 some days ago, the db update and the postupdate tasks on server A were still running today, I stopped them and restarted them now, it seems it takes quite long.

On the other server (B) I get the following error in cli:
[Error] Cannot get cache entry with key openstreetmap:Rungestraße 20, Berlin

I execute this commands:

git fetch
git pull
bin/composer.phar install --no-dev
cd addon
git fetch
git pull
cd ..
bin/console dbstructure update
bin/console postupdate

Happy for any tips how to solve that error.

Server A shows the following in /friendica:

This is Friendica, version 2024.03 that is running at the web location https://social.yl.ms. The database version is 1557/1557, the post update version is 1544/1550.

Server B shows the following in /friendica:

This is Friendica, version 2024.03 that is running at the web location https://friendica.utzer.de. The database version is 1557/1557, the post update version is 1507/1550.
in reply to utzer [Friendica]

OK, server A stopped with an error as well:
[Error] Table 'friendica.post-view' doesn't exist
in reply to utzer [Friendica]

The postupdate will run for several days, that is totally expected. But you can use your system in that time. Only the search won't really work. Execute bin/console dbstructure update again and see if this returns immediately and f your system is responsive then.
in reply to Michael Vogel

@Michael Vogel will these error during postupdate be a problem? The error on server B already was shown 3 times.

[Error] Cannot get cache entry with key openstreetmap:Rungestraße 20, Berlin

dbstructure update finished, when I run it again it just takes 5 seconds and no error is shown, also dryrun comes back empty.

This entry was edited (2 weeks ago)
in reply to utzer [Friendica]

That "cache entry" error is irrelevant for this situation. Does the system work at the moment or doesn't it? If it doesn't, then try bin/console dbstructure update -f.
in reply to Michael Vogel

@Michael Vogel it works, no problems. So I'll try to be patient and postupdate will somehow start and run and at some point finish? It won't run when I execute bin/console postupdate, but I understand it will anyway be started and run.

So I don't need to force the dbstructure update, the version is already ok and I don't see any problem too.

in reply to Michael Vogel

@Michael Vogel ich muss nochmal fragen, postupdate ausführen bringt nichts, weil das direkt mit dem Error beendet, also meinst du dbstructure update -f?
in reply to utzer [Friendica]

Okay. Das heißt, das Kommando bricht sofort ab? Spannend. Welcher der Server macht das? Wie ist da die Post-Update Version?
in reply to Michael Vogel

@Michael Vogel

social.yl.ms

bin/console postupdate
Überprüfe ausstehende Update-Aktionen
Erledigt.
Ausstehende Post-Updates ausführen
[Error] Cannot get cache entry with key openstreetmap:Rungestraße 20, Berlin
 total

läuft für ca. 14s.

This is Friendica, version 2024.03 that is running at the web location https://social.yl.ms. The database version is 1557/1557, the post update version is 1544/1550.

friendica.utzer.de

Ich füge noch ein wie lange das postupdate läuft, ein paar Minuten oder so, es läuft gerade nochmal.

This is Friendica, version 2024.03 that is running at the web location https://friendica.utzer.de. The database version is 1557/1557, the post update version is 1507/1550.

in reply to utzer [Friendica]

Auf friendica.utzer.de ist das Post-Update noch bei 1507, d.h. es hat noch einiges vor sich. Das sollte noch zig Stunden dauern. Wenn es sich vorher beendet, läuft was schief.

Kannst Du auf social.yl.ms das 'openstreetmap` addon deaktivieren und es dann erneut versuchen?

in reply to Michael Vogel

@Michael Vogel ok, hab mal auf beides OSM Addon deaktiviert, so wichtig ist das nicht und auf social.yl.ms nochmal neu gestartet, auf friendica.utzer.de läuft es auch immer noch.
in reply to utzer [Friendica]

@Michael Vogel laufen beide immer noch, also social.yl.ms nachdem ich es nochmal gestartet habe und das andere schon seit dem ersten Start vor 1 1/2 Stunden.

Gute Nacht, schönen Abend noch.

in reply to utzer [Friendica]

@Michael Vogel bei social.yl.ms lief es für 31 Stunden, dann stoppte es ohne Fehler, die postupdate Version ist immer noch 1544/1550, hab jetzt nochmal neu gestartet.

Auf friendica.utzer.de läuft es noch immer, postupdate immer noch 1507/1550.

This entry was edited (1 week ago)
in reply to utzer [Friendica]

Solange es noch weiter läuft und nicht direkt beim erneuten Start abbricht, ist alles i.O.
in reply to utzer [Friendica]

@Michael Vogel auf social.yl.ms war es ja fertig, auf Friendica.utzer.de läuft es immer noch weiter.

Kann ich irgendwie prüfen ob es wirklich was macht? In der Konsole erscheint immer mal wieder ein neuer Punkt und das seit 7 Tagen oder so.

Ist es schlimm wenn ich das unterbreche und neu starte?

This entry was edited (6 days ago)
in reply to utzer [Friendica]

Solange ein Punkt erscheint, macht das System ja etwas. Das kannst Du jederzeit unterbrechen, dann geht es im Hintergrund weiter. Aber so oder so empfehle ich Dir, das System mal bezüglich der Leistung zu untersuchen, d.h. schau mal, ob es da Engpässe (z.B. in der SQL-Konfiguration) gibt.