Closed ghost closed 4 years ago
when i add a document i am able to download it. but if i click the document itself in redmine i receive a 404 internal error.
is there a problem with the preview and 4.0. my server is:
it seems like there is a permissions issue, but i can't track it down
Environment: Redmine version 4.1.0.stable Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu] Rails version 5.2.4.1 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Git 2.17.1 Filesystem Redmine plugins: redmine_checklists 3.1.16 redmine_contacts 4.3.0 redmine_contacts_helpdesk 4.1.8 redmine_custom_js 0.1.1 redmine_knowledgebase 4.1.1 redmine_messenger 1.0.6 redmine_monitoring_controlling 0.1.1 redmine_preview_office 1.0.3 redmine_preview_pdf 1.0.4 redmine_questions 1.0.2 redmine_wysiwyg_editor 0.16.1 redmine_zenedit 1.0.3 redmineup_tags 2.0.8
this error only happened in chrome. I changed the following:
<% = render: layout => 'layouts / file' do%> <% = preview_office_tag @attachment,: size => 800%> <% end%>
and that resolved my issue.
when i add a document i am able to download it. but if i click the document itself in redmine i receive a 404 internal error.
is there a problem with the preview and 4.0. my server is:
it seems like there is a permissions issue, but i can't track it down
Environment: Redmine version 4.1.0.stable Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu] Rails version 5.2.4.1 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Git 2.17.1 Filesystem
Redmine plugins: redmine_checklists 3.1.16 redmine_contacts 4.3.0 redmine_contacts_helpdesk 4.1.8 redmine_custom_js 0.1.1 redmine_knowledgebase 4.1.1 redmine_messenger 1.0.6 redmine_monitoring_controlling 0.1.1 redmine_preview_office 1.0.3 redmine_preview_pdf 1.0.4 redmine_questions 1.0.2 redmine_wysiwyg_editor 0.16.1 redmine_zenedit 1.0.3 redmineup_tags 2.0.8