#known 2020-04-23

2020-04-23 UTC
kino, [jgmac1106], seekr, [Kevin_Faaborg], [fluffy], [chrisaldrich] and [Aaron_Klemm] joined the channel
#
[Aaron_Klemm]
Is Known best run at root or in a subdirectory? pros and cons?
alexmingoia[dot], alexmingoia-dot-, alexmingoia, [KevinMarks], loicm, [LewisCowles], [chrisaldrich], [tw2113] and MeganWillia joined the channel
#
[LewisCowles]
I've only ever run it as root
#
[LewisCowles]
i.e. in `/`
#
[LewisCowles]
not as the root user 😉
[mapkyca] joined the channel
#
[mapkyca]
Subdirectories work, but root is the most well trodden path.
#
Loqi
mapkyca has 19 karma in this channel over the last year (23 in all channels)
#
[LewisCowles]
is there a new push to the PR on splitting metadata? I checked earlier didn't notice
AliceWndr, alexmingoia, itsme1 and [jgmac1106] joined the channel
#
[jgmac1106]
[Aaron_Klemm] I have token issues with micropub we think is caused by subdirectory and not root
[mapkyca] joined the channel
#
[mapkyca]
Well, there’s the one where I actually load the update schema.
loicm, [jeremycherfas], [jgmac1106], itsme1 and [grantcodes] joined the channel
#
[jgmac1106]
hey all I know I have gone in a file to add extra iframe src I consider safe, but I need to add on to block old iframes from zeega.com they are taking over this site: http://rhizo15.jgregorymcverry.com/ anyone know what files that is where I do iframe permissions?
#
[jgmac1106]
mapkyca++ for helping me in another channel, going to try and completely reinstall my my Known website, I think between so many cPanel intalls, FTP, composers..thing just got screwy
#
Loqi
mapkyca has 20 karma in this channel over the last year (24 in all channels)
[jgarber] and [LewisCowles] joined the channel
#
[LewisCowles]
I'll re-deploy from master and retry the patch
[KevinMarks], plutes, seekr, [tw2113] and [mapkyca] joined the channel
#
[mapkyca]
Built a postgres docker build and rolled up, seemed to work
#
[LewisCowles]
Right but the things I raised only work when included in a greenfield build.
#
[LewisCowles]
In an update scenario is where they were hurting.
#
[LewisCowles]
Easiest way to check that in docker is to export a database (careful as for whatever reason it seems to write config there)
#
[mapkyca]
not sure I follow - what problems were you seeing? Rollup was my worry, fresh db seems to be fine for me
jamietanna and [Aaron_Klemm] joined the channel
#
[Aaron_Klemm]
Thanks for the definitive advice on directory placement. Very helpful, y’all!
[tantek] joined the channel
#
[LewisCowles]
So if the data is not migrated to the tables or sends duplicates, subtle bugs could appear. It's unfortunate, but a case I think for a one-time patch. Right now I'm being hampered by another system, but I will check out Known as soon as I can get the other system to do as it's told
[snarfed], Zegnat, sknebel, jamietanna and [mapkyca] joined the channel
#
[mapkyca]
Not sure why you’d be seeing duplicates, or are you saying that the changes are resulting in duplicates?
[LewisCowles] joined the channel
#
[LewisCowles]
I was seeing duplicate name and _id's I still need to export them so I can see if the values are also duplicate
#
[LewisCowles]
it's why I suggested adding the constraint
#
[LewisCowles]
but I remember you saying that the constraint might break array storage. I've not had a chance to look today at all
#
[mapkyca]
If you’re seeing duplicates on save that rather implies that the engine’s delete metadata query is failing. I’ll take a look to see if I can spot something obvious
#
[mapkyca]
Just checked, and arrays and objects are serialised, so a unique constraint shouldn’t cause a fault (although I still think that duplicates are indicative of a problem elsewhere).
#
[mapkyca]
(of course serialising presents its own problems as JSON wasn’t handled natively until recently, so I suspect this may just have been done to avoid errors… so long ago, and I can’t recall if I wrote this bit)
#
[mapkyca]
A unique constraint may make sense…. I’ll sleep on it
loicm, [chrisaldrich] and [Aaron_Klemm] joined the channel
#
[Aaron_Klemm]
Are there instructions for nginx installs? Any tips?
#
[Aaron_Klemm]
Of course I'm hoping it's not too hard of a translation from Apache.