Closed skalimer0 closed 3 years ago
Method used to have subdirectory : https://www.redmine.org/issues/32318
Hi @skalimer0 Additionals uses cache from Rails: https://api.rubyonrails.org/v5.2.6/classes/ActionView/Helpers/CacheHelper.html#method-i-cache We do not configure any directory for cache files in additionals plugin. Maybe you have to adjust your configuration to fix the storage problem for cache. With the usage of cache there is no configuration option for a path.
Ok thanks... It's what i think too.... i'll post some infos if i resolve it.
Hi, So... the cache files are not in the same place for read and write.... but the file have the good name. For exemple... /tmp/cache/F9D/933/.views%2Frender_async..... And when redmine want to read... /tmp/cache/.views%2Frender_async....
I suppose it's just configuration....
More in next episode ;)
Next...
In fact, no cache file is generated... if i have cache file : the widget works on the dashboard.
and I don't have any cache error with widgets without settings and when i skip the user ID (no_settings: true and skip_user_id: true).
Crap.... It's my bad I debugging on Windows and Windows 10 accept by default 255 characteres for file path... And with settings or user_id.... with my subdirectory... i'm over this 255 characters....
Solution : https://www.itprotoday.com/windows-10/enable-long-file-name-support-windows-10
Hello,
We have REDMINE with a subdirectory in URL like http://myserver.mydomain.com/myredmine/
We make change in files config.ru and config/environment.rb on redmine for what works with REDMINE 4.x All works except async cache files.
The tmp cache file is writing without the subdirectory (in filename) but it's reading with the subdirectory... So... it can't work. We have this error : Invalid dashboard block for mywidget (ActionView::Template::Error): No such file or directory @ rb_sysopen
Thanks a lot.