Re: readonly database on new installation
Apparently outright disabling selinux is required. On Sunday, May 17, 2015 at 3:11:39 PM UTC-5, Justin Georgeson wrote: > > Also, I did run the two setsebool commands from the Creating a Review > Board Site doc. > > On Sunday, May 17, 2015 at 3:05:26 PM UTC-5, Justin Georgeson wrote: >> >> I just setup 2.0.15 on Fedora 21 using sqlite (to play around with >> writing some API integrations for other tools) and am seeing errors that >> the db is readonly. I've confirmed the db folder/file are owned and >> writable by the same user as the httpd server. >> >> [justin@playground ~]$ ps faux | grep httpd >> >> >> justin2339 0.0 0.1 113000 2384 pts/0S+ 14:55 0:00 >> \_ grep --color=auto httpd >> >> root 1683 0.0 0.4 236192 9156 ?Ss 10:15 0:02 >> /usr/sbin/httpd -DFOREGROUND >> >> apache1803 0.0 0.5 240504 11004 ?S10:35 0:00 \_ >> /usr/sbin/httpd -DFOREGROUND >> >> apache1804 0.0 0.5 240504 11004 ?S10:35 0:00 \_ >> /usr/sbin/httpd -DFOREGROUND >> >> apache1805 0.0 0.5 240504 11004 ?S10:35 0:00 \_ >> /usr/sbin/httpd -DFOREGROUND >> >> apache1946 0.0 0.5 240504 11004 ?S10:35 0:00 \_ >> /usr/sbin/httpd -DFOREGROUND >> >> apache1947 0.0 0.5 240504 11004 ?S10:35 0:00 \_ >> /usr/sbin/httpd -DFOREGROUND >> >> [justin@playground ~]$ ll /var/lib/reviewboard/sites/playground/ >> >> >> total 20 >> >> >> drwxr-xr-x. 2 root root 4096 May 17 10:15 conf >> >> >> drwxr-xr-x. 2 apache apache 4096 May 17 10:08 data >> >> >> drwxr-xr-x. 4 root root 4096 May 17 14:52 htdocs >> >> >> drwxr-xr-x. 2 root root 4096 May 17 10:08 logs >> >> >> drwxrwxrwx. 2 root root 4096 May 17 10:08 tmp >> >> >> [justin@playground ~]$ ll /var/lib/reviewboard/sites/playground/data >> >> >> total 336 >> >> >> -rw-r--r--. 1 apache apache 340992 May 17 10:08 reviewboard.db >> >> >> >> >> What else might I check? >> > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: readonly database on new installation
Also, I did run the two setsebool commands from the Creating a Review Board Site doc. On Sunday, May 17, 2015 at 3:05:26 PM UTC-5, Justin Georgeson wrote: > > I just setup 2.0.15 on Fedora 21 using sqlite (to play around with writing > some API integrations for other tools) and am seeing errors that the db is > readonly. I've confirmed the db folder/file are owned and writable by the > same user as the httpd server. > > [justin@playground ~]$ ps faux | grep httpd > > > justin2339 0.0 0.1 113000 2384 pts/0S+ 14:55 0:00 >\_ grep --color=auto httpd > > root 1683 0.0 0.4 236192 9156 ?Ss 10:15 0:02 > /usr/sbin/httpd -DFOREGROUND > > apache1803 0.0 0.5 240504 11004 ?S10:35 0:00 \_ > /usr/sbin/httpd -DFOREGROUND > > apache1804 0.0 0.5 240504 11004 ?S10:35 0:00 \_ > /usr/sbin/httpd -DFOREGROUND > > apache1805 0.0 0.5 240504 11004 ?S10:35 0:00 \_ > /usr/sbin/httpd -DFOREGROUND > > apache1946 0.0 0.5 240504 11004 ?S10:35 0:00 \_ > /usr/sbin/httpd -DFOREGROUND > > apache1947 0.0 0.5 240504 11004 ?S10:35 0:00 \_ > /usr/sbin/httpd -DFOREGROUND > > [justin@playground ~]$ ll /var/lib/reviewboard/sites/playground/ > > > total 20 > > > drwxr-xr-x. 2 root root 4096 May 17 10:15 conf > > > drwxr-xr-x. 2 apache apache 4096 May 17 10:08 data > > > drwxr-xr-x. 4 root root 4096 May 17 14:52 htdocs > > > drwxr-xr-x. 2 root root 4096 May 17 10:08 logs > > > drwxrwxrwx. 2 root root 4096 May 17 10:08 tmp > > > [justin@playground ~]$ ll /var/lib/reviewboard/sites/playground/data > > > total 336 > > > -rw-r--r--. 1 apache apache 340992 May 17 10:08 reviewboard.db > > > > > What else might I check? > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
readonly database on new installation
I just setup 2.0.15 on Fedora 21 using sqlite (to play around with writing some API integrations for other tools) and am seeing errors that the db is readonly. I've confirmed the db folder/file are owned and writable by the same user as the httpd server. [justin@playground ~]$ ps faux | grep httpd justin2339 0.0 0.1 113000 2384 pts/0S+ 14:55 0:00 \_ grep --color=auto httpd root 1683 0.0 0.4 236192 9156 ?Ss 10:15 0:02 /usr/sbin/httpd -DFOREGROUND apache1803 0.0 0.5 240504 11004 ?S10:35 0:00 \_ /usr/sbin/httpd -DFOREGROUND apache1804 0.0 0.5 240504 11004 ?S10:35 0:00 \_ /usr/sbin/httpd -DFOREGROUND apache1805 0.0 0.5 240504 11004 ?S10:35 0:00 \_ /usr/sbin/httpd -DFOREGROUND apache1946 0.0 0.5 240504 11004 ?S10:35 0:00 \_ /usr/sbin/httpd -DFOREGROUND apache1947 0.0 0.5 240504 11004 ?S10:35 0:00 \_ /usr/sbin/httpd -DFOREGROUND [justin@playground ~]$ ll /var/lib/reviewboard/sites/playground/ total 20 drwxr-xr-x. 2 root root 4096 May 17 10:15 conf drwxr-xr-x. 2 apache apache 4096 May 17 10:08 data drwxr-xr-x. 4 root root 4096 May 17 14:52 htdocs drwxr-xr-x. 2 root root 4096 May 17 10:08 logs drwxrwxrwx. 2 root root 4096 May 17 10:08 tmp [justin@playground ~]$ ll /var/lib/reviewboard/sites/playground/data total 336 -rw-r--r--. 1 apache apache 340992 May 17 10:08 reviewboard.db What else might I check? -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.