The webserver is actually running as the apache user. We are using Oracle Enterprise Linux 6, and SELinux is enabled. I had to get our IT department to make some changes to SELinux while installing MySQL and Apache. Are there any known things that I should check with regards to SELinux that I can relay to them?
On Wednesday, May 6, 2015 at 5:09:17 PM UTC-4, Christian Hammond wrote: > > Looks like your web server is running as root, which is bad. It really > should be using its own dedicated user. > > That's not the source of the problem, but it's something to be aware of. > > What Linux distro are you using? Any chance SELinux is enabled? If so, > that can cause this. > > Christian > > -- > Christian Hammond - [email protected] <javascript:> > Review Board - http://www.reviewboard.org > Beanbag, Inc. - http://www.beanbaginc.com > > On Wed, May 6, 2015 at 1:41 PM, Papaswede <[email protected] <javascript:> > > wrote: > >> Ok, I tried that and that got rid of one of the error messages (the one >> that was referencing an invalid path), but the other two are still there, >> and those two messages do reference a valid path. >> >> >> >> <https://lh3.googleusercontent.com/-t-njvjcyzEg/VUp7pYZL5ZI/AAAAAAAAALE/1p4V_TYGWkg/s1600/Manual_server_updates_required___Review_Board.png>That >> >> is what I'm seeing right now. Those two paths are accessible and valid, >> and I tried running the suggested command to update the permissions, but no >> luck. I've tried a bunch of different combinations of permissions on those >> folders, but nothing seems to work. >> >> >> On Wednesday, May 6, 2015 at 3:50:39 PM UTC-4, Christian Hammond wrote: >>> >>> Hi, >>> >>> If this is a copy of the database, and not a reference to the original >>> database, then you can use the commands in my prior e-mail to fix up the >>> path. It'll modify the settings stored in the database to reference the new >>> paths you specify. After you do that, you can restart Apache, and it should >>> begin to work. >>> >>> The rest of what you're doing sounds fine, as far as I can tell. >>> >>> Christian >>> >>> -- >>> Christian Hammond - [email protected] >>> Review Board - http://www.reviewboard.org >>> Beanbag, Inc. - http://www.beanbaginc.com >>> >>> On Wed, May 6, 2015 at 12:41 PM, Papaswede <[email protected]> wrote: >>> >>>> Ah, well maybe that is the issue then. Ok, so let me ask if I need to >>>> go about this a different way. We currently have reviewboard running on an >>>> old, antiquated box. I had them set up a new VM for me that I am migrating >>>> reviewboard to. I can't install reviewboard in the same location on this >>>> new VM because they gave me a "local" directory to use and I have to build >>>> everything from scratch. So, I built apache, MySQL and all the >>>> dependencies. I also installed the most recent version of Reviewboard. >>>> However, I wanted to keep the data from the old reviewboard server, so I >>>> did a MySQL backup and restored that backup on the new VM. I also >>>> compressed the old reviewboard site and moved that over to the VM and >>>> unzipped it. After this I ran the rb-site upgrade command since the >>>> version >>>> of reviewboard on the new VM is the most recent version whereas we were a >>>> number of versions behind on the old box. In the past I've never moved >>>> reviewboard from one server to another, so perhaps the way I'm going about >>>> this is fundamentally flawed. Is there a better way to install reviewboard >>>> from scratch yet still take all of the data from another reviewboard >>>> installation and restore it? >>>> >>>> Hopefully all of that makes sense. >>>> >>>> >>>> On Tuesday, May 5, 2015 at 3:06:20 PM UTC-4, Christian Hammond wrote: >>>>> >>>>> If the path is referencing an incorrect directory, then it sounds like >>>>> you may be using a database originally installed in a different path. You >>>>> can verify this by typing: >>>>> >>>>> $ rb-site manage /path/to/site list-siteconfig >>>>> >>>>> That will show you all your configured site settings, some of which >>>>> will have a path. You can change those paths from the command line >>>>> through: >>>>> >>>>> $ rb-site manage /path/to/site set-siteconfig -- --key=<key> >>>>> --value=<new_value> >>>>> >>>>> Note the "--" before the flags. That's important. >>>>> >>>>> Christian >>>>> >>>>> -- >>>>> Christian Hammond - [email protected] >>>>> Review Board - http://www.reviewboard.org >>>>> Beanbag, Inc. - http://www.beanbaginc.com >>>>> >>>>> On Tue, May 5, 2015 at 6:49 AM, Papaswede <[email protected]> wrote: >>>>> >>>>>> Yeah, I've tried various combinations of permissions and always >>>>>> restarting apache after I make changes. I'm a bit stuck here as the >>>>>> error >>>>>> messages do not make any sense to me. >>>>>> >>>>>> On Thursday, April 30, 2015 at 9:47:00 PM UTC-4, David Trowbridge >>>>>> wrote: >>>>>>> >>>>>>> Have you tried restarting the web server (apache)? >>>>>>> >>>>>>> -David >>>>>>> >>>>>>> On Thu, Apr 30, 2015 at 11:12 AM Papaswede <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> I've upgraded my ReviewBoard site and am now getting the errors in >>>>>>>> the attached screenshot. The first and last errors don't make sense to >>>>>>>> me, >>>>>>>> because /var/reviewboard/ is not the location of my reviewboard >>>>>>>> installation. It's located in /opt/local/revboard/reviewboard. As far >>>>>>>> as >>>>>>>> the other error messages go, I've done what they ask me to do, but >>>>>>>> they're >>>>>>>> still showing up, so I'm not sure what to do there. I've verified that >>>>>>>> the >>>>>>>> directories exist and have the correct permissions. >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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 [email protected]. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> -- >>>>>> 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 [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>> 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 [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
