<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Thanks, Francesco and Jeffrey.</p>
    <p>Working now.</p>
    <p>Regards,</p>
    <p>Sindile<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 04/01/2017 17:59, Francesco Bartoli
      wrote:<br>
    </div>
    <blockquote
      cite="mid:44dfz32kpl2o6m973rn9frxzj-2147483647@mailer.nylas.com"
      type="cite">
      <div>the command suggested has to be run outside containers in the
        same place where you execute the docker-compose up.<br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <signature>Sent from <a moz-do-not-send="true"
href="https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-4c316ce7-6d18/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=c2luZGlsZS5iaWRsYUBnZW9pbG9jYXRlLmNvLnph">Nylas
          N1</a>, the extensible, open source mail client.</signature><img
        moz-do-not-send="true" class="n1-open" style="border:0; width:0;
        height:0;"
src="https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-4c316ce7-6d18?r=c2luZGlsZS5iaWRsYUBnZW9pbG9jYXRlLmNvLnph"
        height="0" width="0">
      <div class="gmail_quote nylas-quote
        nylas-quote-id-e4fax2jj94ss72itqxwkx6hxj"> <br>
        On gen 4 2017, at 4:56 pm, Sindile Bidla
        <a class="moz-txt-link-rfc2396E" href="mailto:sindile.bidla@geoilocate.co.za"><sindile.bidla@geoilocate.co.za></a> wrote: <br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex;">
          <meta content="text/html; charset=utf-8">
          <p>Hi Jeffrey,</p>
          <p>In which container must i execute `make sync`</p>
          <p>I was using the following workflow as per the notes:</p>
          <p>
            <meta content="text/html; charset=utf-8">
          </p>
          <p style="box-sizing: border-box; margin-top: 0px;
            margin-bottom: 16px; color: rgb(51, 51, 51); font-family:
            -apple-system, BlinkMacSystemFont, "Segoe UI",
            Helvetica, Arial, sans-serif, "Apple Color Emoji",
            "Segoe UI Emoji", "Segoe UI Symbol";
            font-size: 16px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; font-weight: normal;
            letter-spacing: normal; orphans: 2; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
            0px;">If you want to use Docker you can now:</p>
          <pre style="box-sizing: border-box; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 16px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: rgb(247, 247, 247); border-radius: 3px; color: rgb(51, 51, 51); letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"># build the docker container
docker-compose build

# run the docker container
docker-compose up

# turn it off
docker-compose down

Regards,
Sindile
</pre>
          <br>
          <div>On 04/01/2017 17:37, Jeffrey Johnson wrote:<br>
          </div>
          <blockquote type="cite">
            <div dir="ltr">You need to execute `make sync` to run the
              migrations.</div>
            <div><br>
              <div>On Wed, Jan 4, 2017 at 6:49 AM, Sindile Bidla <span
                  dir="ltr"><<a moz-do-not-send="true"
                    href="mailto:sindile.bidla@geoilocate.co.za"
                    target="_blank">sindile.bidla@geoilocate.co.za</a>></span>
                wrote:<br>
                <blockquote style="margin:0 0 0 .8ex;border-left:1px
                  #ccc solid;padding-left:1ex">
                  <div bgcolor="#FFFFFF">
                    <p>I am trying to run geonode via the docker on
                      Ubuntu 16.04, but have been faced with the
                      following error message:</p>
                    <p>running docker ps -a</p>
                    <p><br>
                    </p>
                    <p>CONTAINER ID        IMAGE                    
                      COMMAND                  CREATED            
                      STATUS                   
                      PORTS                         <wbr>       NAMES<br>
                      543b85dfd393        geonode/nginx:geoserver  
                      "nginx -g 'daemon off"   22 hours ago        Up 22
                      hours               0.0.0.0:80->80/tcp,
                      443/tcp          geonode_nginx_1<br>
                    </p>
                    <p>9a327ceeba10        geonode/django           
                      "django-admin.py runs"   22 hours ago        Up 22
                      hours               8000/tcp                      <wbr>      
                      geonode_django_1<br>
                    </p>
                    <p>d25966950b90        geonode/django           
                      "celery worker --app="   22 hours ago       
                      Exited (0) 22 hours ago                           <wbr>            
                      geonode_celery_1<br>
                    </p>
                    <p>1501d708bca9        geonode/geoserver        
                      "/usr/local/tomcat/tm"   22 hours ago        Up 22
                      hours              
                      0.0.0.0:32769->8080/tcp       <wbr>      
                      geonode_geoserver_1<br>
                    </p>
                    <p>1978155ef4f4        rabbitmq                 
                      "docker-entrypoint.sh"   22 hours ago        Up 22
                      hours               4369/tcp, 5671-5672/tcp,
                      25672/tcp   geonode_rabbitmq_1<br>
                    </p>
                    <p>95324b25309d        postgres                 
                      "/docker-entrypoint.s"   22 hours ago        Up 22
                      hours               5432/tcp                      <wbr>      
                      geonode_postgres_1<br>
                    </p>
                    <p>63b5746192f9        geonode/geoserver_data   
                      "/bin/true"              22 hours ago       
                      Exited (0) 22 hours ago                           <wbr>            
                      geoserver_data_dir<br>
                    </p>
                    <p>b6567923df39        elasticsearch            
                      "/docker-entrypoint.s"   22 hours ago        Up 22
                      hours               9200/tcp,
                      9300/tcp                   geonode_elasticsearch_1<br>
                      <br>
                    </p>
                    <p>d25966950b90        geonode/django           
                      "celery worker --app="   22 hours ago       
                      Exited (0) 22 hours ago                           <wbr>            
                      geonode_celery_1 - Is this an expected behavior,
                      if not what could I be doing wrong?</p>
                    <p><br>
                    </p>
                    <p>Also going to <a moz-do-not-send="true"
                        href="http://localhost&r=c2luZGlsZS5iaWRsYUBnZW9pbG9jYXRlLmNvLnph"
                        target="_blank">http://localhost</a>, I get the
                      following error message:<br>
                    </p>
                    <p> </p>
                    <h1
