如何设置Redmine应该运行的path,例如example.com:3000/redmine而不是example.com:3000 ? 在设置面板中有一个适当命名的选项,但根据文档和实验观察(它用于在发送给用户的电子邮件中编写URL)它有不同的用途。 更广的图片:为了在Apache的mod_proxy(例如example.com/redmine )上正确地为端口80上的Redmine服务,我需要这个。 问题是在/上运行时,主页无法加载必要的资源(如JavaScript和CSS文件)。 任何解决方法?
要将Redmine从1.0.1升级到2.1.2,需要执行以下命令: rake db:migrate RAILS_ENV=production 但是,这样做会产生以下错误: rake aborted! Please install the mysql2 adapter: gem install activerecord-mysql2-adapter (mysql2 is not part of the bundle. Add it to Gemfile.) rake aborted! Please install the mysql2 adapter: gem install activerecord-mysql2-adapter (mysql2 is not part of the bundle. Add it to Gemfile.) 我已经运行gem install activerecord-mysql2-adapter ,但是当我尝试运行rake …命令时仍然遇到相同的错误。 如何让我的RoR应用程序识别出我已经安装了mysql2适配器? 或者我的activerecord-mysql2-adapter安装有问题吗? sudo […]
我最近在Amazon EC2实例中安装了Redmine,它似乎工作正常,但是,我不知道如何设置电子邮件通知。 Redmine文档非常过时,我已经尝试了很多select。 考虑到我不是一个RoR程序员。 这是我的configuration.yml文件: … delivery_method: :smtp smtp_settings: tls: true enable_starttls_auto: true address: "smtp.gmail.com" port: 587 domain: "dnd1.com" # 'your.domain.com' for GoogleApps authentication: :plain user_name: "[email protected]" password: "mypassword" … 我不断收到这个错误: (SSL_connect returned=1 errno=0 state=unknown state: unknown protocol)
我想在气隙networking上安装Redmine 。 它没有连接到互联网或任何其他networking。 因为它不需要电子邮件服务器,它也没有。 我的问题是,Redmine可以在没有电子邮件function的情况下工作吗? 从技术上讲,我可以在networking上安装电子邮件服务器,但我没有这方面的许可,我也不想,因为它的唯一目的是Redmine,而不是电子邮件function本身。 从“用户指南”中,我将首先得出“否”,因为我无法在要求或可选组件中find它。 但是在configuration中它提到了电子邮件。
我正在用nginx和mysql使用Debian压缩。 在耙db和加载默认数据redmine之后。 当我尝试在浏览器中访问redmine时, http://ipaddress:8080/redmine ,我得到一个404错误 Page not found The page you were trying to access doesn't exist or has been removed. 我的nginxconfiguration文件如下: server { listen 8080; server_name localhost; server_name_in_redirect off; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm index.php; } location ^~/phpmyadmin/ { root /usr/share/phpmyadmin; index index.php; include fastcgi_params; fastcgi_pass […]
我已经成功设法configuration我的Redmine与先进的git集成。 不过,我非常感兴趣的是将cgit与当前的configuration结合起来,但我不知道如何。 所以,基本上我想通过结合这两个configuration来使用Redmine的authenticationcgit。 这里是我的工作configuration(只有当我禁用其中一个)将工作: cgitconfiguration : <VirtualHost *:80> ServerName git.domain DocumentRoot "/var/www/htdocs/cgit/" DirectoryIndex cgit.cgi SetEnv CGIT_CONFIG /etc/cgitrc <Directory "/var/www/htdocs/cgit"> Options FollowSymlinks ExecCGI Allow from all AllowOverride all Order allow,deny <Files cgit.cgi> SetHandler cgi-script </Files> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.* /cgit.cgi/$0 [L,PT] </Directory> <Directory "/opt/git"> Allow from all </Directory> </VirtualHost> 通过Redmine进行Git身份validation […]
我想这样做,但与nginx服务器我写下面的设置,但login页面/ redmine /loginredirect到/login 请协助。 location /redmine { proxy_pass http://localhost:3000/; proxy_redirect default; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_cache dhis; fastcgi_read_timeout 6000; } 我应该添加什么,所以返回页面中的任何链接指向以/ redmine前缀开头。
我更新了我的Ubuntu的ruby盒子,从那时起,redmine就倒闭了。 我的apache2.conf如下 Include /etc/apache2/sites-enabled/ LoadModule passenger_module /usr/local/lib/ruby/gems/2.0.0/gems/passenger-5.0.23/buildout/apache2/mod_passenger.so <IfModule mod_passenger.c> PassengerDefaultUser www-data PassengerRoot /usr/local/lib/ruby/gems/2.0.0/gems/passenger-5.0.23 PassengerDefaultRuby /usr/local/bin/ruby </IfModule> 网站可用/默认如下。 # redmine ### <Directory /var/www/redmine> RailsBaseURI /redmine PassengerResolveSymlinksInDocumentRoot on </Directory> 当我转到url / redmine我得到一个目录列表和redmine不开始。 任何指针?
我有服务器由Debian 6.0控制。 我前段时间安装和configuration了redmine,现在configuration了svn服务器。 现在我想configurationredmine能够查看svn存储库。 url是: https : //192.168.11.78/svn/bee 连接不工作,日志显示这个错误: Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list> 谷歌说,它的常见错误,它可能通过永久接受服务器证书来解决它,所以我做了,没有任何东西。 仍然不工作。 后来,我补充说 [global] store-plaintext-passwords = no 在文件中 .subversion/servers 我为root和www-data用户做了这个(和cert接受)。 没有什么帮助,仍然在redmine的错误 The entry or revision was not found in the repository. 我还能用它做什么?
我已经完成了在Apache2上设置和安装我的VPS上的redmine项目跟踪web应用的步骤,但是我正在运行一种情况,而不是显示redmine应用,我只能看到目录内容: 有谁知道可能是什么问题? 我不确定还有哪些其他文件可以用来诊断正在发生的事情。 谢谢! # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See http://httpd.apache.org/docs/2.2/ for detailed information about # the directives. # # Do NOT simply read […]