Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Method to setup remote memcached

Method to setup remote memcached

Added by Chiang Stan about 9 years ago

Hi,

I am recently start using OpenProject Community Version.
I must to said that this is something that I have looked for a long time.
It can reach all my tasks that I need.
I just have some confusion in setting memcached.

I install the package version of OpenProject on my Amazon EC2 Server.
As the configuration manual, OpenProject can easily enable the memcache by setting cache_store = :memcache.
But I question is a little more than that. I try to find many resources to find out how to set up memcache in a remote server.
I actually found out three different place that are related to memcache.

But in fact, there is only one is working, which is adding config.cache_memcache_server in configuration.yml file.
The other two are additional_environment.rb and Environment Variable ENV ("MEMCACHE_SERVER")
So, maybe you guys should considering make a clear statement in readme file in github to clearly teach how to use memcached remotely.

The reason I use is because AWS provide one-year free tier which include a service called Elasticache. it provides two main different memcache mechanism “memcached” and “redis”.

Therefore, I believe there will be more and more people have the same question like me. Hope my suggestion is useful for this community, and I really want to help for developing this product. Unfortunately, I am not known enough Ruby on Rails to help develop this stuff. But, I do have more and more suggestion since I starting using it.

Thanks everyone to take times to look my first post.

See you _


Replies (1)

RE: Method to setup remote memcached - Added by Oliver Günther about 9 years ago

Hey Chiang,

the configuration guide is very explicit on the options you have for overriding the configuration.

- In a manual installation, simply set the setting in config/configuration.yml.

- In a packaged installation, this file is automatically updated by packager, so you should instead set an ENV override by running openproject config:set OPENPROJECT_CACHE__MEMCACHE__SERVER='<hostname:port>' as specified in the packaged installation guide (Manually set configuration options)

For the caching options, see https://github.com/opf/openproject/blob/dev/doc/CONFIGURATION.md#cache-options

Best,
Oliver

  • (1 - 1/1)
Loading...