[p2pu-dev] Problems with Vagrant

Jessy Kate Schingler jessy at jessykate.com
Fri Jul 13 13:58:03 UTC 2012


stian i think you should just be able to issue the more verbose "git pull
origin master" and the pull should work.


On Fri, Jul 13, 2012 at 3:52 PM, Stian Håklev <shaklev at gmail.com> wrote:

> Brilliant, it works. Amazing, to think of the hours I spent trying to get
> this to work earlier!
>
> A few questions: is the lernanta source directory pulled in from the
> lernanta github repository, so that it stays in sync with the most
> up-to-date development? I tried git pull in that directory but got
>
> stian at Monkey ~/s/l/l/lernanta> git pull
> You asked me to pull without telling me which branch you
> want to merge with, and 'branch.deploy.merge' in
> your configuration file does not tell me, either. Please
> specify which branch you want to use on the command line and
> try again (e.g. 'git pull <repository> <refspec>').
> See git-pull(1) for details.
>
> If you often merge with the same branch, you may want to
> use something like the following in your configuration file:
>
>     [branch "deploy"]
>     remote = <nickname>
>     merge = <remote-ref>
>
>     [remote "<nickname>"]
>     url = <url>
>     fetch = <refspec>
>
> See git-config(1) for details.
> ----
>
> Also, does Django automatically refresh on new code, or do I need to
> restart the server when I modify the code? (Ie. vagrant down, and then
> vagrant up again, or is there a better way?).
>
> Thanks again, this will make it way easier for people to play with
> Lernanta on their own computers, contribute small patches, translate the
> interface, etc.
>
> Stian
>
> On Fri, Jul 13, 2012 at 8:37 AM, Chris Ewald <chris at p2pu.org> wrote:
>
>> You may need to update your virtual box as well:
>> https://www.virtualbox.org/wiki/Downloads
>>
>>
>> On Fri, Jul 13, 2012 at 2:36 PM, Chris Ewald <chris at p2pu.org> wrote:
>>
>>> Hi Stian,
>>>
>>> Delete the directory and clone it again. It's all fixed now.
>>>
>>> On Fri, Jul 13, 2012 at 2:33 PM, Stian Håklev <shaklev at gmail.com> wrote:
>>>
>>>> I tried the new Vagrant procedures, I got the following error messages:
>>>>
>>>> [default] The guest additions on this VM do not match the install
>>>> version of
>>>> VirtualBox! This may cause things such as forwarded ports, shared
>>>> folders, and more to not work properly. If any of those things fail on
>>>> this machine, please update the guest additions and repackage the
>>>> box.
>>>>
>>>> Guest Additions Version: 4.1.16
>>>> VirtualBox Version: 4.1.18
>>>>
>>>> then later
>>>>
>>>> [default] Running chef-solo...
>>>> stdin: is not a tty
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] INFO: *** Chef 0.10.10 ***
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] INFO: Setting the run_list to
>>>> ["main::default", "mysql::server", "main::python", "main::lernanta"] from
>>>> JSON
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] INFO: Run List is
>>>> [recipe[main::default], recipe[mysql::server], recipe[main::python],
>>>> recipe[main::lernanta]]
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] INFO: Run List expands to
>>>> [main::default, mysql::server, main::python, main::lernanta]
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] INFO: Starting Chef Run for precise32
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] INFO: Running start handlers
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] INFO: Start handlers complete.
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] WARN: found a directory mysql in the
>>>> cookbook path, but it contains no cookbook files. skipping.
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] WARN: found a directory openssl in
>>>> the cookbook path, but it contains no cookbook files. skipping.
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] ERROR: Running exception handlers
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] ERROR: Exception handlers complete
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] FATAL: Stacktrace dumped to
>>>> /tmp/vagrant-chef-1/chef-stacktrace.out
>>>> [Fri, 13 Jul 2012 12:31:52 +0000] FATAL:
>>>> Chef::Exceptions::CookbookNotFound: Cookbook mysql not found. If you're
>>>> loading mysql from another cookbook, make sure you configure the dependency
>>>> in your metadata
>>>> Chef never successfully completed! Any errors should be visible in the
>>>> output above. Please fix your recipes so that they properly complete.
>>>>
>>>> --
>>>> http://reganmian.net/blog -- Random Stuff that Matters
>>>>
>>>>
>>>> _______________________________________________
>>>> p2pu-dev mailing list
>>>> p2pu-dev at lists.p2pu.org
>>>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> p2pu-dev mailing list
>> p2pu-dev at lists.p2pu.org
>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>>
>>
>
>
> --
> http://reganmian.net/blog -- Random Stuff that Matters
>
>
> _______________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>
>


-- 
Jessy Kate Schingler
http://jessykate.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20120713/9162533a/attachment-0001.html>


More information about the p2pu-dev mailing list