Upgrade: revert change to default LOCAL_UPLOADS_DIR in prod settings.

The main purpose of the "var" convention is to make it easy to write stuff
inside of our git repo when running a dev instance, and then "var" gets
excluded from checkins. For production, that's not as much of a concern.
For upgrades we don't want to be changing the directory around and confusing
matters, especially with the extra moving part of nginx configs (which have
their own issues in terms of being overwritten by accident when admins go to
S3).
This commit is contained in:
Steve Howell
2016-09-02 12:27:35 -07:00
committed by Rishi Gupta
parent 0120ff5612
commit f6975f9334

View File

@@ -155,7 +155,7 @@ INLINE_IMAGE_PREVIEW = True
# https://github.com/zulip/zulip/issues/291 for discussion of a better
# solution that won't be automatically reverted by the Zulip upgrade
# script), and then restart nginx.
LOCAL_UPLOADS_DIR = "/home/zulip/var/uploads"
LOCAL_UPLOADS_DIR = "/home/zulip/uploads"
#S3_AUTH_UPLOADS_BUCKET = ""
#S3_AVATAR_BUCKET = ""