#known 2018-01-29

2018-01-29 UTC
[eddie], [cleverdevil], tantek, jeremycherfas, [kevinmarks] and [mrkrndvs] joined the channel
#
Zegnat
Trying to do an installation from the latest master source, but it threw an error after the MySQL settings. Any known problems with current master code for installation? Or might it be my setup?
#
Zegnat
Ah, it is my setup. It is apparently mistakenly identifying Known as sitting in a subdir
#
Zegnat
Also found out why. I was using valet to serve Known, and the way valet handles the URL rewriting leaves PHP_SELF in a format not compatible with Known’s subdir support.
#
jeremycherfas
Glad you sorted it out. Beyond me. I'm currently working on something else entirely.
jeremych_, jeremycherfas, j12t, tantek, [jeremycherfas], [eddie], [cleverdevil], tantek1, [mrkrndvs], chrisaldrich and camb joined the channel
#
camb
After entering mysql and the upload directory during the Known installation the web-UI is giving me this error. We can't write data to /var/www/html/known.odat.xyz/Uploads/ - please check permissions and try again.
#
camb
What permissions am I supposed to check here?
#
Zegnat
The folder permissions on the server, whether the uploads folder is writable
#
Zegnat
I’ll depend on how you access the server, how you would do that. Shell access / FTP client / etc.
#
camb
thank you @zegnat
#
Zegnat
Been able to fix it? :)
#
camb
not yet.
#
Zegnat
Dropping this here in case anyone else is using valet for their local PHP environment. The BasicValetDriver doesn’t work for Known, but this should: https://gist.github.com/Zegnat/062adb3e1f0ed935035f0e4fd4c36ecd
#
camb
I got it.
#
camb
Where can I find the admin interface? It doesn't look like an admin account was created during the installation.
#
camb
Ah got it. mysite.com/admin
#
camb
Is the first account created the admin account then?
tantek joined the channel
#
Zegnat
Should be, yes
#
camb
regarding new user registration, are there any options to add captcha and/or email verification?
#
Zegnat
That I do not know. Haven’t played with open registration yet.
chrisaldrich joined the channel
#
camb
I see the Known website doesn't have automated open registration either.
#
camb
I copied the video plugin to my plugin directory. It then showed up in my admin panel and I enabled it. However I'm not seing the option to post or filter videos now. do I have to do anything else?
#
Loqi
[cweiske] withknownVideo: Simple video plugin for Known
#
camb
Same problem with the Review and Recipe plugins.
[cleverdevil] joined the channel
#
[cleverdevil]
So, I wrote the last two.
#
[cleverdevil]
You have them installed, but they're not showing up once you're logged in?
#
camb
yes @cleverdevil . They are not showing up as a post option or filter option.
#
[cleverdevil]
And you're sure you've activated them in Known?
#
camb
The default plugins did show up after I enabled them. (Like: audio, location, etc)
#
camb
Ah. when I click on enable they are not actually enabled.
#
[cleverdevil]
Interesting.
#
[cleverdevil]
That was my suspicion.
#
[cleverdevil]
Is this the latest Known from git?
#
[cleverdevil]
Or a release?
#
camb
I downloaded the package today.
#
[cleverdevil]
Strange that enabling a plugin doesn't work for you.
#
[cleverdevil]
You said that enabling the core plugins seemed to work, so I am wondering if there is an on-disk issue, like permissions or something.
#
[cleverdevil]
Make sure that all of the files in IdnoPlugins have the appropriate (and same) permissions and owners.
#
camb
The other plugins enabled just fine. and so did the video plugin (also it doesnt show anything)
#
camb
sudo chown -R www-data /var/www/ -> chmod -R 755 /var/www/
#
camb
did that just to make sure. but no changes as far as I can tell
#
camb
I get the message "plugin enabled" on the top of the page. But the plugin isn't marked as enabled.
#
camb
During my installation the Web UI showed that all requirements were satisfied.
#
[cleverdevil]
So strange.
#
[cleverdevil]
You're not having any other odd behavior?
#
[cleverdevil]
You can create posts, etc.?
#
camb
yes. I can create posts. Other stuff seems to work fine. What error log should I be looking into?
#
[cleverdevil]
Depends. But I’d check the Apache and PHP logs usually found in /var/log
[kevinmarks] joined the channel
#
camb
In my apache error log I'm only seeing something about the video plugin.
#
camb
Known (known.odat.xyz): error - Could not add /video/edit/([A-Za-z0-9]+)/?. \IdnoPlugins\Video\Pages\Edit not found, referer: http://known.odat.xyz/admin/plugins/
#
camb
a complete copy is here.
#
camb
oops. the copy of my error log is here.
[eddie] joined the channel