[SAC] [OSGeo] #2774: Move planet.osgeo.org to osgeo3 geo-docs

#2774: Move planet.osgeo.org to osgeo3 geo-docs
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Keywords:
---------------------------+---------------------------------------
planet.osgeo.org is currently house on old-webextra (which is still
running wheezy). I think I've moved most things off of it. This is one I
haven't moved yet.

Plan is to move it to osgeo3-geo-docs which is not currently used for
anything at moment (though plans to house geo related docs like geoserver-
docs and geotools-docs here). These are all light-weight things.

Challenge with planet is that it relies on I think python2. I had similar
issue getting planet.postgis.net to run on newer debian (which is a fork
of the planet.osgeo.org). So I think I can work around this issue.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2774&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2774: Move planet.osgeo.org to osgeo3 geo-docs
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by robe):

Okay I have done

{{{
#on osgeo3-geo-docs

sudo usermod -a -G sudo jsanz
sudo apt install python2
cd /var/www
svn checkout https://svn.osgeo.org/osgeo/planet/venus/ venus

changed /var/www/venus/bin/planet_update.sh (to use /usr/bin/python2
(instead of /usr/bin/python) )

sh /var/www/venus/bin/planet_update.sh

#set up /etc/nginx/sites-available/planet.osgeo.org to have root
/var/www/planet
ln -s /etc/nginx/sites-available/planet.osgeo.org /etc/nginx/sites-
enabled/planet.osgeo.org

nginx -t
systemctl reload nginx
added to sudo crontab -e 5,35 * * * * sh
/var/www/venus/bin/planet_update.sh

#we can move crontab rule to a dedicated, but wanted to replicate what we
had on old server

#set up proxy config on osgeo3-osgeo3-nginx /etc/nginx/sites-
available/planet.osgeo.org
}}}

Should be accessible on

https://staging.planet.osgeo.org/

have to figure out why the without / is not working.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2774#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2774: Move planet.osgeo.org to osgeo3 geo-docs
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* cc: jsanz (added)

Comment:

okay I think the above issue I have fixed now

http://staging.planet.osgeo.org

jsanz,

can you confirm you can log into osgeo3-geo-docs and all looks good to you
Using instructions - https://wiki.osgeo.org/wiki/SAC_Service_Status#osgeo3

If all looks good, I'll move planet.osgeo.org from old-webextra to geo-
docs on osgeo3 and enable the ssl.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2774#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2774: Move planet.osgeo.org to osgeo3 geo-docs
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by robe):

Okay hopefully it's fixed once and for all. I think I was missing an ipv6
target.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2774#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2774: Move planet.osgeo.org to osgeo3 geo-docs
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by jsanz):

> can you confirm you can log into osgeo3-geo-docs and all looks good to
you

I confirm I could access osgeo3-geo-docs container and everything looks
good to me. I run the planet update script manually (as superuser) without
issues.

Thanks!!
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2774#comment:4&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2774: Move planet.osgeo.org to osgeo3 geo-docs
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by robe):

Great to hear. I'm going to start the switchover process and then will
shut down planet on old server after 72 hours to let dns propagate. I'll
close this out after 72 hrs.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2774#comment:5&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2774: Move planet.osgeo.org to osgeo3 geo-docs
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

Comment:

Okay it's moved now. Seemed to take effect immediately for me.

committed at
https://git.osgeo.org/gitea/sac/osgeo3/commit/e8368052e6f8681743dd99a75772e5a7ba7ff882

I'll close this out and put on my calendar to remove the planet.osgeo.org
from old-webextra and osgeo7 nginx in 2 days.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2774#comment:6&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.