diff --git a/app/models/asset.rb b/app/models/asset.rb index 411796ffe..3ef548561 100644 --- a/app/models/asset.rb +++ b/app/models/asset.rb @@ -242,6 +242,7 @@ class Asset < ApplicationRecord file_path = fa.path end + # Start Tika as a server if !ENV['NO_TIKA_SERVER'] && Yomu.class_variable_get(:@@server_pid).nil? Yomu.server(:text) end