#known 2019-07-11

2019-07-11 UTC
[KevinMarks], [schmarty], [dougbeal] and chrisaldrich joined the channel
#
nekr0z
Ohhh, this looks bad. Remember a day or two ago I complained about some posts not being searchable? I've nailed it down: as soon as a post receives a like, it loses the search field in the database and becomes unsearchable. Anything I can debug/trace before I open an issue?
[tantek] and [mapkyca] joined the channel
#
[mapkyca]
Not sure why that would happen, but it sounds like something might be wiping the search field on update. Are you able to push a failing test based on this new information?
#
nekr0z
That would be waaay beyond my current php knowledge, but I am willing to invest my spare time, as soon as I have any, in learning how to do this. So no, I'm not able to do it now, I hope I will be able in forseeable future, but not yet sure how far that future might be. :-D
jgmac1106 and nekr0z joined the channel
#
[mapkyca]
No worries! Couple of other questions then: does this happen only with a webmention like, or a star through the interface? Does it occur only with likes, or do comments do it too?
[fluffy] and [KevinMarks] joined the channel
#
[KevinMarks]
Is the like shown as an emoji? That could fit the utf8mb4 problem
mapkyca_, jgmac1106, [schmarty], [tantek] and [KevinMarks] joined the channel
#
AkyRhO
I'm trying to install Known on a DigitalOcean droplet right now
#
AkyRhO
everything seemed to be fine
#
AkyRhO
but when I tried to reach my domain with my browser
#
AkyRhO
i got this error
#
AkyRhO
PHP Fatal error: Uncaught Error: Call to undefined method WebInstaller::template() in /var/www/html/warmup/WebInstaller.php:18\nStack trace:\n#0 /var/w
#
AkyRhO
ww/html/warmup/WebInstaller.php(223): WebInstaller->__construct()\n#1 /var/www/html/warmup/index.php(14): WebInstaller::installer()\n#2 {main}\n thrown in /var/www/html/warmup/WebInstaller.php on line 18
#
AkyRhO
I had a look a the Issues on GitHub but i can't find anything relevant
#
AkyRhO
fyi I used the GitHub version
#
AkyRhO
any idea?
#
mapkyca_
Are you installing from package or composer?
#
mapkyca_
s/composer/github
#
mapkyca_
If GitHub you'll probably need to run composer install to install dependencies and build the classloader
#
AkyRhO
mapkyca_: i checked out the project from GitHub, and ran `composer install` already
#
mapkyca_
It's possible that the web installer has been broken somewhere along the line, I'll take a look
MrKapowski joined the channel
#
MrKapowski
The installer is broken in the latest GitHub master. I ran into the same issue last week. You'll need to use the .zip from the Releases tab
[eddie] joined the channel
#
mapkyca_
Yeah, looks like the warmup/index.php hasn't been updated for composer, I'll push a fix later
#
AkyRhO
thanks
#
AkyRhO
is it just me or the release is missing the composer.json file?
#
AkyRhO
nevermind - apparantly I did not needed it
[xavierroy], [jgmac1106], [zach] and [spieper] joined the channel
#
[spieper]
What is considered the latest version right now? The one I'm running with is Version: 0.12.8+2019062801
[grantcodes] joined the channel
#
mapkyca_
AkyRhO web installer should now be working again in the latest build
#
mapkyca_
Spieper: latest is whatever is currently on GitHub, see above :)
#
AkyRhO
mapkyca_: installation went fine, thanks for your help
#
mapkyca_
Happy to help :)
jgmac1106 joined the channel
#
nekr0z
mapkyca_: Sorry for late reply, had day job to do. I only tested for webmentions, not web interface. And yes, both likes and comments do provoke the undesired behaviour.
[benatwork] joined the channel
[xavierroy] joined the channel
#
nekr0z
mapkyca_: and no, liking a post through web interface doesn't cause this behaviour, neither does commenting, so it's only webmentions that flush the search field
[schmarty], [grantcodes], [tantek] and [mapkyca] joined the channel
#
[mapkyca]
Weird. That means the webmention endpoint must be doing some fairly low level entity manipulation...
#
nekr0z
And I remember post disappearing from search all of a sudden long ago, so this is likely quite an old bug.
#
plindner[m]
Thanks Ben. Working at Google this is something I grapple with often. I like that you're focusing on the systems ands structure that enables the harms.
#
plindner[m]
Also Known's furl should consider using a small-image template when the linked image is small.
#
[benatwork]
Agree
#
nekr0z
mapkyca_: from what I see in the code actual webmention endpoint processing is done in Idno/Common/Entity.php, and there actually is a lot of "fairly low level entity manipulation"
jgmac1106, [snarfed], [grantcodes], [tantek] and dav joined the channel