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

Upgrading Tarantula

I've been trying out Tarantula and there have been quite a number of fixes since I made the installation. I'd now like to upgrade to the latest available Tarantula version.

How do I do that in a safe way without breaking the installation or my test data in the database?
1 person has
this question
+1
Reply
  • Ari Hakala (Prove Expertise Oy) August 13, 2012 08:40
    Update can be launched with:

    # sudo su
    # cd /opt/tarantula/rails
    # RAILS_ENV=production bundle exec rake tarantula:update

    Database is also updated by rails "migration" system, if there are any changes to schema.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Upgrade does not seem to succeed, netiher does reinstallation. There were so many issues and workaround attempts in my installation that maybe I should reformulate the question:

    How do I migrate my test data from one installation to another (clean) one? There's no export/inport as far as I've found.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Ari Hakala (Prove Expertise Oy) August 13, 2012 11:04
    You could try to export/import mysql database:

    http://www.clockwatchers.com/mysql_du...

    (Database is 'testia')

    After importing database you may need to migrate db:

    RAILS_ENV=production bundle exec rake db:migrate
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Upgrade is still problematic. Trying to upgrade (RAILS_ENV=production bundle exec rake tarantula:update) results in

    "Could not find rake-0.9.2 in any of the sources
    Run `bundle install` to install missing gems."

    'Bundle install' results in "
    "Gem::InstallError: rbx-require-relative requires Ruby version ~> 1.8.7.
    An error occured while installing rbx-require-relative (0.0.5), and Bundler cannot continue.
    Make sure that `gem install rbx-require-relative -v '0.0.5'` succeeds before bundling."

    Installation (RAILS_ENV=production rake tarantula:install) was successful originally but reinstallation results in
    "rake aborted!
    Mysql::Error: Unknown table 'case_avg_duration': DROP TABLE `case_avg_duration`"
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • "rake tarantula:update" gets the latest tagged release of Tarantula. I just made a new tag, so it should now work ok. Before, it tried to update to 2011.50.1 version of Tarantula.
    You should also run "bundle install" afterwards.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

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

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

  • I’m desperatly trying to fix this delayed jobs issue :(
    Hi Hari and Antti !

    I did a fresh install of Tarantula 2012.33.0 on RHEL Server 6.3 (x86_64) and everything worked like a charm !

    Then, I imported my DB dump of Tarantula 2011.50.1 in the database testia ... no pb...

    Then i went to /opt/tarantula/rails to execute

    RAILS_ENV=production bundle exec rake db:migrate

    ... no pb

    and then

    RAILS_ENV=production bundle exec rake tarantula:update

    and fortunately I have an error... here is the output :


    ** Invoke tarantula:update (first_time)
    ** Invoke environment (first_time)
    ** Execute environment
    ** Execute tarantula:update
    M config/database.yml
    M db/schema.rb
    D log/.gitignore
    D log/.gitkeep
    HEAD is now at 549d0b5... fix execution saving
    ** Execute db:migrate
    ** Invoke db:_dump (first_time)
    ** Execute db:_dump
    ** Invoke db:schema:dump (first_time)
    ** Invoke environment
    ** Invoke db:load_config (first_time)
    ** Execute db:load_config
    ** Execute db:schema:dump
    Restarting delayed job..
    rake aborted!
    Don't know how to build task 'tarantula:jobs:work'


    There is a problem with this :


    Restarting delayed job..
    rake aborted!
    Don't know how to build task 'tarantula:jobs:work'


    Would you know how to solve this ? I don't know if it has a connection but in the DB the table delayed_jobs keeps growing with messages like:


    --- !ruby/object:Delayed::PerformableMethod
    object: !ruby/object:Report::Dashboard
    name: Dashboard
    options:
    :user_id: 4
    :project_id: 1
    :test_area_id: 1
    :test_object_id: 5
    cache_key: !binary |-
    YjUwMjQxNWI4MzljOTRjMzQzNWFmYjc4MDlhYmQ3YzU=
    method_name: :query
    args: []


    And when I connect to Tarantula, I never get any metrics / graphics for the Dashboard...

    Thank you for your help !

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

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

  • Try running 'RAILS_ENV=production bundle exec rake tarantula:update' again. It should solve the problem.

    (I made a new release tag which actually has the task tarantula:jobs:work)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Hi Antti and Ari ! Thanks for your help and the new tag.

    I tried to update with


    RAILS_ENV=production rake tarantula:update


    But unfortunately now I have:


    Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (mysql2 is not part of the bundle. Add it to Gemfile.)

    Tasks: TOP => tarantula:update => environment


    When I type

    gem install activerecord-mysql2-adapter


    I get the following

    Successfully installed activerecord-mysql2-adapter-0.0.3
    1 gem installed


    And when I re-type the
    RAILS_ENV=production rake tarantula:update
    I still have the same error message:


    Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (mysql2 is not part of the bundle. Add it to Gemfile.)

    Tasks: TOP => tarantula:update => environment


    And also I can't access tarantula anymore through the browser as I have now a


    Ruby (Rack) application could not be started
    A source file that the application requires, is missing.
    It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
    A required library may not installed. Please install all libraries that this application requires.
    Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
    Error message:
    Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (mysql2 is not part of the bundle. Add it to Gemfile.)
    Exception class:
    LoadError
    Application root:
    /opt/tarantula/rails


    Any idea ?

    Thanks for your help guys ;)

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

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

  • What's the complete output when running 'tarantula:update'?

    You could check that you have "gem 'mysql2'" in your /opt/tarantula/rails/Gemfile and run 'bundle install', then run tarantula:update again.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Hi Antti, thank you for your help....

    So I updated the Gemfile + Gemfile.lock with the ones provided on Github.

    Then I ran bundle install successfully (see output)


    Using rake (0.9.2.2)
    Using i18n (0.6.0)
    Using multi_json (1.3.6)
    Using activesupport (3.2.8)
    Using builder (3.0.0)
    Using activemodel (3.2.8)
    Using erubis (2.7.0)
    Using journey (1.0.4)
    Using rack (1.4.1)
    Using rack-cache (1.2)
    Using rack-test (0.6.1)
    Using hike (1.2.1)
    Using tilt (1.3.3)
    Using sprockets (2.1.3)
    Using actionpack (3.2.8)
    Using mime-types (1.19)
    Using polyglot (0.3.3)
    Using treetop (1.4.10)
    Using mail (2.4.4)
    Using actionmailer (3.2.8)
    Using arel (3.0.2)
    Using tzinfo (0.3.33)
    Using activerecord (3.2.8)
    Using activeresource (3.2.8)
    Using coffee-script-source (1.3.3)
    Using execjs (1.4.0)
    Using coffee-script (2.2.0)
    Using rack-ssl (1.3.2)
    Using json (1.7.4)
    Using rdoc (3.12)
    Using thor (0.15.4)
    Using railties (3.2.8)
    Using coffee-rails (3.2.2)
    Using daemon_controller (1.0.0)
    Using daemons (1.1.9)
    Using delayed_job (3.0.3)
    Using delayed_job_active_record (0.3.2)
    Using diff-lcs (1.1.3)
    Using faker (1.0.1)
    Using fastthread (1.0.7)
    Using flexmock (0.9.0)
    Using hoe (3.0.7)
    Using jquery-rails (2.0.2)
    Using libv8 (3.3.10.4)
    Using libxml-ruby (2.3.3)
    Using machinist (2.0)
    Using memcache-client (1.8.5)
    Using mysql2 (0.3.11)
    Using passenger (3.0.15)
    Using prawn-core (0.5.0.1)
    Using prawn-format (0.2.0.1)
    Using prawn-layout (0.2.0.1)
    Using prawn (0.5.0.1)
    Using bundler (1.2.0)
    Using rails (3.2.8)
    Using rb-readline (0.4.2)
    Using rspec-core (2.11.1)
    Using rspec-expectations (2.11.2)
    Using rspec-mocks (2.11.2)
    Using rspec (2.11.0)
    Using rspec-rails (2.11.0)
    Using ruby-ole (1.2.11.4)
    Using rubyzip (0.9.9)
    Using sass (3.2.0)
    Using sass-rails (3.2.5)
    Using spreadsheet (0.6.9)
    Using test-unit (1.2.3)
    Using therubyracer (0.10.2)
    Using uglifier (1.2.7)
    Your bundle is complete! It was installed into ./vendor/bundle


    But then when I execute
    RAILS_ENV=production rake tarantula:update --trace

    I have the following messages :

    ** Invoke tarantula:update (first_time)
    ** Invoke environment (first_time)
    ** Execute environment
    ** Execute tarantula:update
    error: You have local changes to 'Gemfile'; cannot switch branches.
    ** Execute db:migrate
    ** Invoke db:_dump (first_time)
    ** Execute db:_dump
    ** Invoke db:schema:dump (first_time)
    ** Invoke environment
    ** Invoke db:load_config (first_time)
    ** Execute db:load_config
    ** Execute db:schema:dump
    Restarting delayed job.. rake aborted!
    Don't know how to build task 'tarantula:jobs:work'


    So still 2 errors:

    error: You have local changes to 'Gemfile'; cannot switch branches.
    Restarting delayed job.. rake aborted!
    Don't know how to build task 'tarantula:jobs:work'


    Maybe it might be easier to uninstall / re-install Tarantula... Would you have any command to uninstall and reinstall ?

    Because I tried

    RAILS_ENV=production rake tarantula:install


    but it ended with

    Mysql2::Error: Unknown table 'case_avg_duration': DROP TABLE `case_avg_duration`

    Tasks: TOP => db:schema:load


    And I retried with the install script

    bash install.sh


    but it doesn't work either:

    error: You have local changes to 'Gemfile'; cannot switch branches.


    Thanks for your precious help,

    Best regards,

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

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

  • One last thing to try (reset everything):
    git reset HEAD --hard
    git checkout master
    git pull
    bundle install
    RAILS_ENV=production rake db:migrate

    If these go well, then:
    RAILS_ENV=production rake assets:precompile
    /etc/init.d/delayed_job restart
    touch /opt/tarantula/rails/tmp/restart.txt

    Good luck. If this doesn't work, I suggest reinstall from scratch.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • I’m so happy !
    Antti !!!!!!!!! Thank you so much !

    You really deserve your "Champ" status !

    I applied the commands you provided and everything works like a charm now...
    I re-imported my testia DB with PROD data onto the new server, and executed without any problem

    RAILS_ENV=production bundle exec rake db:migrate


    Just one little thing, I had to set ownership to apache:apache for all files in /opt/tarantula/rails to be able to access tarantula (otherwise had a message error related to permissions).

    I'm now using 2012.36.1, my PROD data are back, and the dashboard displays graphics / charts. Plus no more weird things in the delayed_jobs table.

    Once again, thank you for your help, you're the man !

    Best regards,

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

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

  • How do we know when a new version is available?

    Are there release notes?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • I recently upgraded tarantula to the latest version without any errors. Now, when i restart apache and try to open the login page, i get the below error.

    [Sat Apr 13 00:45:27 2013] [error] *** Passenger could not be initialized because of this error: The Passenger spawn server script, '/opt/tarantula/rails/vendor/bundle/ruby/1.9.1/gems/passenger-3.0.15/lib/phusion_passenger/passenger-spawn-server', does not exist. Please check whether the 'PassengerRoot' option is specified correctly.
    [Sat Apr 13 00:45:27 2013] [warn] module passenger_module is already loaded, skipping
    [Sat Apr 13 00:45:27 2013] [warn] module passenger_module is already loaded, skipping
    [Sat Apr 13 00:45:27 2013] [error] *** Passenger could not be initialized because of this error: The Passenger spawn server script, '/opt/tarantula/rails/vendor/bundle/ruby/1.9.1/gems/passenger-3.0.15/lib/phusion_passenger/passenger-spawn-server', does not exist. Please check whether the 'PassengerRoot' option is specified correctly.
    [Sat Apr 13 00:45:27 2013] [notice] Apache/2.2.22 (Ubuntu) Phusion_Passenger/2.2.11 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in `materialize': Could not find rake-0.9.2.2 in any of the sources (Bundler::GemNotFound)
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `map!'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `materialize'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in `specs'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:159:in `specs_for'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:148:in `requested_specs'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/environment.rb:18:in `requested_specs'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:13:in `setup'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler.rb:120:in `setup'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/setup.rb:17
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:59:in `gem_original_require'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:59:in `require'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /opt/tarantula/rails/config/boot.rb:6
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /opt/tarantula/rails/config/application.rb:1:in `require'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /opt/tarantula/rails/config/application.rb:1
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /opt/tarantula/rails/public/../config/environment.rb:2:in `require'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /opt/tarantula/rails/public/../config/environment.rb:2
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /opt/tarantula/rails/public/dispatch.cgi:3:in `require'
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] \tfrom /opt/tarantula/rails/public/dispatch.cgi:3
    [Sat Apr 13 00:45:36 2013] [error] [client 10.170.12.12] Premature end of script headers: dispatch.cgi
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • I tried importing my production database to a test database on my test application. It seems that not all the info is in the application though.

    I can now see people's usernames and test cases, but I do not see who executed test cases, and the version history etc.

    I could not get RAILS_ENV=production bundle exec rake db:migrate
    to work. I get this error:
    Could not find i18n-0.6.1 in any of the sources
    Run `bundle install` to install missing gems.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Ari Hakala (Prove Expertise Oy) September 18, 2013 04:31
    Hello Andrew!

    Have you looked following regarding migrate problem:

    http://stackoverflow.com/questions/94...

    How did you import data? Test execution history is in database, and it should be available if everything is imported. (Almost everyting is in database except for some system settings etc.)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • I am trying to install tarantula and am not succeeding.
    after finally getting the installation I get this error when opening the webpage

    It looks like Bundler could not find a gem. This is probably because your
    application is being run under a different environment than it's supposed to.
    Please check the following:

    * Is this app supposed to be run as the `apache` user?
    * Is this app being run on the correct Ruby interpreter? Below you will
    see which Ruby interpreter Phusion Passenger attempted to use.
    * Are you using RVM? Please check whether the correct gemset is being used.
    * If all of the above fails, try resetting your RVM gemsets:
    https://github.com/phusion/passenger/...

    -------- The exception is as follows: -------
    Could not find i18n-0.6.9 in any of the sources (Bundler::GemNotFound)

    but I see that the i18n is installed.

    any suggestions?

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

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

  • Are you running as root, or another user? Have you checked which rvm is being used?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • I have opened the html page from a different server. the installation I did as root and the httpd started automatically after restart.

    when I installed I used the requested rvm(1.9.3) as in the installation instructions.
    how do I check which is being used in the runtime?

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

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

  • 'ruby --version' will give you the ruby version. If it isn't using 1.9.3 then you need to do 'rvm use 1.9.3'.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • when I login with root i see that the ruby version is 2.1 so i guess this is my problem. but I have run the command
    dvm use 1.9.3
    and then restarted the httpd but its still doesn't solve the issue.

    is there somewhere else I need to configure the default ruby version?
    or maybe remove the 2.1 ruby?

    thanks

    [root@ip-xxx.xxx.xxx.xx pa]# ruby --version
    ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
    [root@ip-xxx.xxx.xxx.xx pa]# rvm use 1.9.3
    Using /usr/local/rvm/gems/ruby-1.9.3-p484
    [root@ip-xxx.xxx.xxx.xx pa]# service httpd restart
    Stopping httpd: [ OK ]
    Starting httpd: [ OK ]
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

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

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

  • 1
    Just to update that the reason it wasn't working for me is that I DIDN"T read the instructions as suggested and tried installing on a 64bit server rather than a 32 bit server as recommended.

    once I moved it to a 32bit instance everything installed without any problems.

    Hope this helps others.
    thanks for the suggestions.

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

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

  • We are trying out tarantula and today ran into a problem. I don't recall any changes being done to the VirtualBox install and I have a Ruby(Rack) error message(Image below). So, I went ahead and executed steps to update tarantula and that did nothing. Anyone have any idea why I am getting the error?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

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

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

  • Hey Tim I think the issue may be that the user running the command doesn't have permissions to the log. What happens is every so often the log file fills up and a new one gets created. If you had a user that had permissions on the directory, then now they won't have permissions to the newly created file!

    I found that the solution was to either run as root, or give the group that owns the files the write privilege again. In my case apache was the group that owned and runs the files, so I added my self to the apache group like so:
    sudo /usr/sbin/usermod -aG apache myusername
    Then I made sure to give the group the write privelage like so:
    sudo chmod g+w /opt/tarantula/rails/log/production.log

    I'm using CentOS(just like RHEL) for this.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

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

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

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

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