![]() ![]() ![]() * to 'redmine_reader' 'localhost' create a sql-statement ¶ create a read only user ¶ mysql - u root - p grant select on bitnami_redmine. There are a couple of plugins available, we are trying to do our own thing. images/logo.png" style= "top-margin: 15px left-margin: 15px " /> Ĭopy logo.png to /opt/redmine-2.5.2-2/apps/redmine/htdocs/public/images Nagging ¶ 1 root daemon 1523773 Sep 20 10:52 production.log.0Įdit following file /opt/redmine-2.5.2-2/apps/redmine/htdocs/app/views/layouts/ #line 44 1 daemon daemon 3295 Sep 20 10:55 production.log level = Logger :: INFO ll /opt/redmine-2.5.2-2/apps/redmine/htdocs/log/ Add following parameter to /opt/redmine-2.5.2-2/apps/redmine/htdocs/config/environments/production.rb and restart the Bitnami-Stack.Īccording to you have to provide a file directly to Logger.new instead of the sample in the production.rb. Although you could use the standard Logrotate it's recommended ( ) to use the Ruby-functionality. The Bitnami-Stack does not preconfigure log-rotating for the production.log located in /opt/redmine-2.5.2-2/apps/redmine/htdocs/log. If you get an error about SSL-certificate (self signed) you may bypass SSL-verify by adding this file to /opt/redmine-2.5.2-2/apps/redmine/htdocs/config/initializers/avoid_ssl_verification.rb require 'openssl' OpenSSL :: SSL :: VERIFY_PEER = OpenSSL :: SSL :: VERIFY_NONE setup log-rotating ¶ If you get an error about bundle you may want to try cd /opt/redmine-2.5.2-2 This setup will accept mails from everyone and automagically register unknown users.Īdd following cron-file /etc/cron.d/redmine_mail_recv */15 * * * * root /usr/local/bin/redmine_recv_mail.sh opt/redmine-2.5.2-2/ruby/bin/rake -f '/opt/redmine-2.5.2-2/apps/redmine/htdocs/Rakefile' redmine:email:receive_imap RAILS_ENV = "production" ssl =1 host = port =993 username password =secret unknown_user =create no_permission_check =1 ![]() # Outgoing emails configuration (see examples above) email_delivery:Īddress: "" port: 25 domain: '' authentication: :login user_name: password: "secret" enable_starttls_auto: true #openssl_verify_mode: 'none' #enable_starttls_auto: true setup receiving email ¶Īdd following shell-script to /usr/local/bin/redmine_recv_mail.sh #!/bin/sh PATH = "/opt/redmine-2.5.2-2/perl/bin:/opt/redmine-2.5.2-2/git/bin:/opt/redmine-2.5.2-2/sqlite/bin:/opt/redmine-2.5.2-2/ruby/bin:/opt/redmine-2.5.2-2/subversion/bin:/opt/redmine-2.5.2-2/postgresql/bin:/opt/redmine-2.5.2-2/php/bin:/opt/redmine-2.5.2-2/mysql/bin:/opt/redmine-2.5.2-2/apache2/bin:/opt/redmine-2.5.2-2/common/bin: $PATH " Add following parameter to /opt/redmine-2.5.2-2/apps/redmine/htdocs/config/configuration.yml # about line 83 # default configuration options for all environments default: ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |