-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Outdated redis.conf file prevents app from starting #15737
Comments
There really may not be an action associated with this issue if there is no clear "solution" to this issue, but if nothing else, I wanted to post a fix for anyone else that comes across this problem. Feel free to close if NOOP is appropriate. |
The perfect solution would be to keep a hash of the original etc files, replace them if unchanged and if changed notify the user and install the new file to |
That would be marvelous. Thanks @MikeMcQuaid I guess that it is worth stating for bug reporting posterity (SEO) that redis auto-loading failed silently. So if redis fails to load on startup for anyone this may be the culprit. First try running |
Fixes Homebrew#15737. Fixes Homebrew#15671. References Homebrew#15610.
I had same problem, with default repositories, I installed 2.2 version later I download 2.6 version from redis official website and manually install it. When I run
it returns the same error, just remove 2.2 version and reinstall 2.16 version, it worked. |
After updating to Redis 2.6.2 I started seeing:
The reason for this is because I had at one point an old redis install and thus an old
redis.conf
file. The brew formula will not overwrite this file as it upgrades to new versions. The lack of updates could be a problem, though I'm not sure what a perfect solution would be. Perhaps checking to see if it has been edited as compared to the version generated via the last install (and allowing overwrite in that case); only disable overwrite if the user has manually changed this file. That is obviously not a flawless solution either. Perhaps a simple disclaimer would be best.My interim solution was to remove
redis.conf
via:...and just reinstall redis via brew.
The text was updated successfully, but these errors were encountered: