Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Install failing

I run
$ sudo RAILS_ENV=production bundle exec rake tarantula:install

Everything progresses fine until the install prompts me for settings

GENERAL
- Protocol, host, and port (e.g. 'http://yourdomain.com')
http://daldev01.corp.mycompany.com
Admin Email
me@mycompany.com

SMTP
- Address (e.g. 'smtp.yourmailserver.com')
mx1.mycompany.com
- Port (e.g. '25')
25
- Domain (e.g. 'yourdomain.com')
mycompany.com

Done.
rake aborted!
Validation failed: Email can't be blank, Email can't be blank, Email is not formatted properly
5 people have
this problem
+1
Reply
  • I've been pulling my hair out with the exact same problem the past day and a half! Please let me know if there is a resolution to this.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned

  • one thing I did notice is that there is a blank line after we enter our Admin Email. Wondering if that is causing the error.... the other prompts don't have that space.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Ari Hakala (Prove Expertise Oy) July 16, 2012 11:38
    I tested also installation and found several problems with current script:

    https://github.com/prove/tarantula/is...

    Unfortunately we are middle of holiday season so it will take some time before our developers are back at office. Fix should be available at early august.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • I have repeated it many times with different email addresses and after all it luckily succeded. I am using postfix so it did not matter if an account exists or not. But now the mail with password is not being sent. I just receive a plain email with subject: [Tarantula] Account created
    but there is no message.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • Please advise which version is running on https://pts.tarantula.fi/ and how can we install this one. It seams that everything works correctly there.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • After many hours on trying different configurations I managed finally to make it working. As it was mentioned in the other issue I had to modify the tarantula file in cron, changed the paths and user from testia to apache, started the delayed_job (/etc/init.d/delayed_job start)
    gem update and passenger-install-apache2-module and it is working. I was thinking that I need to wait till the beginning of August but luckily everything's working great now. Good job:)

    btw. very usefull command: RAILS_ENV=production bundle exec rake tarantula:update
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • I'ev got one more tip:) If having troubles with deployment please run rails server in tarantula/rails directory. It will start the tarantula on port 3000 in the development mode - to test it open ip_addres:3000 in the browser.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • i get first error during installation process when script is attempting installation of hoe (3.0.6)

    Gem::InstallError: hoe requires Ruby Gems version >= 1.4. Try 'gem update --system' to update Ruby Gems itself.
    An error occured while installing hoe (3.0.6), and Bundler cannot continue. Make sure that 'gem install hoe -v '3.0.6' succeds before bundling.

    'gem update --system' and 'gem install hoe -v '3.0.6' ' commands fixes problem and i can start instalation script from the beginning

    next error:

    ./install.sh: line 201: passenger-install-apache2-module: command not found

    to solve this just run:

    gem install passenger

    and again start installation script

    few tries with RAILS_ENV=production bundle exec rake tarantula:instal and i finally finish my installation process

    and after configuring firewall and reboot i get error:

    rake aborted!
    undefinied method '+' for nil:NilClass

    and on my ip i get apache 2 test page

    after using command
    RAILS_ENV=production bundle exec rake tarantula:update

    i get error:

    Could not find rake-0.9.2 in any of the sources

    command
    bundle install
    solves it

    but after that i have so many errors that i don't know what else i can do

    i also modify my tarantula file in cron like this:
    # m h dom mon dow user command
    0 22 * * 7 testia /opt/tarantula/rails/script/runner -e production "Cron.weekly"
    0 0 * * * testia /opt/tarantula/rails/script/runner -e runner -e production "Cron.daily"
    */15 * * * * testia /opt/tarantula/rails/script/runner -e production "Cron.every_15_min"
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned

  • Regarding Cron do you have a user "testia" ? I changed it into apache.
    It is good to run passenger-install-apache2-module after it and then service httpd restart. I guess that you have added two files to /etc/httpd/conf.d/ tarantula.conf and passenger.conf.

    In my case it looks as follows:
    tarantula.conf

    SetEnv RAILS_ENV production
    ServerName tarantula.my_domain.com
    # !!! Be sure to point DocumentRoot to 'public'!
    DocumentRoot /opt/tarantula/rails/public

    Options ExecCGI FollowSymLinks
    AddHandler cgi-script .cgi
    Order allow,deny
    Allow from all
    # This relaxes Apache security settings.
    AllowOverride all
    # MultiViews must be turned off.
    Options -MultiViews

    It was empty when I installed it, but I found myself such a configuration.

    passenger.conf

    LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.14/ext/apache2/mod_passenger.so
    PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.14
    PassengerRuby /usr/bin/ruby

    It was taken from the output of passenger-install-apache2-module.

    My last tip: try to execute delayed_job (/etc/init.d/delayed_job start) and see if it is handling any jobs. If it is throwing errors something's not correct
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned

  • Hey all, I was seeing the same issue. Tried some of the things shown above, and now I am seeing hundreds of "NOTE" errors, looks like so:

    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
    rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
    rake aborted!
    uninitialized constant ActiveSupport::Dependencies::Mutex

    (See full trace by running task with --trace)

    [root@CentOS6Frank conf.d]#

    Any hints for me?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • OK, I fixed the previous error by erasing "schema.db" and doing the install.sh again. Now I am seeing a slightly different error than the original poster. Any ideas?

    -- assume_migrated_upto_version(20120612070020, ["/opt/tarantula/rails/db/migrate"])
    -> 0.0092s
    /usr/bin/ruby /opt/tarantula/rails/vendor/bundle/ruby/1.8/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets

    GENERAL
    - Protocol, host, and port (e.g. 'http://yourdomain.com')
    http://149.165.130.138
    Admin Email
    fedia@grnoc.iu.edu

    SMTP
    - Address (e.g. 'smtp.yourmailserver.com')
    mx.grnoc.iu.edu
    - Port (e.g. '25')
    587
    - Domain (e.g. 'yourdomain.com')
    grnoc.iu.edu

    Done.
    rake aborted!
    can't convert nil into Hash

    Tasks: TOP => tarantula:install
    (See full trace by running task with --trace)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned

  • 1
    It did happen to me during installation. Your first error NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. also happened when I was configuring it, but I somehow gathered all the required gems and it disappeared at last.

    Try install with different admin email. It worked for me. I don't know if there is a possiblity of changing the admin email, I was checking the config files and did not find it.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • well after all you just have to be lucky with that admin mail - after few times it will work.

    currently i'm trying to install tarantula from older (6 months old) instalation script:

    https://raw.github.com/prove/tarantul...~

    and it works better - now i get error from tarantula:

    cannot generate tempfile `/opt/tarantula/rails/tmp/cache/assets/sprockets%2Fd7c28cfe4106a62bc0a36d92e92ad8aa20120727-1824-1f1ku2m-9'

    and before that i was gettin error about non existing catalog
    /opt/tarantula/rails/tmp/cache/assets/DC3

    any ideas?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned

  • chown -R apache:apache /opt/tarantula
    I think that's the issue, but I used latest install.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Jan Figura - check command: rails server in the /opt/tarantula/rails directory, it should open the tarantula on port 3000 - you will know if you have issue with deployment or configuration etc.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • 1
    after chown -R apache:apache /opt/tarantula i needed to run everything from the beginning cause i was getting error:

    ext/ext-all.css.erb isn't precompiled

    after running:
    RAILS_ENV=production bundle exec rake tarantula:install
    and
    RAILS_ENV=production bundle exec rake tarantula:update
    (rake 0.9.2 was missing)

    and chmod 777 /opt/tarantula/rails/log/[production.log

    it works! don't know why but still it's alive!
    • Hello Jan,

      I was getting that same error. I think I missed a couple of preparation steps. I see on this page that you have to install a couple more things before starting. (Like installing RVM for instance.)

      https://github.com/prove/tarantula

      Also I had to chmod 666 on that file like you did:

      chmod 777 /opt/tarantula/rails/log/production.log

      Also I got stuck trying to get YAML and ruby installed properly. It kept saying to install YAML and then reinstall ruby. Finally got past that by installing yaml and ruby to /usr/local like this page shows:

      http://collectiveidea.com/blog/archiv...

      (I am using CentOS)

      Also I had to rebuild tarantula.conf file based on what I found in the install.sh script. It was not being created at all for some reason.

      Cheers,
      Frank
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned

  • Tarantula was updated to use Rails 3 and Ruby 1.9.*. Using Ruby version manager (RVM) to install latest Ruby version should handle dependencies like YAML properly in both Ubuntu and CentOS/Fedora systems.

    Installation instructions which earlier were only in README at Github repository are now updated to testiatarantula.com also: http://www.testiatarantula.com/instal...

    If you want to use older Rails 2.3 based version for some reason, it's accessible through Github repository tags: https://github.com/prove/tarantula/tags
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited

  • I have reviewed the installation guide and tested it and the install.sh script on freshly installed CentOS 6.2 system. I found a couple errors on the guide/script which are now fixed.

    Unfortunately the email issue still exists, but I was able reproduce it also, so I hope we will be able to find root cause and fix it soon. Meanwhile there is following workaround.

    After the "Email can't be blank" error is shown run following:

    RAILS_ENV=production rake db:config:app
    RAILS_ENV=production rake tarantula:init_db
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • Email issue has been fixed and the fixed version is available at github now.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned

  • thanks for update

    everything works fine now

    EDIT: there is one problem:
    when i'm creating new user tarantula is sending blank e-mails with user data. and my new users can't log in because they don't have passwords

    can you look at this?

    what is the encryption of user passwords in database? so i can manualy set them
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • I’m thankful
    I am still facing a similar issue of unable to complete installation.

    any place or instructions around a docker might help or please update the readme.md file on github.

    Please :)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • Could you please send us some details (console output, e. g.) on what is failing on your environment?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited

  • can someone help me how i can change admin password by command line i cannot login default lgoin admin admin please help me

    Thanks
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited