From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21098 invoked from network); 18 Jan 2022 00:32:54 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 18 Jan 2022 00:32:54 -0000 Received: from 5ess.inri.net ([107.191.111.177]) by 4ess; Mon Jan 17 19:23:14 -0500 2022 Received: from [127.0.0.1] ([104.59.85.219]) by 5ess; Mon Jan 17 19:23:13 -0500 2022 Date: Tue, 18 Jan 2022 00:23:11 +0000 From: Stanley Lieber To: 9front@9front.org In-Reply-To: <007A53332EF4CE66F77C916DC6584D7A@gmail.com> References: <007A53332EF4CE66F77C916DC6584D7A@gmail.com> Message-ID: <4C3A2C43-2475-4B7C-9BF1-B8C01D38680E@stanleylieber.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: stateless proven grid NoSQL module persistence-based control Subject: Re: [9front] werc comments egine Reply-To: 9front@9front.org Precedence: bulk On January 17, 2022 11:47:00 PM UTC, thinktankworkspaces@gmail=2Ecom wrote: >So I deleted everything and started over=2E Its working now but I still r= an into a few problems=2E=20 > >So you need to log in in order to add a comment=2E When I log in I still = get an error writing data=2E=20 > >Auth: success >umask: '/bin/umask' directory entry not found >mkdir: can't create sites/cirno/_werc/comments: 'sites/cirno/_werc/commen= ts' access permission denied >ERROR XXX: Could not create comment: mkdir 57899: error >cirno/ - Mozilla/5=2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/60= 5=2E1=2E15 (KHTML, like Gecko) Version/15=2E2 Safari/605=2E1=2E15 - POST - = md_handler sites/cirno/index=2Emd - lib/default_master=2Etpl >Mon Jan 17 14:54:06 PST 2022 :: cirno :: POST / HTTP/1=2E1 :: Mozilla/5= =2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605=2E1=2E15 (KHTML, l= ike Gecko) Version/15=2E2 Safari/605=2E1=2E15 :: 200 :: http://cirno/ >tee: cannot open /tmp/fltr_cache/8abfe6173693d0f2edb5404b78cd9aa804db02d6= /57917: '/tmp/fltr_cache' does not exist >mv: can't stat /tmp/fltr_cache/8abfe6173693d0f2edb5404b78cd9aa804db02d6/5= 7917: '/tmp/fltr_cache' does not exist >Auth: success >Mon Jan 17 14:54:07 PST 2022 :: cirno :: GET /pub/style/style=2Ecss HTTP/= 1=2E1 :: Mozilla/5=2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605= =2E1=2E15 (KHTML, like Gecko) Version/15=2E2 Safari/605=2E1=2E15 :: 200 :: = http://cirno/ > >Not really sure why I get this error=2E The user www should have full acc= ess to everything=2E However I suspect >an issue with one of the files /bin/umask does not exist in plan9=2E So I= did a grep to search for it >I found it in two areas=2E=20 > >/usr/www/werc/apps/bridge/app=2Erc:88=2E I would comment it out >I also belive app=2Erc:91 is incorrect >I think app=2Erc:91 should be >mkdir -p $dir && > >Auth: success >sites/cirno/_werc/comments/1642460857/user: =2E/apps/bridge/app=2Erc:93: = can't open: 'sites/cirno/_werc/comments' does not exist >Mon Jan 17 15:07:37 PST 2022 :: cirno :: POST / HTTP/1=2E1 :: Mozilla/5= =2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605=2E1=2E15 (KHTML, l= ike Gecko) Version/15=2E2 Safari/605=2E1=2E15 :: 200 :: http://cirno/ > >I still got another error=2E I guess you need to create the directory 'co= mments' in sites/cirno/_werc/ > >so I had to manually run >mkdir -p comments while in sites/cirno/_werc/ directory and then run >chmod 777 comments > >Not exactly happy about that but it works=2E=20 > >Wiki is also another issue and required the following > >mkdir -p sites/cirno/index=2Emd_werc >chmod 777 index=2Emd_werc >chmod 777 index=2Emd > >I also had to remove umask from apps/dirdir/app=2Erc > >So two directories are 777 and one file=2E But now my other plan9 users c= an make changes not that I have >any users but this is kind of bad=2E=20 sorry i haven't had time to look into this more closely yet, but i run all= the werc apps on 9front under rc-httpd, and they all work without modifica= tion=2E most of the errors generated by missing unix commands can be safely= ignored *if things are working*=2E werc was written on linux, and mostly a= ssumes you are running some flavor of plan9port tools on a unix=2E i will h= ave to look into apps/ further to see if some of these errors can be trimme= d=2E your errors about the missing directories indicate whatever user is execut= ing werc (whomever rc-httpd is running as) does not have permission to crea= te those missing directories, so is failing=2E how are you launching rc-htt= pd, exactly? the path werc/sites/cirno also seems questionable=2E the directories under= sites/ are meant to correspond to domain names=2E sl