![]() Repeat this every time you changed something in the themes directory: sudo chown -R 1001:1001 /var/lib/redmine/themesĪt this point we need to edit the docker-compose config (in /var/lib/redmine/docker-compose.yml) to mount /var/lib/redmine/themes in the correct directory. The bitnami container uses the user with UID 1001, so we need to change the owner to that. the a1 folder) to /var/lib/redmine/themes. Now we can copy the default theme folder: docker cp ae4de10d0b41:/opt/bitnami/redmine/public/themes /var/lib/redmine/themes ![]() The one that lists redmine_mariadb_1 at the end is the database container and we don’t need that one for this task.įrom that line, copy the first column – this is the container ID – e.g. Now we can find out the container ID of the running redmine container: uli:/var/lib/redmine$ docker container ps | grep redmineĪe4de10d0b41 bitnami/redmine:latest "/app-entrypoint.sh …" 30 minutes ago Up 30 minutes 0.0.0.0:3718->3000/tcp redmine_redmine_1Ĭ231d11c48e9 bitnami/mariadb:latest "/entrypoint.sh /run…" 30 minutes ago Up 30 minutes 3306/tcp redmine_mariadb_1įrom these lines, you need to select the line that says redmine_redmine_1 at the end. ![]() In order to do this, we must first ensure that your container is running: sudo systemctl start redmine The first thing we need to do is to copy the current (default) themes to that directory, since Redmine won’t be able to start up if the default theme isn’t available in the correct version. Note: If you get any permission denied errors, try running the same command using sudo.įirst, we need to create the themes directory. We will assume that you installed redmine in /var/lib/redmine and your systemd service is called redmine. This post shows you how to install a custom theme like A1 (which I used successfully for more than 5 years) if you use the bitnami Docker image. Lib/redmine/hook.rb:61:inblock in call_hook'Īpp/views/layouts/:16:in_app_views_layouts_base_html_erb_911853101_45405108'Īpp/controllers/application_controller.rb:488:in block (2 levels) in render_error'Īpp/controllers/application_controller.rb:486:inrender_error'Īpp/controllers/application_controller.rb:474:in render_404'Īpp/controllers/application_controller.In a previous post I detailed how to install Redmine on Linux using the excellent Bitnami docker image. Lib/redmine/hook.rb:61:inblock (2 levels) in call_hook' Lib/redmine/hook/view_listener.rb:57:in block in render_on' Lib/redmine/hook/view_listener.rb:57:inmap' Lib/redmine/hook/view_listener.rb:59:in block (2 levels) in render_on' * "C:/Bitnami/redmine-3.3.1-0/apps/redmine/htdocs/app/views" Install was success,but error message was appered in production.log.ĪctionView::Template::Error (Missing partial layouts/_chat_head with. I tryied to changing plugin's gemfile and did bundle install -no-deployment. Migrate database files in redmine home directory, run:īundle exec rake redmine:plugins:migrate NAME=redmine_chat RAILS_ENV=production Rackup -o 0.0.0.0 private_pub.ru -s thin -E production Rackup private_pub.ru -s thin -E production You can add "-D" in the end as backgound daemon. In redmine main directory, start faye server, distribute and monitor chat messages, it may be necessary preceded bundle exec. ![]() It will generate a few template filesĮdit private_pub.ru file in redmine home directory, such as changes to the mysql sqlite3Įdit private_pub.yml file in config directory, such as the server production according to the the server's ip or domain name In redmine home directory, run: RAILS_ENV=production rails g private_pub:install. Please run bundle update private_pub if you have bundled from tigergm's github In redmine home directory, run: bundle install -without development test. Or download it from bitbucket and expand zip file into the plugins directory and name it by redmine_chat Git from bitbucket in the plugins direction: git clone /39648421/redmine_chat.git P.s I use the zip file and put the directory of "plugins" folder.įirst briefly talk to you, it's not recommended to install it unless the future version of 0.1.0 If you can install this, please tell me command line and procedure. If somebody knows how to install redmine chat, please tell me. I did it following explanation of this page, but I could't it. In redmine bitnami, I try to install redmine chat.
0 Comments
Leave a Reply. |