Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorsilverbow
    • CommentTimeNov 14th 2007
     permalink
    What is required to run this on my own server in a company intranet?
    • CommentAuthoradmin
    • CommentTimeNov 16th 2007
     permalink
    A machine running some kind of Unix (preferably Linux), MySQL, and possibly Apache or the ruby based webserver Mongrel.

    It does consume quite a bit more memory than I'd like at the moment, but I'm a bit stumped as to why.

    -- Erlend
    • CommentAuthorzoeselina
    • CommentTimeNov 27th 2007
     permalink
    We are looking into a local installation also. Can you tell me how easy/difficult it will be to add updates as you develop them? Also, we have put some data into your server to test with... is it possible to get a copy of this data to put on our local installation?

    Thanks for your dedication to this product. It is far and away the best one I have seen in four months of searching. :)
    • CommentAuthoradmin
    • CommentTimeNov 27th 2007
     permalink
    Getting updates usually goes something like this:

    darcs pull
    rake db:migrate
    rake asset:packager:build_all
    [restart webserver]


    The only problem is if you do local modifications, as Darcs is pretty bad at resolving conflicts. I've considered moving to Git to get better branching and conflict resolution, but I haven't decided one way or the other yet.

    As for getting the data, it's unfortunately not possible yet, as I've still to write the export/import feature planned.

    -- Erlend
    • CommentAuthorzoeselina
    • CommentTimeNov 27th 2007
     permalink
    Okay thanks :)
    • CommentAuthordarkpollo
    • CommentTimeDec 5th 2007
     permalink
    Unable to create storage directory.
    I have got this error when i try to upload an avatar into my Local Instalation.

    thank you
    • CommentAuthoradmin
    • CommentTimeDec 5th 2007
     permalink
    Step 6 from the README

    (or just do a 'mkdir -p store/avatars; chmod a+rwx store/avatars')

    -- Erlend
    • CommentAuthordarkpollo
    • CommentTimeDec 5th 2007
     permalink
    mmm.
    I thought i had made every step.
    Maybe i got an error and i didnt notice.
    Thanks!
    • CommentAuthordarkpollo
    • CommentTimeDec 6th 2007 edited
     permalink
    My readme has not that line about stores... :P
    Done and working. Thanks!
    • CommentAuthordarkpollo
    • CommentTimeDec 6th 2007 edited
     permalink
    darcs pull
    rake db:migrate
    rake asset:packager:build_all
    [restart webserver]

    Done perfect, but i am not sure how to restart the mongrel server... :P
    Thanks
    PD: now i have restarted computer, but i am sure that must be another method :)
    • CommentAuthoradmin
    • CommentTimeDec 6th 2007
     permalink
    Restarting mongrel depends on how you're starting it in the first place.

    -- Erlend
    • CommentAuthordarkpollo
    • CommentTimeDec 6th 2007
     permalink
    I started it with: ./script/server
    :P
    • CommentAuthoradmin
    • CommentTimeDec 6th 2007
     permalink
    then you press ctrl+c in the window where the server is running, and start it over. :-)

    -- Erlend
    • CommentAuthordarkpollo
    • CommentTimeDec 6th 2007
     permalink
    but, if i close that window?
    I start a terminal window on my Xubuntu, i write the ".script/server" command and after that i close the window...
    :P
    No place to press Ctrol+C
    :D
    • CommentAuthoradmin
    • CommentTimeDec 6th 2007
     permalink
    Then if you'd usually end up killing the server process as well, but if not you can try something like:

    ps awx | grep script/server
    <copy the number from the line looking like 'ruby script/server'>
    kill <number you copied>

    -- Erlend
    • CommentAuthordarkpollo
    • CommentTimeDec 6th 2007
     permalink
    It works like a charm. :D
    Thanks again.
  1.  permalink
    Erlend, read your coments about consuming a lot of memory locally. We are trying to use ClockingIT installed in a local server, but we are facing some performance problems, like sometimes it takes much time to just start or stop the clock of a task (from few seconds to a minute). I wonder if the presumed problem is memory or if you know whether ClockingIT uses a lot of CPU or I/O.

    Thanks in advance.
    • CommentAuthoradmin
    • CommentTimeJan 8th 2008
     permalink
    That shouldn't take much time. How much memory do you have available? It should start out at about 50Mb then sloooowly grow. If it takes upto a minute, there is probably something else amiss. Have a look at log/production.log or (log/development.log depending on your preferred environment) and see what render/database times you get. Also see if the request is started shortly after you click on something or if it takes forever to even reach the server.

    -- Erlend
  2.  permalink
    Thanks for the help. I have more than 500Mb of memory. I'll see these aspects you have told me and try to guess the problem.
  3.  permalink
    Hi, Erlend

    We have investigated the problem during these days and I've found that something strange happens in the log. First, there are much more requests logged than it is supposed to be. Is there any mechanism that from time to time make requests, like trying to dynamically update task lists? If it is so, then the problem may be in the excess of requests.

    About the database and render times I get, I think it is strange that many tasks take more or less 10 seconds and except tasks like quering open tasks that are natural database consumers, most of the time (seventy to eighty percent) is spent on rendering pages and this should not be an issue, unless there are some strange behavior in the application that makes the rendering very slow on our server.

    If you have some insights about my problem, please, let me know.

    Thanks in advance.
    • CommentAuthoradmin
    • CommentTimeJan 15th 2008
     permalink
    There is a background call to the server every 90 seconds, but for that to become a problem you'd need pages taking several minutes to render.

    How many users/tasks are you trying to support? At work we're running 50 users with 2500 tasks on an old discarded server, with both webserver and database running on the same machine without any problems at all.

    What database backend are you using?
    What webserver?

    -- Erlend
  4.  permalink
    We are using Apache webserver and Postgres database. We realized that Postgres has a very bad way of cleaning the unused data and that the database had a lot of trash in it, that is why the queries were so slow.

    Now we made some improvements in the database and the performance is a bit better. Later we will try to change the environment to a better one.

    Thanks for all the help
    • CommentAuthoradmin
    • CommentTimeJan 16th 2008
     permalink
    Apache with FastCGI? Or mod_proxy_balance and mongrel/webrick?

    -- Erlend
    • CommentAuthorkpihus
    • CommentTimeMay 12th 2008 edited
     permalink
    Hello,
    Is it possible to install it under Windows ? All: Apache, MySQL and ruby work under windows, so can i install Clockingit also under windows ?

    --
    kpihus
    • CommentAuthoradmin
    • CommentTimeMay 12th 2008
     permalink
    In theory, yes, although I've never tried, as Ferret (which is used for search) was unavailable in precompiled form. I think this is no longer the case, so if you can install all the required gems it should work.

    -- Erlend
    • CommentAuthorm4rtijn
    • CommentTimeJun 13th 2008
     permalink
    Hi, I've been trying to install clockingIT on win32.

    I managed to get everything up'n'running apart from the ferret server.. I did install the ferret and acts_as_ferret Gems.. But I can not start ferret server.

    If I run:

    C:\darcs\cit>ruby ./script/runner "load './lib/daemons/ferret_server'"
    C:/darcs/cit/vendor/rails/railties/lib/commands/runner.rb:47: undefined method `start' for ActsAsFerret::Remote::Server:Class (NoMethodError)
    from C:/darcs/cit/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:489:in `load'
    from C:/darcs/cit/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:489:in `load'
    from C:/darcs/cit/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
    from C:/darcs/cit/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:489:in `load'
    from (eval):1
    from ./script/runner:3:in `eval'
    from C:/darcs/cit/vendor/rails/railties/lib/commands/runner.rb:47
    from ./script/runner:3:in `require'
    from ./script/runner:3

    -----------------------

    If I run:

    C:\darcs\cit>ruby ./script/ferret_server start --debug
    can't convert nil into String
    ./script/../vendor/plugins/acts_as_ferret/lib/server_manager.rb:39:in `dirname'
    ./script/../vendor/plugins/acts_as_ferret/lib/server_manager.rb:39
    ./script/ferret_server:4:in `require'
    ./script/ferret_server:4

    ---------------------

    I did set the environment to PRODUCTION in my /cit/config/environments.rb without any changes.
    I also tried to run:

    C:\darcs\cit>ruby ./script/ferret_server --environment=PRODUCTION start --debug

    with the same result..

    For any ideas/solutions etc. I would be very gratefull

    Kind regeards
    m4rtijn
    • CommentAuthoradmin
    • CommentTimeJun 13th 2008
     permalink
    I think I'd have a look at the ferret homepage, and see if they have some tips for running under windows. I've personally no idea.

    -- Erlend