Articles of redmine

Redmine与Apache:403禁止

我正在Ubuntu服务器上安装和运行Redmine。 我试图在Apache上运行Redmine,所以我去了etc/apache2/sites-available并创build了一个名为sites.conf的文件。 <VirtualHost *:80> ServerName redmine.mypage.com DocumentRoot /var/www/redmine/public <Directory /var/www/redmine/public> DirectoryIndex index.html index.htm Require all granted </Directory> ErrorLog /var/log/apache2/localhost-error_log CustomLog /var/log/apache2/localhost-access_log common </VirtualHost> 然后我将文件链接到sites-enabled文件夹,以使Apache服务器识别configuration。 但是我仍然无法访问域,因为它一直说403 Forbidden – You don't have permission to access / on this server. 我检查了日志,我相信这是不断导致错误连接到网站的一点。 [Tue Jul 04 17:56:37.825217 2017] [autoindex:error] [pid 4815] [client 192.168.5.6:51457] AH01276: Cannot serve directory /var/www/html/: No matching […]

OpenLdapconfiguration问题

在过去的几天里,我一直在拼命阅读官方/用户制作的指南,以便正确configuration我的openldap以允许用户login到项目pipe理webapp(即Redmine)。 就这样说,请让我分享我正在处理的环境的基本设置。 WEBAPPLICATION(S): Redmine,Phpldapadmin LDAP: OPENLDAP 安装之后,我采取了以下步骤来重新configuration我的LDAP以更好地反映生产中使用的LDAP(因为整个redmine + ldap尚未投入生产) 停止slapd服务,并从/etc/ldap/slapd.d中删除cn = config.ldif 修改/usr/share/slapd/slapd.conf到这个: include /etc/ldap/schema/core.schema include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/inetorgperson.schema pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args loglevel none modulepath /usr/lib/ldap moduleload back_mdb sizelimit 500 tool-threads 1 backend mdb database mdb suffix "o=testcompany.com" rootdn "cn=admin,o=testcompany.com" directory "/var/lib/tc-ldap" rootpw "password" index objectClass eq index uid eq index ou […]

Redmine 0.9在子域上,(redmine.mydomain.com而不是redmine.mydomain.com/redmine)

我想通过redmine.mydomain.com而不是redmine.mydomain.com/redmine redmine。 我该怎么做? 这是我redmine的.conf apache <VirtualHost *:80> ServerName redmine.mydomain.com DocumentRoot /var/www/html <Directory /var/www/html> Allow from all </Directory> <Directory /var/www/html/redmine> Options -MultiViews </Directory> RailsBaseURI /redmine </VirtualHost> 谢谢

Mongrel重启一个端口?

我有一个跨六个端口的杂种群集设置。 我知道如何重新启动群集。 如果我可以为我们的Redmine安装插件testing,而不必中断团队服务来重新启动杂种,这将是很好的。 我想知道是否可以重新启动一个端口作为开发端口? (在重新启动时,mongrel似乎加载到对rails应用程序所做的更改中。)

gitolite提交挂钩更新redmine的存储库

我目前有一个Ubuntu的服务器机器已安装gitolite和redmine。 Redmine访问使用cron任务更新的存储库副本。 有一个cron任务来拉动更新似乎是一个矫枉过正的是有一个gitolite后提交脚本可以作为redmine用户执行拉。 我目前的更新脚本如下所示: */15 * * * * redmine cd /home/redmine/repositories/support && git pull 我认为后提交的脚本应该是类似的,我怎么可以给gitolite用户的权限来执行pull作为redmine用户?

乘客错误:没有这样的文件或目录 – config / environment.rb

根据此安装说明,我在MacOSX Server 10.6.8上安装了Redmine 。 到目前为止,一切工作正常:当我开始webrick服务器服务的Redmine页面。 gem和ruby被安装在用户“redmine”之下。 之后,我的目标是configurationapache2与乘客,如这里所述。 正如描述中所build议的,我还安装了将其虚拟主机configuration文件存储在/private/etc/apache2/passenger_pane_vhosts的乘客窗格 。 这是我经过大量的手工尝试和错误后想出来的。 至less,现在我可以到达一个乘客错误页面。 // redmine.vhost.conf <VirtualHost *:80> ServerName myserver ServerAlias localhost DocumentRoot "/Users/redmine/Sites/redmine" # RackEnv production # RackBaseURI / RailsEnv production RailsBaseURI / # PassengerUser www-data # PassengerGroup www-data <Directory "/Users/redmine/Sites/redmine"> Order allow,deny Allow from all </Directory> </VirtualHost> 然而,乘客模块仍然遇到以下错误。 Error message: No such file or directory – […]

定位Redmine数据库的问题

我有一个积极的redmine,但我无法find它现在正在运行的数据库。 它应该在PostgreSQL上,但是它应该运行的数据库是空的。 有没有人知道如何检查redmine使用的当前数据库? 请让我知道,如果你需要任何额外的信息。 谢谢 编辑:好吧,我知道它正在使用的数据库。 在database.yml我有project_redmine但它使用数据库项目我不知道为什么。 该数据库被开发人员用于实际项目。 所以这当然是让我的问题。 我无法在正确的DB(project_redmine)上运行它的任何想法? :S

乘客权限被拒绝访问.htaccess

我刚刚完成迁移我的Redmine安装,并用webricktesting后,一切正常,该网站与http://localhost:3000很好地工作 接下来,我安装并configuration了mod_passenger,添加了一个单独的虚拟主机,基本上只复制了以前服务器的configuration。 由于应用程序的绝对path并没有改变,我认为它会马上工作,但这是不正确的,显然乘客没有访问正确的目录。 以下是该虚拟主机的错误日志中出现的内容: Permission denied: /srv/redmine/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable 这里是configuration文件: 虚拟主机 <VirtualHost *:80> ServerName redmine DocumentRoot /srv/redmine/public ErrorLog /var/log/apache2/redmine_error.log RailsEnv production PassengerRoot /srv/redmine/public <Directory /srv/redmine/public> Options Indexes FollowSymLinks AllowOverride all Order allow,deny allow from all RailsBaseURI / PassengerResolveSymlinksInDocumentRoot on </Directory> </VirtualHost> 乘客configuration文件 <IfModule mod_passenger.c> PassengerRoot /usr PassengerRuby […]

Redmine数据迁移破坏安装(错误500)

我正在尝试迁移一个古老的安装: Environment: Redmine version 2.2.3.stable Ruby version 1.9.3 (x86_64-linux) Rails version 3.2.12 Environment production Database adapter Mysql2 Redmine plugins: no plugin installed 到一台新机器: Environment: Redmine version 2.6.1.stable Ruby version 1.9.3-p194 (2012-04-20) [x86_64-linux] Rails version 3.2.21 Environment production Database adapter Mysql2 SCM: Subversion 1.6.17 Mercurial 2.2.2 Bazaar 2.6.0 Git 1.7.10.4 Filesystem Redmine plugins: redmine_dmsf 1.4.9 stable […]

libapache2-mod-passenger更新可以中断redmine

在Ubuntu 12.04服务器上进行安全更新之后,redmine 2.5被破坏(错误500)。 我们意识到libapache2-mod-passenger是从那里更新的 libapache2-mod-passenger=2.2.11debian-2 至 libapache2-mod-passenger=2.2.11debian-2+deb6u1ubuntu12.04.1 降级这个包再次解决了这个问题。 我能做些什么来避免遇到与下一个安全更新相同的问题?