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. All-in-one container failed when using file_store as rails cache store

All-in-one container failed when using file_store as rails cache store

Added by sathitsak anawatmongkol almost 2 years ago

Hi, I am trying to use file_store as rail cache instead of memcache using

ENV OPENPROJECT_RAILS__CACHE__STORE="file_store"

However, it cause a permission error during the seeding database process

This is the error log

rake aborted!
       Errno::EACCES: Permission denied @ rb_file_s_rename - (/app/tmp/cache/.fa99cb5a2e1fb8cb2d51cc4e34ec05b588f0b140b73c73e1a363c5c0c3311f8f2Fdatabase_migrations20230712-52-w11rbx, /app/tmp/cache/A99/F91/fa99cb5a2e1fb8cb2d51cc4e34ec05b588f0b140b73c73e1a363c5c0c3311f8f%2Fdatabase_migrations)

The command i used

docker run -it --rm -p 8080:80 \
-e OPENPROJECT_SECRET_KEY_BASE=secret \
-e OPENPROJECT_HOST__NAME=localhost:8080 \
-e OPENPROJECT_HTTPS=false \
-e OPENPROJECT_RAILS__CACHE__STORE=file_store \
openproject/community:12

Loading...