Skip to main content


 

Git(hub)-Intro-Vortrag


Hier dieser Talk, von dem wir gerade sprachen.
Git für Anfängerinnen und Anfänger Audio-Recording: https://chemnitzer.linux-tage.de/2016/de/programm/beitrag/259
Die Folien dazu: https://www.heinlein-support.de/sites/default/files/igitt-git-fuer-anfaengerinnen.pdf
@Susanne @hoergen
Vielen Dank und auch für die tollen Erklährungen und das zeigen auf der Shell.



 

Fixing Vagrant


I am trying to repare the vagrant machine for Friendica. It runs an Ubuntu 16.04 wth PHP 7.0.22. It started quite a wile ago: PHP's memory consumption makes the VM run into OOM. I gave increased the VM's memory to 2048 MB and played with the amount of memory for php scripts. Given that people run Friendica on Raspberry Pies, this seems a bit strange to me. This is what I get:

192.168.22.10.xip.io-error.log:[Mon Sep 04 15:32:35.394463 2017] [:error] [pid 2072] [client 192.168.22.1:51270] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /vagrant/include/dba.php on line 575
192.168.22.10.xip.io-error.log:[Mon Sep 04 15:33:22.662839 2017] [:error] [pid 2073] [client 192.168.22.1:51290] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /vagrant/include/dba.php on line 522

Any ideas?

@Friendica Developers

I created a fresh dump. I noticed that the default charset is now uft8 while it used to be utf8mb4 when I last dumped it.

Same for my backup dumps. Looking at at the code I think it should be UTF8mb4 @Michael Vogel

I looked into the wrong dump :facepalm recent dumps are utf8mb4, which sounds better to cite @Michael Vogel

I was thinking, is it bad to have "only" utf8 in the Vagrant VM? I mena it's for devels, mostly for frontend stuff and maybe some addon development. @Michael Vogel @Silke



 
Hallo Welt? Ich bin umgezogen auf snarl.de! Seid Ihr da?
Help us to cover the server costs for snarl.de
Click here to lend your support to: Help us to cover the server costs for snarl.de!