Aug 20, 2012

Lỗi cài Redmine plugins

cd /tmp
wget
http://www.redmine.org/attachments/download/7705/redmine_plugin_views_revisions_v001.zip
unzip redmine_plugin_views_revisions_v001.zip
mv redmine_plugin_views_revisions /var/www/redmine

cd /var/www/redmine

[root@redmine redmine]# rake redmine:plugins:migrate RAILS_ENV=production
Migrating redmine_code_review (Redmine Code Review plugin)...
Migrating redmine_plugin_views_revisions (Redmine plugin views revisions
plugin)...

[root@redmine redmine]# /etc/init.d/httpd restart

-> Restart xong không thấy plugin "redmine_plugin_views_revisions" xuất
hiện trong plugin list ở
http://server:3000/admin/plugins

Vì sao nhỉ?
Các bác giúp đỡ.

Cài thử thêm một plugin nữa cũng không thấy xuất hiện trong plugin list:
1035 wget
http://www.redmine.org/attachments/download/7786/redmine_boards_watchers_v023.zip
1036 unzip redmine_boards_watchers_v023.zip
1037 cd /var/www/redmine/plugins/
1038 mv /usr/src/nev/redmine_boards_watchers .
1039 cd ..
1040 rake redmine:plugins:migrate RAILS_ENV=production
1041 /etc/init.d/httpd restart

[root@redmine nev]# cd /var/www/redmine/plugins/
[root@redmine plugins]# mv /usr/src/nev/redmine_boards_watchers .
[root@redmine plugins]# cd ..
[root@redmine redmine]# rake redmine:plugins:migrate RAILS_ENV=production
Migrating redmine_boards_watchers (Extended watchers management and
sticky priority levels add-on)...
== CreateMessageStickyPriority: migrating
====================================
-- add_column(:messages, :sticky_priority, :integer, {:default=>0})
-> 0.0282s
== CreateMessageStickyPriority: migrated (0.0283s)
===========================

== UpdateMessageStickyPriority: migrating
====================================
== UpdateMessageStickyPriority: migrated (0.0041s)
===========================

Migrating redmine_code_review (Redmine Code Review plugin)...
Migrating redmine_plugin_views_revisions (Redmine plugin views revisions
plugin)...
[root@redmine redmine]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: apr_sockaddr_info_get() failed for
redmine.nev-cloudlab.com
httpd: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName
[ OK ]

cf. http://www.redmine.org/plugins/redmine_plugin_views_revisions
cf. http://www.redmine.org/plugins/redmine_xls_export -> muốn cài plugin này
cf. http://www.redmine.org/projects/redmine/wiki/Plugins

Environment:
Redmine version 2.0.3.stable.9964
Ruby version 1.9.3 (i686-linux)
Rails version 3.2.6
Environment production
Database adapter Mysql2

CentOS 6.3.

--
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:
vuhung16plus, twitter: vuhung, MSN: vuhung16.
http://www.facebook.com/nguyenvuhung
Nguyễn Vũ Hưng's blog on Free and Open Source:
http://nguyenvuhungvietnam.wordpress.com/
Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/
Vietnamese LibreOffice: http://libo-vi.blogspot.com/
Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/

Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,
Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*
the opinion of my employer(s), associations and/or groups I join.

No comments: