INSTALLING A PLUGIN IN REDMINE
VERSION 2.3 IS GONNA BE SUCESSFULL IN REDMINE 2.3:
Following the tutorial: https://github.com/javiferrer/redmine_custom_values_projects
DOWNLOAD THE VERSION FOR 2.3.0 REDMINE:
https://github.com/javiferrer/redmine_custom_values_projects/tree/1.0.0
1. Copy the zip in the folder /u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins , and unzip it.
bash-3.2$ unzip redmine_custom_values_projects-1.0.0.zip
Archive: redmine_custom_values_projects-1.0.0.zip
5a6f440aacc0a80a89b3307e4b2cb55302e30750
creating: redmine_custom_values_projects-1.0.0/
inflating: redmine_custom_values_projects-1.0.0/.gitignore
inflating: redmine_custom_values_projects-1.0.0/LICENSE
inflating: redmine_custom_values_projects-1.0.0/README.md
extracting: redmine_custom_values_projects-1.0.0/README.rdoc
creating: redmine_custom_values_projects-1.0.0/app/
creating: redmine_custom_values_projects-1.0.0/app/controllers/
inflating: redmine_custom_values_projects-1.0.0/app/controllers/possible_value_projects_controller.rb
creating: redmine_custom_values_projects-1.0.0/app/helpers/
inflating: redmine_custom_values_projects-1.0.0/app/helpers/possible_value_projects_helper.rb
creating: redmine_custom_values_projects-1.0.0/app/models/
inflating: redmine_custom_values_projects-1.0.0/app/models/custom_field_project_value.rb
creating: redmine_custom_values_projects-1.0.0/app/views/
creating: redmine_custom_values_projects-1.0.0/app/views/possible_value_projects/
inflating: redmine_custom_values_projects-1.0.0/app/views/possible_value_projects/manage.html.erb
creating: redmine_custom_values_projects-1.0.0/app/views/projects/
creating: redmine_custom_values_projects-1.0.0/app/views/projects/settings/
inflating: redmine_custom_values_projects-1.0.0/app/views/projects/settings/_possible_value_projects.html.erb
creating: redmine_custom_values_projects-1.0.0/config/
creating: redmine_custom_values_projects-1.0.0/config/locales/
inflating: redmine_custom_values_projects-1.0.0/config/locales/en.yml
inflating: redmine_custom_values_projects-1.0.0/config/routes.rb
creating: redmine_custom_values_projects-1.0.0/db/
creating: redmine_custom_values_projects-1.0.0/db/migrate/
inflating: redmine_custom_values_projects-1.0.0/db/migrate/001_create_custom_field_project_values.rb
inflating: redmine_custom_values_projects-1.0.0/init.rb
creating: redmine_custom_values_projects-1.0.0/lib/
creating: redmine_custom_values_projects-1.0.0/lib/redmine_custom_values_projects/
inflating: redmine_custom_values_projects-1.0.0/lib/redmine_custom_values_projects/custom_field_patch.rb
inflating: redmine_custom_values_projects-1.0.0/lib/redmine_custom_values_projects/project_patch.rb
inflating: redmine_custom_values_projects-1.0.0/lib/redmine_custom_values_projects/projects_helper_patch.rb
creating: redmine_custom_values_projects-1.0.0/test/
creating: redmine_custom_values_projects-1.0.0/test/functional/
inflating: redmine_custom_values_projects-1.0.0/test/functional/possible_value_projects_controller_test.rb
inflating: redmine_custom_values_projects-1.0.0/test/test_helper.rb
creating: redmine_custom_values_projects-1.0.0/test/unit/
inflating: redmine_custom_values_projects-1.0.0/test/unit/custom_field_project_values_test.rb
bash-3.2$ ls
README redmine_ckeditor redmine_custom_values_projects-1.0.0 redmine_custom_values_projects-1.0.0.zip redmine_knowledgebase
2. rake:
bash-3.2$ cd ..
bash-3.2$ cd ..
bash-3.2$ ls
conf htdocs licenses scripts
bash-3.2$ cd htdocs/
bash-3.2$ rake redmine:plugins:migrate RAILS_ENV=production
/u01/home/app/trackbus/redmine-2.3.0-0/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /u01/home/app/trackbus/redmine-2.3.0-0 in PATH, mode 040777
Migrating redmine_ckeditor (Redmine CKEditor plugin)...
Migrating redmine_custom_values_projects (Atis Custom Fields plugin)...
Migrating redmine_knowledgebase (Knowledgebase)...
/u01/home/app/trackbus/redmine-2.3.0-0/
./ctlscript.sh restart
/u01/home/app/trackbus/redmine-2.3.0-0/subversion/scripts/ctl.sh : subversion stopped
Syntax OK
/u01/home/app/trackbus/redmine-2.3.0-0/apache2/scripts/ctl.sh : httpd stopped
/u01/home/app/trackbus/redmine-2.3.0-0/mysql/scripts/ctl.sh : mysql stopped
141023 12:49:34 mysqld_safe Logging to '/u01/home/app/trackbus/redmine-2.3.0-0/mysql/data/mysqld.log'.
141023 12:49:34 mysqld_safe Starting mysqld.bin daemon with databases from /u01/home/app/trackbus/redmine-2.3.0-0/mysql/data
/u01/home/app/trackbus/redmine-2.3.0-0/mysql/scripts/ctl.sh : mysql started at port 3308
Syntax OK
/u01/home/app/trackbus/redmine-2.3.0-0/apache2/scripts/ctl.sh : httpd started at port 8081
/u01/home/app/trackbus/redmine-2.3.0-0/subversion/scripts/ctl.sh : subversion started at port 3690
VERSION FOR 2.5 : redmine_custom_values_projects-master
IS GONNA FAIL IN 2.3 REDMINE:
Following the tutorial: https://github.com/javiferrer/redmine_custom_values_projects
1. Copy the zip in the folder /u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins , and unzip it.
2. rake:
[machine@localhost redmine-2.3.0-0]$ ls
apache2 git perl ruby uninstall.dat
apps img php scripts use_redmine
changelog.txt licenses postgresql sqlite
common manager-linux-x64.run properties.ini subversion
ctlscript.sh mysql README.txt uninstall
for execute RAKE!
[machine@localhost redmine-2.3.0-0]$ ./use_redmine
bash-3.2$ ls
apache2 git perl ruby uninstall.dat
apps img php scripts use_redmine
changelog.txt licenses postgresql sqlite
common manager-linux-x64.run properties.ini subversion
ctlscript.sh mysql README.txt uninstall
bash-3.2$ ./use_redmine
bash-3.2$ cd apps/redmine/
bash-3.2$ ls
conf htdocs licenses scripts
bash-3.2$ cd htdocs/
bash-3.2$ ls
app config.ru extra Gemfile.lock plugins README.rdoc tmp
bin db files lib public script vendor
config doc Gemfile log Rakefile test
bash-3.2$ rake redmine:plugins:migrate RAILS_ENV=production
/u01/home/app/trackbus/redmine-2.3.0-0/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /u01/home/app/trackbus/redmine-2.3.0-0 in PATH, mode 040777
rake aborted!
/u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins/redmine_custom_values_projects-master/init.rb:27: invalid multibyte char (US-ASCII)
/u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins/redmine_custom_values_projects-master/init.rb:27: invalid multibyte char (US-ASCII)
/u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins/redmine_custom_values_projects-master/init.rb:27: syntax error, unexpected $end, expecting keyword_end
author 'Francisco Javier Pérez Ferrer'
^
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
3. restart redmine
/u01/home/app/trackbus/redmine-2.3.0-0/
./ctlscript.sh restart
No hay comentarios:
Publicar un comentario