[CKAN-support] CKAN Support

Michael Speth spethm at landcareresearch.co.nz
Wed Dec 11 05:45:23 UTC 2013


Sean & Nigel,
  Greetings.  I have completed the Vagrant script.  Sorry for the delay, there were some dependency issues with puppet that I needed to resolve.  Please see the attached readme.txt for installation instructions.

After vagrant has finished deploying, you can easily access the VM by typing
vagrant ssh

This Vagrant install demonstrates the problems with accessing port 80.  It also demonstrates the error on the front page with using port 8080.

Please let me know if you have any questions.

Regards


On Sat, Dec 7, 2013 at 3:34 AM, Sean Hammond <sean.hammond at okfn.org<mailto:sean.hammond at okfn.org>> wrote:
Hi Michael, I'll wait for your Vagrant script next week then, if that can reproduce this issue then that's going to be the quickest way for me to get up to speed on this one.


On 06.12.2013 07:05, Nigel Babu wrote:
Hi Michael,

That would be great, thanks. I'll be away next week, and Sean (cc'd)
from our team will be taking over from me when I'm away.

Nigel Babu

Developer | @nigelbabu <https://twitter.com/nigelbabu>

TheOpen Knowledge Foundation <http://okfn.org/>

Empowering through Open Knowledge

http://okfn.org/ | @okfn <http://twitter.com/OKFN> | OKF on Facebook
<https://www.facebook.com/OKFNetwork> |Blog
<http://blog.okfn.org/> |Newsletter <http://okfn.org/about/newsletter>


CKAN |http://ckan.org/|@CKANproject<http://ckan.org/%7C@CKANproject> <http://twitter.com/CKANproject>|the

world’s leading open-source data portal platform


On 6 December 2013 11:17, Michael Speth <spethm at landcareresearch.co.nz<mailto:spethm at landcareresearch.co.nz>
<mailto:spethm at landcareresearch.co.nz<mailto:spethm at landcareresearch.co.nz>>> wrote:

    Hi Nigel,
       I am working on the vagrant script.  I have it provisioning the
    VM no problem.  I am running into a bit of trouble with puppet
    (adding ppa's before running other bits).  Anyways, I should have
    something to give you early next week.

    Regards


    On Fri, Dec 6, 2013 at 5:01 PM, Nigel Babu <nigel.babu at okfn.org<mailto:nigel.babu at okfn.org>
    <mailto:nigel.babu at okfn.org<mailto:nigel.babu at okfn.org>>> wrote:

        Hi Michael,

        A vagrant script that can reproduce the issues you've been
        having would be extremely useful in debugging what's going on.
        If you can please create it, I'd be extremely grateful. Thank
        you for the information on versions and Nginx config, this rules
        out most of the guesses I had as to what's going wrong.

        Nigel Babu

        Developer | @nigelbabu <https://twitter.com/nigelbabu>

        TheOpen Knowledge Foundation <http://okfn.org/>

        Empowering through Open Knowledge

        http://okfn.org/ | @okfn <http://twitter.com/OKFN> | OKF on
        Facebook <https://www.facebook.com/OKFNetwork> |Blog
        <http://blog.okfn.org/> |Newsletter
        <http://okfn.org/about/newsletter>


        CKAN |http://ckan.org/|@CKANproject<http://ckan.org/%7C@CKANproject>
        <http://twitter.com/CKANproject>|the world’s leading open-source

        data portal platform


        On 6 December 2013 07:47, Michael Speth
        <spethm at landcareresearch.co.nz<mailto:spethm at landcareresearch.co.nz>
        <mailto:spethm at landcareresearch.co.nz<mailto:spethm at landcareresearch.co.nz>>> wrote:

              *
                You've mentioned CKAN 2.0 in the notes. Is that the
                version you used before the upgrade?
                  o I'm not sure, it was an updated to version of 2.1.1.

                      The problem we are currently having is with a
                    fresh install and fresh vm of 2.1.1 so we probably
                    don't need to investigate the upgrade issue.
              *
                Can you tell me please also tell me what's the value of
                __version__ in
                /usr/lib/ckan/default/src/ckan/ckan/__init__.py?
                  o 2.1.1

              * The list of files in /etc/nginx/config.d/ and
                /etc/nginx/sites-enabled.

            $ ls /etc/nginx/conf.d/
            michaels at ckan-test:~$

            ll /etc/nginx/sites-enabled
            lrwxrwxrwx 1 root root   31 Dec  2 15:44 ckan ->
            /etc/nginx/sites-available/ckan

            Regards



            On Fri, Dec 6, 2013 at 12:13 AM, Nigel Babu
            <nigel.babu at okfn.org<mailto:nigel.babu at okfn.org> <mailto:nigel.babu at okfn.org<mailto:nigel.babu at okfn.org>>> wrote:

                Hi Michael,

                Please ensure you have support at ckan.org<mailto:support at ckan.org>
                <mailto:support at ckan.org<mailto:support at ckan.org>> in CC all the time. This lets

                someone else can takeover from me if I'm unavailable and
                they have all the information.

                Thank you for the detailed notes. That's helping quite a
                bit. I need a bit of information to debug what is
                causing your issues.

                * You've mentioned CKAN 2.0 in the notes. Is that the
                version you used before the upgrade?
                * Can you tell me please also tell me what's the value
                of __version__ in
                /usr/lib/ckan/default/src/ckan/ckan/__init__.py?
                * The list of files in /etc/nginx/config.d/ and
                /etc/nginx/sites-enabled.

                Nigel Babu

                Developer | @nigelbabu <https://twitter.com/nigelbabu>

                TheOpen Knowledge Foundation <http://okfn.org/>

                Empowering through Open Knowledge

                http://okfn.org/ | @okfn <http://twitter.com/OKFN> | OKF
                on Facebook <https://www.facebook.com/OKFNetwork> |Blog
                <http://blog.okfn.org/> |Newsletter
                <http://okfn.org/about/newsletter>


                CKAN |http://ckan.org/|@CKANproject<http://ckan.org/%7C@CKANproject>
                <http://twitter.com/CKANproject>|the world’s leading

                open-source data portal platform


                On 5 December 2013 10:52, Michael Speth
                <spethm at landcareresearch.co.nz<mailto:spethm at landcareresearch.co.nz>
                <mailto:spethm at landcareresearch.co.nz<mailto:spethm at landcareresearch.co.nz>>> wrote:

                    Hi Nigel,
                       Should I be emailing you directory or should I
                    email support at ckan.org<mailto:support at ckan.org> <mailto:support at ckan.org<mailto:support at ckan.org>>?


                    As for how we are installing ckan, I have created a
                    document that details the ckan puppet module (see
                    attached).  Please let me know if you need help with
                    this.

                    Also, I can create a vagrant project that creates a
                    vm ( in virtualbox) that uses puppet (so
                    automatically does all of this).  It will take me
                    some time to do this, but it maybe a good way for us
                    to proceed with diagnosing problems.  Note, Aaron
                    would need to approve this work too.

                    Regards


                    On Tue, Dec 3, 2013 at 6:00 PM, Nigel Babu
                    <nigel.babu at okfn.org<mailto:nigel.babu at okfn.org> <mailto:nigel.babu at okfn.org<mailto:nigel.babu at okfn.org>>>

                    wrote:

                        Hi Michael and Aaron,

                        Gavin tells me you've requested support for the
                        problems you've been having. I'd be happy to
                        work with you in figuring out the problems and
                        fixing them. Michael will be familiar with my
                        attempts at diagnosing/debugging the problems on
                        the ckan-dev list.  In the future, I'd recommend
                        you request support by directly emailing
                        support at ckan.org<mailto:support at ckan.org> <mailto:support at ckan.org<mailto:support at ckan.org>>.


                        Can you tell me what specific version of CKAN
                        you were originally using (link to package would
                        help too) and what version of CKAN you upgraded
                        to (again, link to package will help). I want to
                        rule out a problem with the package or package
                        upgrade first.

                        I'm not familiar enough with puppet to read the
                        config that you've sent us. If you can explain
                        what it does, I can help confirm whether there's
                        anything that it does that could be causing
                        problems.

                        Nigel Babu

                        Developer | @nigelbabu
                        <https://twitter.com/nigelbabu>

                        TheOpen Knowledge Foundation <http://okfn.org/>


                        Empowering through Open Knowledge

                        http://okfn.org/ | @okfn
                        <http://twitter.com/OKFN> | OKF on Facebook
                        <https://www.facebook.com/OKFNetwork> |Blog
                        <http://blog.okfn.org/> |Newsletter
                        <http://okfn.org/about/newsletter>


                        CKAN |http://ckan.org/|@CKANproject<http://ckan.org/%7C@CKANproject>
                        <http://twitter.com/CKANproject>|the world’s

                        leading open-source data portal platform




                    --
                    Michael Speth
                    DevOps Computer Engineer
                    Landcare Research Consultant

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


                    Please consider the environment before printing this
                    email
                    Warning: This electronic message together with any
                    attachments is confidential. If you receive it in
                    error: (i) you must not read, use, disclose, copy or
                    retain it; (ii) please contact the sender
                    immediately by reply email and then delete the emails.
                    The views expressed in this email may not be those
                    of Landcare Research New Zealand Limited.
                    http://www.landcareresearch.co.nz





            --
            Michael Speth
            DevOps Computer Engineer
            Landcare Research Consultant

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


            Please consider the environment before printing this email
            Warning: This electronic message together with any
            attachments is confidential. If you receive it in error: (i)
            you must not read, use, disclose, copy or retain it; (ii)
            please contact the sender immediately by reply email and
            then delete the emails.
            The views expressed in this email may not be those of
            Landcare Research New Zealand Limited.
            http://www.landcareresearch.co.nz





    --
    Michael Speth
    DevOps Computer Engineer
    Landcare Research Consultant

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


    Please consider the environment before printing this email
    Warning: This electronic message together with any attachments is
    confidential. If you receive it in error: (i) you must not read,
    use, disclose, copy or retain it; (ii) please contact the sender
    immediately by reply email and then delete the emails.
    The views expressed in this email may not be those of Landcare
    Research New Zealand Limited. http://www.landcareresearch.co.nz






--
Michael Speth
DevOps Computer Engineer
Landcare Research Consultant

________________________________

Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ckan-support/attachments/20131211/009ca227/attachment-0003.html>
-------------- next part --------------
A list of projects for using Vagrant to provision VMs that are orchestrated with puppet from the puppet-vms git repository.

In order to use this vagrant script file to install and configure the Landcare CKAN installation, follow the instructions below.

Create a directory to store the repos. This directory will be refered to as root_dir.

* Download the puppet-vms zip and unzip in the root_dir
http://ubuntuone.com/puppet-vms_branch-vagrant-ckan-snapshot-20131211.zip

* Download the vagrant-vms zip and unzip in the root_dir
http://ubuntuone.com/vagrant-vms-branch-test-ckan-snapshot-20131211.zip




More information about the ckan-support mailing list