Articles of redmine

无法用redmine上传文件(使用centos 7)

我在一个centos 7 vm(内核3.10.0-229.7.2.el7.x86_64)中安装了redmine 2.6.6.stable。 到目前为止,这很好,但我目前无法上传文件。 Googling左右我发现Passenger写这些文件( https://www.redmine.org/issues/8817 ),它可能没有正确的写权限。 但我试图在过去的2个小时内修复它,但没有成功。 Apache的error_log当我尝试上传的东西: App 3419 stderr: Errno::EACCES (Permission denied – /var/www/html/vhosts/redmine/files/2015/08/150811151550_icon.png): App 3419 stderr: app/models/attachment.rb:108:in `initialize' App 3419 stderr: app/models/attachment.rb:108:in `open' App 3419 stderr: app/models/attachment.rb:108:in `files_to_final_location' App 3419 stderr: app/controllers/attachments_controller.rb:88:in `upload' 这些是我的redmine目录的当前权限: [root@server ~]# ls -l /var/www/html/vhosts/redmine/ total 44 drwxr-xr-x. 7 apache apache 78 Jul 7 16:47 app […]

重新configurationApache以通过HTTPS(而不是HTTP)提供Subversion存储库

我有一个Apache的工作设置,Redmine(3.3.2.stable)以及Subversion(1.6.17); 该服务器是Mac OS X 10.6.8 Snow Leopard。 安全问题促使我们将服务器协议更改为HTTPS,因此我们使用我们的证书颁发机构进行了签名。 所有这些都在运行,现在所有的网页都通过HTTPS提供,除了SVN存储库。 试图从原来的HTTTP SVN检查出这样的结果: svn co http://my.domain/svn/repos . svn: E175011: Unable to connect to a repository at URL 'http://my.domain/svn/repos' svn: E175011: Repository moved temporarily to 'https://my.domain/svn/repos'; please relocate 所以我觉得这很公平,因为从技术上来说确实是搬迁了。 尽pipe使用HTTPS选项尝试相同的命令给了我这个,但: svn co https://my.domain/svn/repos . Error validating server certificate for 'https://my.domain:443': – The certificate is not issued by a […]

我的活动目录密码更改后,如何login到Redmine(LDAP)?

我的活动目录密码已更改,现在我无法通过LDAPlogin到Redmine(0.9.4)。 我没有安装插件,所以给了什么?

NGINX + Redmine的乘客部署 – 403禁止

看过这个问题问了几次,尝试了几个张贴的解决scheme,没有任何运气。 安装了phusion乘客w / nginx,运行ruby 1.9.3下的多用户rvm安装 有点熟悉nginx和通过uwsgi部署Python应用程序 – 这一个让我难住 我的nginx vhostconfiguration粘贴在下面: server { listen 80; server_name EXAMPLE.COM; access_log /home/redmine/logs/nginx_access.log; error_log /home/redmine/logs/nginx_error.log; client_max_body_size 10m; keepalive_timeout 120; root /home/redmine/redmine-repo/public; passenger_enabled on; } 供参考的静态文件正确地被服务 例如当我尝试访问:http: //EXAMPLE.COM/images/duplicate.png 它显示得很好 – 我已经将整个/ home / redmine目录设置为chmod -R 0777 / home / redmine 思考我错过了configuration方面的东西 – 任何想法我失踪?

安装curl-devel时依赖性问题

我想运行passenger-install-apache2-module所以我可以在CentOS 5.8上安装Redmine,但是passenger-install-apache2-module告诉我需要Curl development headers with SSL support ,它告诉我可以使用yum install curl-devel ,但是,当我运行时,我得到以下结果: Loaded plugins: fastestmirror, priorities, protectbase Loading mirror speeds from cached hostfile * base: ftp.pbone.net * extras: ftp.pbone.net * remi: remi-mirror.dedipower.com * updates: ftp.pbone.net 120 packages excluded due to repository priority protections 0 packages excluded due to repository protections Setting up Install Process Resolving Dependencies […]

使用Apache / Kerberos / Keytab对Active Directory进行Redmine用户身份validation

请和我一起裸照,因为我对这些技术还很新鲜。 我们有一个Debian(挤压)服务器,我有root权限。 它正在运行Apache,并将Redmine部署到服务器(当前使用本地MySQL数据库进行身份validation)。 Apache被configuration为使用Kerberos和keytab文件来针对Active Directory对用户进行身份validation。 使用当前configuration,只要用户尝试通过https访问任何内容,就会提示用户input用户名/密码,该用户名/密码已经通过Active Directory成功进行了身份validation。 我(有点)了解Redmine有自己的LDAPconfiguration,可以用来对照现有的Active Directory对用户进行身份validation,但是这需要用户input他们的凭证,一次inputApache,然后第二次inputRedmine。 我可以以某种方式将Redmineconfiguration为共享Apache身份validation方法,而不是要求用户第二次input凭据? (使用Apache对Active Directory进行身份validation是服务器上单独应用程序的要求)

如何正确configurationApache2的Redmine?

我在Debian服务器上安装了Redmine,但我不知道如何正确configurationApache2,以便Redmine文件夹的内容和Redmine的起始页面都不会显示为我的网站的主页。 假设该网站的url是www.myexample.com。 当前状态 www.myexample.com显示/var/www/redmine文件夹的文件 用符号链接/var/www/redmine -> /usr/local/lib/redmine-2.1/public/ 想要的状态 www.myexample.com应该是我通常的网站主页(例如显示index.html) www.redmine.myexample.com或www.myexample.com/redmine应显示redmine页面 我想这只是一个configuration问题,但我不知道这个问题。 所以这里是我的configuration文件。 你看到我在这里失踪了吗? /etc/apache2/httpd.conf <VirtualHost *:80> ServerName redmine.example.com DocumentRoot /var/www <Directory /var/www> AllowOverride all Options -MultiViews </Directory> </VirtualHost> 在/ etc / apache2的/网站可用/pipe理平台 <VirtualHost *:80> DocumentRoot /var/www/redmine <Directory /var/www/redmine> AllowOverride all Options -MultiViews RailsBaseURI /redmine </Directory> </VirtualHost> 在/ etc / apache2的/网站可用/默认 <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot […]

如何将旧的redmine服务器迁移到新的升级版本和更改数据库引擎

我打算将我的Redmine(1.0.5)迁移到新机器上。 我想将Redmine升级到最新版本,并使用此迁移将数据库从MySQL更改为Postgresql。 我的计划是: 将Redmine 1.0.5移到有数据库的新机器上 将Redmine 1.0.5升级到最新版本 将数据库从MySQL迁移到Postgresql 计划B: 将Redmine 1.0.5升级到最新版本 将数据库从MySQL @ MachineOld迁移到Postgresql @ MachineOld 移动数据库到新的机器 将Redmine移至新机器 计划C: 将数据库从MySQL @旧机器迁移到Postgresql @新机器 在具有迁移数据库(1.0.5)的新机器上安装最新的Redmine,并执行数据库迁移(1.0.5 – > latest) 有很多可能的方法来完成这项工作。 你推荐哪种方式? 步骤0之后:做好备份。

我的帐户页面上的Redmine 500内部服务器错误

我用这个方法来安装redmine 我在/opt/redmine安装了redmine,并且在/opt/redmine/current/log/production.log检查了我的日志 我最近从2.5.2.stable.13345升级到2.5.3.stable.14266 My install info. Environment: Redmine version 2.5.3.stable.14266 Ruby version 2.0.0-p481 (2014-05-08) [x86_64-linux] Rails version 3.2.19 Environment production Database adapter Mysql2 SCM: Subversion 1.8.8 Git 1.9.1 Filesystem Redmine plugins: redmine_agile 1.3.2 redmine_graphs 0.1.0 sidebar_hide 0.0.7 我的生产日志的尾巴 Completed 500 Internal Server Error in 42.6ms ActionView::Template::Error (cannot load such file — tzinfo/definitions/Europe/London): 1: <%= labelled_fields_for […]

访问redmine

我刚安装redmine在我的Ubuntu的服务器.. 当我尝试从这个地址localhost / redmine访问它没有find 但是当我做这个脚本/服务器-e生产-p 3000然后在这里访问redmine localhost:3000其工作.. 任何想法.. 我有PHP也安装在我的服务器 这里是我的红矿的幽灵 <VirtualHost *:80> ServerName redmine.localhost ServerAlias redmine DocumentRoot /var/www/redmine/public/ ServerAdmin [email protected] LogLevel warn ErrorLog /var/log/apache2/redmine_error CustomLog /var/log/apache2/redmine_access combined <Directory /var/www/redmine/public> Options FollowSymLinks AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost>