Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[36981] Make active_record_store the default (#9179)

Oliver Günther788a7086eb31
diff --git a/lib/open_project/configuration.rb b/lib/open_project/configuration.rb
index 75c4dfbd545..4866a38eebc 100644
--- a/lib/open_project/configuration.rb
+++ b/lib/open_project/configuration.rb
@@ -65,7 +65,7 @@ module OpenProject
# use dalli defaults for memcache
'cache_memcache_server' => nil,
# where to store session data
- 'session_store' => :cache_store,
+ 'session_store' => :active_record_store,
'session_cookie_name' => '_open_project_session',
# Destroy all sessions for current_user on logout
'drop_old_sessions_on_logout' => true,
diff --git a/packaging/conf/configuration.yml b/packaging/conf/configuration.yml
index f34c74b0bcc..52c43e51bd9 100644
--- a/packaging/conf/configuration.yml
+++ b/packaging/conf/configuration.yml
@@ -28,7 +28,7 @@
default:
rails_cache_store: <%= ENV.fetch('RAILS_CACHE_STORE') { :memcache }.to_sym %>
- session_store: <%= ENV.fetch('SESSION_STORE') { :cache_store }.to_sym %>
+ session_store: <%= ENV.fetch('SESSION_STORE') { :active_record_store }.to_sym %>
email_delivery_method: <%= ENV.fetch('EMAIL_DELIVERY_METHOD') { :sendmail } %>
smtp_address: <%= ENV['SMTP_HOST'] %>
smtp_port: <%= ENV.fetch('SMTP_PORT') { 25 }.to_i %>