After install on redmine 5, pdf preview not working
brgsousa opened this issue · 2 comments
brgsousa commented
I installed redmine_more_previews correctly but nothing happens when openning a PDF file for example.
This is my environment:
Environment:
Redmine version 5.0.4.stable
Ruby version 2.7.4-p191 (2021-07-07) [x86_64-linux-gnu]
Rails version 6.1.7
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Filesystem
Redmine plugins:
redmine_agile 1.6.5
redmine_more_previews 5.0.8
There is no error on log file whatsoever:
I, [2023-05-19T09:57:13.417234 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Started GET "/attachments/124244" for 10.43.212.246 at 2023-05-19 09:57:13 -0300
I, [2023-05-19T09:57:13.419029 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Processing by AttachmentsController#show as HTML
I, [2023-05-19T09:57:13.419269 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Parameters: {"id"=>"124244"}
I, [2023-05-19T09:57:13.426514 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Current user: uitec (id=76)
I, [2023-05-19T09:57:13.443723 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Rendered attachments/other.html.erb within layouts/base (Duration: 8.6ms | Allocations: 3595)
I, [2023-05-19T09:57:13.474922 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Rendered layout layouts/base.html.erb (Duration: 39.8ms | Allocations: 29894)
I, [2023-05-19T09:57:13.475259 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Completed 200 OK in 56ms (Views: 36.1ms | ActiveRecord: 7.7ms | Allocations: 33985)
When I try to open a PDF file:
HugoHasenbein commented
Dear User,
did you enable the plugin for the project in the Projects-><YOIUR PROJECT>->Configuration-Panel?
… Am 19.05.2023 um 15:00 schrieb brgsousa ***@***.***>:
I installed redmine_more_previews correctly but nothing happens when openning a PDF file for example.
This is my environment:
Environment:
Redmine version 5.0.4.stable
Ruby version 2.7.4-p191 (2021-07-07) [x86_64-linux-gnu]
Rails version 6.1.7
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Filesystem
Redmine plugins:
redmine_agile 1.6.5
redmine_more_previews 5.0.8
I have enabled "PEEK" indeed.
<https://user-images.githubusercontent.com/11218051/239538307-9d95434b-10c2-4761-bb42-6121d12ebb79.png>
There is no error on log file whatsoever:
I, [2023-05-19T09:57:13.417234 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Started GET "/attachments/124244" for 10.43.212.246 at 2023-05-19 09:57:13 -0300
I, [2023-05-19T09:57:13.419029 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Processing by AttachmentsController#show as HTML
I, [2023-05-19T09:57:13.419269 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Parameters: {"id"=>"124244"}
I, [2023-05-19T09:57:13.426514 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Current user: uitec (id=76)
I, [2023-05-19T09:57:13.443723 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Rendered attachments/other.html.erb within layouts/base (Duration: 8.6ms | Allocations: 3595)
I, [2023-05-19T09:57:13.474922 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Rendered layout layouts/base.html.erb (Duration: 39.8ms | Allocations: 29894)
I, [2023-05-19T09:57:13.475259 #371956] INFO -- : [01a66ae9-405e-4a1f-b1b8-65ad1740af12] Completed 200 OK in 56ms (Views: 36.1ms | ActiveRecord: 7.7ms | Allocations: 33985)
<https://user-images.githubusercontent.com/11218051/239538426-f68e6649-bbd3-4fb7-a6a4-676088b1b509.png>
—
Reply to this email directly, view it on GitHub <#72>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJWRDRFGDSFRRQOQWFT74ETXG5VG5ANCNFSM6AAAAAAYHYGB7Y>.
You are receiving this because you are subscribed to this thread.
brgsousa commented