7 posts
Troy Telford (ttelford) wrote:
I had image uploads working a few weeks ago, however, I've since upgraded to 0.8.9, and it's not working now. (Of course, the upgrade isn't necessarily the reason for the failure, but there's not much else to say...)
My system is setup using the git repo as the source. When I upgrade, I generally checkout the tagged version to a branch, and run:
bundle update
bundle install
RAILS_ENV="production" bundle exec rake db:migrate
RAILS_ENV="production" bundle exec rake db:seed_fu
I use bluepill, thin and apache to run discourse. (I use slightly modified versions of the example configs in discourse/config
)
clockwork
, sidekiq
, and the thin
processes run as a non-privileged user.
When I try to upload an image, I receive a message balloon:
Sorry, there was an error uploading that file. Please try again.
The log files aren't helpful (at least to me)
production_errors.log
shows nothing. It has a few bootup messages, but that's it.
production.log
merely repeats "WARNING: Can't verify CSRF token authenticity"
clockwork.log
doesn't have anything other than the periodic "Triggering 'clockwork-heartbeat" message.
sidekiq.log
doesn't seem to have anything useful either - just repeating status for ClockworkHeartBeat jobs.
I've also already checked file permissions; they appear fine -- the daemon user owns & has write access to discourse/public/uploads
Any hints about where else I should be digging?