Help installing Redmine
Added by Daniel Johnson over 14 years ago
Hello,
I have had Redmine up and going, but due to an unknown issue Redmine has stopped working. I thought it would be best to just reinstall everything from the beginning, this is the guide I used the first (and this second) time. [[http://justnotes.co.cc/2010/02/11/how-to-install-redmine-on-ubuntu/]]
I get to this line:
RAILS_ENV=production rake db:migrate
I get the following error
(in /redmine) rake aborted! /redmine/lib/smtp_tls.rb:1: syntax error, unexpected tIDENTIFIER, expecting $end require "openssl" require "net/smtp" Net::SMTP.class_eval do ^ (See full trace by running task with --trace)
I have installed openssl, but that did not help. I am really not sure what to do.
Replies (6)
RE: Help installing Redmine
-
Added by Felix Schäfer over 14 years ago
I haven't looked at your link, but it seems your missing some line breaks. Please have a look at /redmine/lib/smtp_tls.rb
and see if require "openssl" require "net/smtp" Net::SMTP.class_eval do
really all is on the same line.
RE: Help installing Redmine
-
Added by Daniel Johnson over 14 years ago
Thanks for the reply.
require "openssl" require "net/smtp" Net::SMTP.class_eval do
Yes, it is all on a single line in the file you had mentioned. Should this be on multiple lines?
RE: Help installing Redmine
-
Added by Felix Schäfer over 14 years ago
Weel, it should more look like:
require "openssl" require "net/smtp" Net::SMTP.class_eval do
but I can't find the file wherever I look for it… What svn revision are you using?
RE: Help installing Redmine
-
Added by Daniel Johnson over 14 years ago
Felix,
I made the suggested changes, this is my new error.
(in /redmine) rake aborted! syntax error on line 68, col 0: `production:' (See full trace by running task with --trace)
This one seems pretty straight forward, but I don't know what file to look in, I am new to ruby.
I installed redmine probably two weeks ago, but we recently experienced a domain name change on our server, and redmine hasn't come back since. I have a newer version, 0.9.2 I believe.
RE: Help installing Redmine
-
Added by Felix Schäfer over 14 years ago
I'll need the exact svn revision so I can look up what you have there, please run svn info
in the redmine directory to see which one you have. The second question I have after having reread your first post: are you trying to install everything from scratch scrapping whatever you had in the old installation, or are you attempting to bring a fresh redmine installation to work with an existing database?
RE: Help installing Redmine
-
Added by Daniel Johnson over 14 years ago
Originally I thought it would be easier to restore our current redmine install. I thought after the domain change, that was the problem, so I looked at the httpd.conf file to see if we were looking at the old domain, and everything was updated for the new server. So I was at a loss then, and figured I should be able to do a new install. I have a backup of the old database, and then tried to do the fresh install.
here is my svn info.
URL: http://redmine.rubyforge.org/svn/trunk Repository Root: http://redmine.rubyforge.org/svn Revision: 3457 Node Kind: directory Schedule: normal Last Changed Author: jplang Last Changed Rev: 3457 Last Changed Date: 2010-02-19 13:10:50 -0600 (Fri, 19 Feb 2010)