IRC log of #dokuwiki @ irc.freenode.net For Wednesday, 18 March 2020 skip to navigation
00:03:57 quit theoceaniscool (~firstname.lastname@example.org) has quit (Ping timeout: 250 seconds) 02:00:30 quit ksaok (~email@example.com) has quit (Ping timeout: 256 seconds) 02:51:39 join ksaok (~firstname.lastname@example.org) has entered the channel 03:58:22 quit ced117 (~ced117@opensuse/member/ced117) has quit (Ping timeout: 256 seconds) 04:00:08 join ced117 (~ced117@opensuse/member/ced117) has entered the channel 05:05:12 join capn_ (~email@example.com) has entered the channel 05:08:04 quit capn (~firstname.lastname@example.org) has quit (Ping timeout: 246 seconds) message at 06:28:19 #dokuwiki Unfortunately I have to leave you now. So don't do anything silly while I'm not here. message at 06:28:21 #dokuwiki Unfortunately I have to leave you now. So don't do anything silly while I'm not here. 06:28:54 join dokubot (~email@example.com) has entered the channel 08:40:50 join micgro42 (~firstname.lastname@example.org) has entered the channel 10:08:18 quit DalekSec (unit193@freenode/staff/ubuntu.member.unit193) has quit (Ping timeout: 268 seconds) 10:31:53 join DalekSec (unit193@freenode/staff/ubuntu.member.unit193) has entered the channel 10:35:25 quit SM0TVI (~sm0tvi@unaffiliated/sm0tvi) has quit (Read error: Connection reset by peer) 10:37:23 join SM0TVI (~sm0tvi@unaffiliated/sm0tvi) has entered the channel 11:04:41 join nurupo_ (~nurupo.ga@unaffiliated/nurupo) has entered the channel 11:04:48 quit nurupo (~nurupo.ga@unaffiliated/nurupo) has quit (*.net *.split) 11:06:13 nick nurupo_ is now known as nurupo 11:50:39 quit StathisA (~StathisA@unaffiliated/stathisa) has quit (Ping timeout: 246 seconds) 11:54:20 join StathisA (~StathisA@unaffiliated/stathisa) has entered the channel 14:15:56 quit StathisA (~StathisA@unaffiliated/stathisa) has quit (Ping timeout: 250 seconds) 14:24:52 join StathisA (~StathisA@unaffiliated/stathisa) has entered the channel 14:44:36 quit tom314159 (~email@example.com) has quit (Ping timeout: 246 seconds) 16:17:21 join annapurna (~firstname.lastname@example.org) has entered the channel message at 16:19:33 annapurna good morning. message at 16:21:45 annapurna i'm doing a fresh install (my first) of dokuwiki. i'm getting the "./data/pages is not found." error. my permissions seem fine. i've chowned http:http recursively. i'm using nginx on archlinux but installed with a downloaded tarball instead of the arch linux package. message at 16:22:14 annapurna dokuwiki package, specifically. message at 16:23:49 annapurna could someone help me with this? (thanks) 16:26:47 privmsg Thanks for talking to me but I'm just a humble ircbot of #dokuwiki. 16:26:47 privmsg If you want to know more about me write in the channel 'dokubot help'. 16:27:07 privmsg Thanks for talking to me but I'm just a humble ircbot of #dokuwiki. 16:27:07 privmsg If you want to know more about me write in the channel 'dokubot help'. message at 16:31:47 micgro42 from where did you download that tarball? message at 16:32:16 micgro42 annapurna ^ message at 16:33:01 annapurna hi micgro42 message at 16:33:04 annapurna https://download.dokuwiki.org/ message at 16:33:16 micgro42 cool ðŸ‘ message at 16:33:29 annapurna no extra language packs. a few plugins. message at 16:33:31 annapurna :) message at 16:33:35 micgro42 did you open the install.php in your Browser? message at 16:33:39 annapurna yep message at 16:34:05 annapurna that's where the DokuWiki Setup Error is being displayed. message at 16:34:16 micgro42 ah, I see message at 16:34:42 micgro42 in your dokuwiki directory, is there a `data` directory? message at 16:34:55 annapurna yes message at 16:35:42 annapurna /usr/share/nginx/webapps/dokuwiki/data/pages message at 16:36:40 annapurna drwxr-xr-x 12 http http 4.0K Mar 18 08:03 data/ message at 16:37:03 micgro42 ðŸ¤” message at 16:37:23 annapurna permission command i ran on extracted dir: sudo chown -R http:http dokuwiki/ message at 16:37:45 micgro42 seems reasonable message at 16:37:51 annapurna yeah... i've been scratching my head on this for a while too. message at 16:44:15 annapurna my current nginx.conf for dokuwiki: https://pastebin.com/Dt9PMZpB message at 16:50:56 micgro42 have you double checked that "http" is really the nginx user on your system and not maybe the apache user that you selected out of habit? (something that would totally happen to me) message at 16:51:23 annapurna tee hee message at 16:52:28 annapurna https://pastebin.com/SfSjH6sE message at 16:53:02 annapurna but, just to say, on previous restarts, i did brute force chmod -R 777 and still had the same result. message at 16:55:35 micgro42 mh, ok. message at 16:55:46 micgro42 could you copy the exact error message you are getting? message at 16:56:01 annapurna sure :) message at 16:57:13 annapurna https://pastebin.com/FM0hEZZx message at 17:09:04 micgro42 mh, we really could do a better job with error reporting here. Anyway. How comfortable are you with PHP? ðŸ˜… message at 17:09:16 annapurna tee hee message at 17:09:31 micgro42 in inc/init.php there is a method called init_path message at 17:09:40 annapurna it's been a while. but i can get around. message at 17:09:50 micgro42 could you replace it with the following: https://pastebin.com/ui0quted message at 17:10:04 annapurna oh sure message at 17:10:15 micgro42 if you compare them, you will see that I'm merely throwing some extra errors that should show up in your log message at 17:16:21 annapurna here's the diff to make sure i did it right: https://pastebin.com/hrYAefPL message at 17:16:41 annapurna the page isn't working with the modified code. message at 17:16:46 annapurna where can i find the log file? message at 17:18:02 annapurna oops. i totally messed that up. message at 17:18:04 annapurna one sec... message at 17:22:45 annapurna re-did the replace. page is working. stilling looking for logs that contain the errors. message at 17:23:47 annapurna journalctl has them. one sec... message at 17:25:21 annapurna finally :) message at 17:25:24 annapurna Mar 18 09:22:02 niyama nginx: 2020/03/18 09:22:02 [error] 56312#56312: *6 FastCGI sent in stderr: "PHP message: PHP Warning: Directory ./data/pages found at /usr/share/nginx/webapps/dokuwiki/data/pages, but it is not writable by webserver. in /usr/share/nginx/webapps/dokuwiki/inc/init.php on line 359" while reading response header from upstream, client: 127.0.0.1, server: wiki.niyama, message at 17:25:26 annapurna request: "GET /install.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "wiki.niyama", referrer: " http://wiki.niyama/install.php" message at 17:25:36 annapurna hmmm message at 17:25:39 annapurna that's strange message at 17:27:12 annapurna i get that even if i brute force the permissions: sudo chmod -R 777 dokuwiki/ message at 17:29:52 micgro42 mh, we are seriously leaving the area of my expertise here. But I found this comment in the forum: https://forum.dokuwiki.org/post/63796 message at 17:30:01 annapurna clicky message at 17:30:30 micgro42 I've never dealt with selinux to understand what is going on. But if none of the things that I understand are the cause, maybe that is? ðŸ˜… message at 17:31:37 annapurna tee hee message at 17:32:45 annapurna i don't think that's the problem here. i did find that posting early too. but i'm not using selinux. message at 17:33:06 annapurna i'm running arch. message at 17:33:54 annapurna thank you so much for trying though. i really appreciate the help. :) message at 17:34:34 annapurna hmmm... i wonder if this is a php setup issue. message at 17:35:03 annapurna i read earlier this morning that php has some controls on what directories it will allow scripts to write in. message at 17:35:09 micgro42 Sorry that I cannot help more message at 17:35:17 micgro42 there is that thing strict mode message at 17:36:47 annapurna session.use_strict_mode = 0 message at 17:40:10 annapurna i'm not using open_basedir either. 17:41:40 quit baker0052 (~baker0052@p5B34FC4C.dip0.t-ipconnect.de) has quit (Ping timeout: 256 seconds) message at 17:43:14 annapurna this looks promising: https://stackoverflow.com/questions/59753304/nginx-and-php-no-write-permissions message at 17:43:28 annapurna my dokuwiki install is in a sub of /usr message at 17:43:34 annapurna following links... 17:44:32 join baker0052 (~baker0052@p5B34FC4C.dip0.t-ipconnect.de) has entered the channel message at 17:45:28 annapurna it's a php 7.4 issue message at 17:46:12 micgro42 o.O message at 17:46:35 micgro42 good find message at 17:46:54 annapurna trying the simple solution of installing outside /usr message at 17:46:55 micgro42 yay for breaking changes in minor versions message at 17:47:10 micgro42 ðŸ¤ž message at 17:47:14 annapurna lol message at 17:47:39 annapurna this is definitely one for the faq or install guide. message at 17:47:51 annapurna moving dir now... message at 17:50:01 annapurna success!!! message at 17:50:46 annapurna i actually just did a fresh tarball extract, chmod http:http, updated my nginx conf to point to the new location, and restart nginx. message at 17:50:54 annapurna working as expected. message at 17:51:03 micgro42 Yay :D message at 17:51:19 annapurna :D message at 17:54:43 annapurna hmmm... how should i notify the maintainers of this issue? i could file a bug. or will this thread in the irc logs be enough? message at 18:11:58 micgro42 Well, if you are up for it, then you could change the install guide yourself. It's a wiki :) message at 18:13:09 micgro42 otherwise, I'll do it once I get around to it message at 18:14:13 micgro42 I plan to open a ticket on GitHub about better error reporting in this method, maybe make a pull request as well message at 18:14:32 micgro42 (and then link here and the SO answer you found) message at 18:17:42 annapurna ah. great. message at 18:18:11 annapurna right now, i'm playing with the wiki and creating pages. learning the syntax. message at 18:18:40 annapurna probably a note under installing from a tgz. 20:24:12 join theoceaniscool (~email@example.com) has entered the channel
Powered by a homemade, experimental IRC logger written in Perl, PHP and MySQL.
A splitbrain.org service.