OK... well, in that case I'll need to change the setting anyway. How can I change it if it crashes every time I try to?
Also, for now I'll probably stick to using "files", so it'd be greatly appreciated if you could explain (or point me to an explanation), of how I can change this setting (for both 'files' and 'location:port'). Thanks, Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Feb 13, 2014, at 12:53 AM, Christian Hammond <[email protected]> wrote: > Hi Greg, > > Review Board expects the usage of an address:port. This will generally be > localhost:11211. > > It's a bug that the socket doesn't work (and should probably be filed), but > the address:port is the more typical way of configuring memcached anyway, so > it's still a better bet. > > Christian > > -- > Christian Hammond - [email protected] > Review Board - http://www.reviewboard.org > Beanbag, Inc. - http://www.beanbaginc.com > > > On Wed, Feb 12, 2014 at 10:50 PM, Greg <[email protected]> wrote: > I first setup my site to use files as caching, but then the docs convinced me > to change to memcached. > > I set the value for memcaches location to: > > unix:/tmp/memcached.sock > > It saved, and the site continued to work for a while (including the admin > area), but all of a sudden it stopped working when I'd visit the admin area > (and only the admin area). > > Now I see this in the console logs: > > Feb 13 01:37:21 host rb-site[6331]: return self.tag_func(context, *args) > Feb 13 01:37:21 host rb-site[6331]: File > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.21-py2.7.egg/reviewboard/admin/templatetags/rbadmintags.py", > line 52, in admin_widget > Feb 13 01:37:21 host rb-site[6331]: return widget.render(request) > Feb 13 01:37:21 host rb-site[6331]: File > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.21-py2.7.egg/reviewboard/admin/widgets.py", > line 71, in render > Feb 13 01:37:21 host rb-site[6331]: self.data = self.generate_data(request) > Feb 13 01:37:21 host rb-site[6331]: File > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.21-py2.7.egg/reviewboard/admin/widgets.py", > line 260, in generate_data > Feb 13 01:37:21 host rb-site[6331]: cache_stats = get_cache_stats() > Feb 13 01:37:21 host rb-site[6331]: File > "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.21-py2.7.egg/reviewboard/admin/cache_stats.py", > line 62, in get_cache_stats > Feb 13 01:37:21 host rb-site[6331]: s.connect((host, int(port))) > Feb 13 01:37:21 host rb-site[6331]: ValueError: invalid literal for int() > with base 10: '/tmp/memcached.sock' > > I googled and saw a suggestion to change it to > "memcached://unix:/tmp/memcached.sock", but I can't: > > $ rb-site manage /path/to/site.com set-siteconfig -- > --key=cache_backend.default.LOCATION > --value="memcached://unix:/tmp/memcached.sock" > Error: Cannot set list keys > > Help? Can't get work done. :-( > > -- > Please do not email me anything that you are not comfortable also sharing > with the NSA. > > > > -- > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > --- > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ > --- > Happy user? Let us know at http://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/groups/opt_out.
signature.asc
Description: Message signed with OpenPGP using GPGMail
