Note that the root cause of this issue is https://github.com/YunoHost-Apps/shaarli_ynh/issues/45 and https://github.com/YunoHost/issues/issues/1390
The current workaround is to
rm -r /var/www/shaarli/data/log.txt
touch /var/www/shaarli/data/log.txt
I’m gonna work on an actual fix for this today because I’m kinda sick of seeing people encountering this again and again …