style="padding:0px;margin:0px;font-weight:normal;color:rgb(0,0,0);font-family:sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">ProgrammingError
                      at /</h1>
                    <pre style="padding:0px;margin:10px 0px;font-size:1.5em;white-space:pre-wrap;font-family:sans-serif;color:rgb(102,102,102);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px">relation "django_site" does not exist
LINE 1: ..."django_site"."domain", "django_site"."name" FROM "django_si...
                                                             ^
</pre>
                    <table
style="padding:0px;margin:0px;border:none;border-collapse:collapse;width:1812px;background:transparent;color:rgb(0,0,0);font-family:sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
                      <tbody style="padding:0px;margin:0px">
                        <tr style="padding:0px;margin:0px">
                          <th style="padding:2px 0.5em 2px
3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Request
                            Method:</th>
                          <td style="padding:2px
                            3px;margin:0px;vertical-align:top">GET</td>
                        </tr>
                        <tr style="padding:0px;margin:0px">
                          <th style="padding:2px 0.5em 2px
3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Request
                            URL:</th>
                          <td style="padding:2px
                            3px;margin:0px;vertical-align:top"><a
                              moz-do-not-send="true"
                              href="http://localhost/"><a class="moz-txt-link-freetext" href="http://localhost/">http://localhost/</a></a></td>
                        </tr>
                        <tr style="padding:0px;margin:0px">
                          <th style="padding:2px 0.5em 2px
3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Django
                            Version:</th>
                          <td style="padding:2px
                            3px;margin:0px;vertical-align:top">1.8.7</td>
                        </tr>
                        <tr style="padding:0px;margin:0px">
                          <th style="padding:2px 0.5em 2px
3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Exception
                            Type:</th>
                          <td style="padding:2px
                            3px;margin:0px;vertical-align:top">ProgrammingError</td>
                        </tr>
                        <tr style="padding:0px;margin:0px">
                          <th style="padding:2px 0.5em 2px
3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Exception
                            Value:</th>
                          <td style="padding:2px
                            3px;margin:0px;vertical-align:top">
                            <pre style="padding:0px;margin:0px;font-size:10.5625px;white-space:pre-wrap">relation "django_site" does not exist
LINE 1: ..."django_site"."domain", "django_site"."name" FROM "django_si...
                                                             ^
</pre>
                          </td>
                        </tr>
                        <tr style="padding:0px;margin:0px">
                          <th style="padding:2px 0.5em 2px
3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Exception
                            Location:</th>
                          <td style="padding:2px
                            3px;margin:0px;vertical-align:top">/usr/local/lib/python2.7/site-<wbr>packages/django/db/backends/<wbr>utils.py
                            in execute, line 64</td>
                        </tr>
                        <tr style="padding:0px;margin:0px">
                          <th style="padding:2px 0.5em 2px
3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Python
                            Executable:</th>
                          <td style="padding:2px
                            3px;margin:0px;vertical-align:top">/usr/local/bin/python2</td>
                        </tr>
                        <tr style="padding:0px;margin:0px">
                          <th style="padding:2px 0.5em 2px
3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Python
                            Version:</th>
                          <td style="padding:2px
                            3px;margin:0px;vertical-align:top">2.7.9</td>
                        </tr>
                        <tr style="padding:0px;margin:0px">
                          <th style="padding:2px 0.5em 2px
3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Python
                            Path:</th>
                          <td style="padding:2px
                            3px;margin:0px;vertical-align:top">
                            <pre style="padding:0px;margin:0px;font-size:10.5625px;white-space:pre-wrap">['/usr/local/bin',
 '/usr/src/app',
 '/usr/local/lib/python27.zip',
 '/usr/local/lib/python2.7',
 '/usr/local/lib/python2.7/<wbr>plat-linux2',
 '/usr/local/lib/python2.7/lib-<wbr>tk',
 '/usr/local/lib/python2.7/lib-<wbr>old',
 '/usr/local/lib/python2.7/lib-<wbr>dynload',
 '/usr/local/lib/python2.7/<wbr>site-packages',
 '/usr/src/app']</pre>
          </td>
        </tr>
        <tr style="padding:0px;margin:0px">
          <th style="padding:2px 0.5em 2px 3px;margin:0px;vertical-align:top;width:12em;text-align:right;color:rgb(102,102,102)">Server time:</th>
          <td style="padding:2px 3px;margin:0px;vertical-align:top">Wed, 4 Jan 2017 08:38:38 -0600</td>
        </tr>
      </tbody>
    </table>
    <p>

    </p>
    <p>I am able to access geoserver web interface though.</p>
    <p>

    </p>
    <p>Will greatly appreciate any pointers.</p>
    <p>Regards,</p>
    <p>Sindile

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>

    </p>
    <p>
      
    </p>
  </div>


______________________________<wbr>_________________

geonode-users mailing list

<a moz-do-not-send="true" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>

<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/geonode-users&r=c2luZGlsZS5iaWRsYUBnZW9pbG9jYXRlLmNvLnph" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a>


</blockquote></div>
</div>



</blockquote>

          </blockquote>
        </div>

</blockquote>
</body></html>