buschmais / redmics

Plug-in for Redmine (http://www.redmine.org/) to export project issues and versions as ICalendar (ICS) files
41 stars 18 forks source link

404 The page you were trying to access doesn't exist or has been removed. #3

Closed plazmacrow closed 11 years ago

plazmacrow commented 11 years ago

I run into this error when I click on the project specific calendar (project-name/issues/calendar) or try to configure the plugin under /settings/plugin/redmine_ics_export.

Production log says: Missing template, responding with 404 Rendered common/error.html.erb within layouts/base (0.1ms) Completed 404 Not Found in 141ms (Views: 70.2ms | ActiveRecord: 63.7ms)

Im using:

fs5 commented 11 years ago

Please make sure that the plug-in is placed into a folder 'redmine_ics_export' (not 'redmine').

If this is already the case, please specify which URLs are not rendered correctly. Please also provide more log information.

plazmacrow commented 11 years ago

The git repository has been cloned to /usr/share/redmine/lib/plugins/redmine_ics_export.

This is the log with log_level = :debug. Looks not very helpful to me.

Started GET "/settings/plugin/redmine_ics_export" for 10.58.254.10 at Mon May 20 22:05:37 +0200 2013 Processing by SettingsController#plugin as HTML Parameters: {"id"=>"redmine_ics_export"} (0.6ms) SELECT MAX(settings.updated_on) AS max_id FROM settings User Load (0.3ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND users.status = 1 AND users.id = 3 LIMIT 1 Current user: mschaefer (id=3) Setting Load (0.3ms) SELECT settings.* FROM settings WHERE settings.name = 'plugin_redmine_ics_export' LIMIT 1 Rendered settings/plugin.html.erb within layouts/admin (1.4ms) Missing template, responding with 404 Rendered common/error.html.erb within layouts/base (0.1ms) UserPreference Load (0.4ms) SELECT user_preferences.* FROM user_preferences WHERE user_preferences.user_id = 3 LIMIT 1 SQL (51.0ms) SELECT members.id AS t0_r0, members.user_id AS t0_r1, members.project_id AS t0_r2, members.created_on AS t0_r3, members.mail_notification AS t0_r4, projects.id AS t1_r0, projects.name AS t1_r1, projects.description AS t1_r2, projects.homepage AS t1_r3, projects.is_public AS t1_r4, projects.parent_id AS t1_r5, projects.created_on AS t1_r6, projects.updated_on AS t1_r7, projects.identifier AS t1_r8, projects.status AS t1_r9, projects.lft AS t1_r10, projects.rgt AS t1_r11, projects.default_version_id AS t1_r12, projects.inherit_members AS t1_r13, roles.id AS t2_r0, roles.name AS t2_r1, roles.position AS t2_r2, roles.assignable AS t2_r3, roles.builtin AS t2_r4, roles.permissions AS t2_r5, roles.issues_visibility AS t2_r6 FROM members LEFT OUTER JOIN projects ON projects.id = members.project_id LEFT OUTER JOIN member_roles ON member_roles.member_id = members.id LEFT OUTER JOIN roles ON roles.id = member_roles.role_id WHERE members.user_id = 3 AND (projects.status<>9) ORDER BY projects.name Completed 404 Not Found in 72ms (Views: 13.0ms | ActiveRecord: 51.4ms)

On 05/17/2013 08:03 PM, Frank Schwarz wrote:

Please make sure that the plug-in is placed into a folder 'redmine_ics_export' (not 'redmine').

If this is already the case, please specify which URLs are not rendered correctly. Please also provide more log information.

— Reply to this email directly or view it on GitHub https://github.com/buschmais/redmics/issues/3#issuecomment-18076919.

fs5 commented 11 years ago

The installation folder looks strange to me: 'redmine/lib/plugins/redmine_ics_export'. It should be 'redmine/plugins/redmine_ics_export'. Are you using a package-manager to install Redmine?

1beb commented 11 years ago

Same issue, also using a package manager to install redmine. Plugins are located in /usr/share/redmine/lib/plugins/

plazmacrow commented 11 years ago

I'm using the PPA/Launchpad from ondrej in Ubuntu 12.04, followed the instructions on http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu

I manually created the directory "plugins" within the redmine root and placed your extension there instead of using lib/plugins. This solved my problem - the plugin works fine now.

Thank you very much for your support - and this nice plugin of course ;)

On 05/21/2013 07:55 PM, Frank Schwarz wrote:

The installation folder looks strange to me: 'redmine/lib/plugins/redmine_ics_export'. It should be 'redmine/plugins/redmine_ics_export'. Are you using a package-manager to install Redmine?

— Reply to this email directly or view it on GitHub https://github.com/buschmais/redmics/issues/3#issuecomment-18225397.

1beb commented 11 years ago

@plazmacrow Could you specify the directory that you create plugins in? This would likely solve my problem as well.

plazmacrow commented 11 years ago

Just create the directory /usr/share/redmine/plugins and place your plugins inside.

On 05/23/2013 07:22 PM, Brandon Bertelsen wrote:

@plazmacrow https://github.com/plazmacrow Could you specify the directory that you create |plugins| in? This would likely solve my problem as well.

— Reply to this email directly or view it on GitHub https://github.com/buschmais/redmics/issues/3#issuecomment-18358388.

1beb commented 11 years ago

Could you provide a detailed overview of the commands that you ran thereafter?

cd /usr/share/redmine
sudo mkdir plugins
cd plugins
sudo git clone https://github.com/buschmais/redmics.git redmine_ics_export
# and then?
plazmacrow commented 11 years ago

That's it basically. Just restart your webserver (e.g. apache2) and the plugin should appear on the redmine plugins overview.

Otherwise you might have a look at http://www.redmine.org/projects/redmine/wiki/Plugins

On 05/23/2013 10:09 PM, Brandon Bertelsen wrote:

Could you provide a detailed overview of the commands that you ran thereafter?

|cd /usr/share/redmine sudo mkdir plugins cd plugins sudo git clone https://github.com/buschmais/redmics.git redmine_ics_export

and then?

— Reply to this email directly or view it on GitHub https://github.com/buschmais/redmics/issues/3#issuecomment-18368495.

1beb commented 11 years ago

That worked for me. After installing the icalendar bundle of course.