onlyoffice-redmine icon indicating copy to clipboard operation
onlyoffice-redmine copied to clipboard

Wiki not found

Open smoebody opened this issue 1 year ago • 6 comments

Hi,

after installing this plugin i cannot open a project's wiki anymore. I get a 404 and the redmine logs say:

I, [2023-09-28T15:25:57.557420 #1]  INFO -- : Processing by WikiController#show as HTML
I, [2023-09-28T15:25:57.557481 #1]  INFO -- :   Parameters: {"project_id"=>"*redacted*"}
I, [2023-09-28T15:25:57.566614 #1]  INFO -- :   Current user: *redacted* (id=29)
I, [2023-09-28T15:25:57.575285 #1]  INFO -- :   Rendered plugins/onlyoffice_redmine/app/views/wiki/show.html.erb within layouts/base (Duration: 0.7ms | Allocations: 318)
I, [2023-09-28T15:25:57.575359 #1]  INFO -- :   Rendered layout layouts/base.html.erb (Duration: 0.9ms | Allocations: 345)
W, [2023-09-28T15:25:57.575452 #1]  WARN -- : Missing template, responding with 404: Missing template wiki/show with {:locale=>[:de, :en], :formats=>[:html], :variants=>[], :handlers=>[]}. Searched in:
  * "/usr/src/redmine/plugins/zzz_hmt/app/views"
  * "/usr/src/redmine/plugins/redmine_wysiwyg_editor/app/views"
  * "/usr/src/redmine/plugins/redmine_ics_export/app/views"
  * "/usr/src/redmine/plugins/redmine_env_auth/app/views"
  * "/usr/src/redmine/plugins/redmine_dmsf/app/views"
  * "/usr/src/redmine/plugins/redmine_contacts_helpdesk/app/views"
  * "/usr/src/redmine/plugins/redmine_contacts/app/views"
  * "/usr/src/redmine/plugins/plantuml/app/views"
  * "/usr/src/redmine/plugins/onlyoffice_redmine/app/views"
  * "/usr/src/redmine/plugins/additionals/app/views"
  * "/usr/src/redmine/app/views"
  * "/usr/local/bundle/gems/redmine_crm-0.0.60/app/views"
  * "/usr/local/bundle/gems/render_async-2.1.11/app/views"
  * "/usr/src/redmine/plugins/additionals/app/views"

any ideas?

smoebody avatar Sep 28 '23 13:09 smoebody

Same problem here on Redmine 5.0.5 and onlyoffice_redmine-2-1-0. Renamed file "/usr/src/redmine/plugins/onlyoffice_redmine/app/views/show.html.erb" and wiki return up missing onlyoffice edit and convert button (we don't use MS docs on the wiki, so it's ok for now).

RandaNP avatar Oct 04 '23 11:10 RandaNP

Please check if the issue persists with the recently released version 3.0 of the plugin.

SergeyKorneyev avatar Jan 30 '24 13:01 SergeyKorneyev

Since then i upgraded to Redmine 5.1.1 which this plugin is not compatible with. see #153

smoebody avatar Feb 01 '24 08:02 smoebody

After you fixed #153 I tested again but the issue still exists.

smoebody avatar Mar 05 '24 15:03 smoebody

After update to 3.1.0, with redmine 5.0.5, the issue remains. Logs on wiki call:

redmine-redmine-1     | I, [2024-03-08T12:11:48.420265 #1]  INFO -- : Processing by WikiController#show as HTML
redmine-redmine-1     | I, [2024-03-08T12:11:48.420411 #1]  INFO -- :   Parameters: {"project_id"=>"documentazione-docker-e-docker-compose"}
redmine-redmine-1     | I, [2024-03-08T12:11:48.433730 #1]  INFO -- :   Current user: mrandon (id=6)
redmine-redmine-1     | E, [2024-03-08T12:11:48.574442 #1] ERROR -- : Deface: 'wiki-show' matched 0 times with 'p.wiki-update-info'
redmine-redmine-1     | I, [2024-03-08T12:11:48.580917 #1]  INFO -- :   Rendered plugins/onlyoffice_redmine/app/views/wiki/show.html.erb within layouts/base (Duration: 9.9ms | Allocations: 24
19)
redmine-redmine-1     | I, [2024-03-08T12:11:48.580987 #1]  INFO -- :   Rendered layout layouts/base.html.erb (Duration: 10.0ms | Allocations: 2452)
redmine-redmine-1     | W, [2024-03-08T12:11:48.581420 #1]  WARN -- : Missing template, responding with 404: Missing template wiki/show with {:locale=>[:it, :en], :formats=>[:html], :variants
=>[], :handlers=>[]}. Searched in:
redmine-redmine-1     |   * "/usr/src/redmine/plugins/redmine_agile/app/views"
redmine-redmine-1     |   * "/usr/src/redmine/plugins/onlyoffice_redmine/app/views"
redmine-redmine-1     |   * "/usr/src/redmine/plugins/additionals/app/views"
redmine-redmine-1     |   * "/usr/src/redmine/app/views"
redmine-redmine-1     |   * "/usr/local/bundle/gems/redmine_crm-0.0.63/app/views"
redmine-redmine-1     |   * "/usr/local/bundle/gems/render_async-2.1.11/app/views"
redmine-redmine-1     |   * "/usr/src/redmine/plugins/additionals/app/views"
redmine-redmine-1     |
redmine-redmine-1     | I, [2024-03-08T12:11:48.582324 #1]  INFO -- :   Rendered common/error.html.erb within layouts/base (Duration: 0.2ms | Allocations: 63)
redmine-redmine-1     | I, [2024-03-08T12:11:48.660025 #1]  INFO -- :   Rendered layout layouts/base.html.erb (Duration: 77.9ms | Allocations: 16461)
redmine-redmine-1     | I, [2024-03-08T12:11:48.660411 #1]  INFO -- : Completed 404 Not Found in 240ms (Views: 44.9ms | ActiveRecord: 91.5ms | Allocations: 32267)

Renamed file "/usr/src/redmine/plugins/onlyoffice_redmine/app/views/wiki/show.html.erb" to show2.html.erb and wiki return up missing onlyoffice edit and convert button (we don't use MS docs on the wiki, so it's ok for now).

RandaNP avatar Mar 08 '24 12:03 RandaNP

https://github.com/alphanodes/additionals/issues/134#issue-1217145305

vanyauhalin avatar Mar 12 '24 07:03 vanyauhalin