Using Amazon S3 for storage

Added by Christopher Dell almost 5 years ago

Hello,

I'm trying to find some documentation about adding S3 support to Redmine be it by hacking the codebase or via a plugin. My current install is hosted on Heroku (which has a read only filesystem) hence the need for file uploads to be handled somewhere else in the cloud.

Has anyone been confronted with this issue before? Is there plugin in the works that I might be able to contribute to?
If not, do any of the devs know of any pitfalls that might be encountered before developing such a plugin? (ie, in principle should it simply be a matter of overloading the Attachment model?).

Any information would be much appreciated,

Chris

Replies (33)

RE: Using Amazon S3 for storage - Added by Daudi Amani almost 4 years ago

ok, solved the problem. Here's what the issue was: heroku will not handle git submodules, which is what happens if you follow the readme instructions and pull the plugin in with git. Better to download the zip or tar and extract it to the vendors/plugin/redmine_s3 directory. When it was as a submodule, git push heroku master will not push the plugin to heroku. I reverted back to a previous git version, extracted the tar correctly, then after git add .; git commit -a -m 'message' I could do a git push heroku master. All is well; the plugin now shows up correctly; files get uploaded correctly.

RE: Using Amazon S3 for storage - Added by Jay Blomquist over 3 years ago

This works well for us: [URL redacted, don't spam. See ForumCodeOfConduct]

RE: Using Amazon S3 for storage - Added by Bayle Shanks over 3 years ago

I've got redmine hosted on Heroku, and can't figure out how to get the repositories up and > running. I'm esp. interesting in getting GIT working. I don't mind paying a little for the > DB space.

Shereef: I think it is currently impossible to integrate Git or Mercurial repos with a Redmine instance running on Heroku due to the read-only filesystem constraint. I asked Eric Davis and he thinks so too. SVN and CVS don't require Redmine to have a local copy of the repo, and so I think they work, whereas Git and Hg don't.

RE: Using Amazon S3 for storage - Added by Dmitry Vyal over 3 years ago

Our team has been using redmine for about two years, and we have tons of files attached to issues. Is it possible to upload them to S3?

Any progress on http://projects.tigrish.com/issues/62 ?

RE: Using Amazon S3 for storage - Added by Van Nam Nguyen over 3 years ago

I try to install s3 on 1.1.2 but not success. I don't know why.

RE: Using Amazon S3 for storage - Added by Fred Grosskopf almost 3 years ago

Daudi Amani wrote:

ok, solved the problem. Here's what the issue was: heroku will not handle git submodules, which is what happens if you follow the readme instructions and pull the plugin in with git. Better to download the zip or tar and extract it to the vendors/plugin/redmine_s3 directory. When it was as a submodule, git push heroku master will not push the plugin to heroku. I reverted back to a previous git version, extracted the tar correctly, then after git add .; git commit -a -m 'message' I could do a git push heroku master. All is well; the plugin now shows up correctly; files get uploaded correctly.

I'd like to confirm this procedure does the job. Thanks a lot!

RE: Using Amazon S3 for storage - Added by Andrey Koleshko about 2 years ago

I released plugin for newest version of redmine (2.0): https://github.com/ka8725/redmine_s3. Check it out! Also if you are interesting how to deploy it on the Heroku read this post: http://railsguides.net/2012/04/28/how-to-deploy-redmine-to-heroku

RE: Using Amazon S3 for storage - Added by Huy Nguyen 4 months ago

Hello

How do we make unique folders for each project of the Redmine when we store files and documemnts on Amazon S3 ?

I'm using redmine_s3 plugin

Thank in advance

Huy

1 2 (26-33/33)