[SAC] Re: qgis web migration to osgeo

On Thu, May 22, 2008 at 8:44 AM, Otto Dassau <otto.dassau@gmx.de> wrote:

Hi Frank,

we found some volunteers in the qgis community who want to help us migrating the
web from qgis.org to qgis.osgeo.org. Tim Sutton told me that I can
probably coordinate this with you and/or maybe IRC 'hobu'?.

All volunteers have already joomla experience so we would like to use it again
at osgeo. Is that possible and how can we proceed?

Otto,

OSGeo's System Administration Committee does not
support Joomla directly, so you are in the position
that you need to install and support it yourself. Assuming
it isn't too awfully demanding from a resource point of view
i would expect it to be hosted on the telascience blade
xblade14-2 which is the same server hosting grass.osgeo.org
and www.gdal.org. It is also upload.osgeo.org so any QGIS
folks with accounts there for uploading stuff to the download
server already have access. If you need new folks to have
accounts on the system, please email me directly or file a
ticket against SAC in the OSGeo Trac instance.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent

On 5/22/08, Otto Dassau <otto.dassau@gmx.de> wrote:

Hi Frank,

that sound's nice and simple - I am happy we don't have to switch. I will
talk to the qgis volunteers and then come back to you. I guess what we already
need for the beginning is a qgis.osgeo.org subdomain on the telascience server
and a mysql database for the new joomla installation, could you arrange that for
us, please?

And because we want to prune the current qgis website back to the very
essentials, we plan to use qgis.osgeo.org as a test environment in the beginning
and I would like to ask, if we can have a htaccess password as well, so only the
people directly involved and the QGIS PSC can see and discuss the new template
and design until we officially migrate.

Otto,

.htaccess files should be no problem. If you need to do anything really
funky on the apache server you might want to run your own apache
instance on a distinct port. Almost anything is possible if you are
willing to document and maintain it.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent

Hi Frank,

for the moment I would need some space on the telascience blade xblade14-2
that I can reach via qgis.osgeo.org, then a .htaccess file and a mysql
database for my joomla installation.

Can you provide that for me or do I have administration rights to do that
myself?

regards,
Otto

On Thu, 22 May 2008 16:04:43 -0400
"Frank Warmerdam" <warmerdam@pobox.com> wrote:

On 5/22/08, Otto Dassau <otto.dassau@gmx.de> wrote:
> Hi Frank,
>
> that sound's nice and simple - I am happy we don't have to switch. I will
> talk to the qgis volunteers and then come back to you. I guess what we
> already
> need for the beginning is a qgis.osgeo.org subdomain on the telascience
> server
> and a mysql database for the new joomla installation, could you arrange
> that for us, please?
>
> And because we want to prune the current qgis website back to the very
> essentials, we plan to use qgis.osgeo.org as a test environment in the
> beginning and I would like to ask, if we can have a htaccess password as
> well, so only the people directly involved and the QGIS PSC can see and
> discuss the new template and design until we officially migrate.

Otto,

.htaccess files should be no problem. If you need to do anything really
funky on the apache server you might want to run your own apache
instance on a distinct port. Almost anything is possible if you are
willing to document and maintain it.

Best regards,

On 5/23/08, Otto Dassau <otto.dassau@gmx.de> wrote:

Hi Frank,

for the moment I would need some space on the telascience blade xblade14-2
that I can reach via qgis.osgeo.org, then a .htaccess file and a mysql
database for my joomla installation.

Can you provide that for me or do I have administration rights to do that
myself?

Otto,

I have provided "sudo" priveledges to the odassau account on the
xblade14-2 machine. Currently there is no specific dns entry for
qgis.osgeo.org so it is captured by the wildcard dns entry and
pointed at www.osgeo.org. I would encourage you to file a SAC
Trac ticket requesting this be pointed at xblade14-2. In the
meantime you can login to it by ip# or using another name,
like upload.osgeo.org.

Please place all QGIS/Joomla related files you create in
/osgeo/qgis so it is possible to tell what they are.

I'm no mysql guru, so go ahead and make a mysql database.
I presume it will be created off in some standard mysql location
instead of within the /osgeo/qgis area. I can't think of any practical
way to avoid that.

Keep in mind there is no system level backups for xblade14-2.
So one thing you will eventually need to setup is backups for
any part of things you want to keep safe. There aren't many
limits on what you can install, but conversely there is very
little provided support from SAC.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent

On Fri, 23 May 2008 05:59:02 -0400
"Frank Warmerdam" <warmerdam@pobox.com> wrote:

On 5/23/08, Otto Dassau <otto.dassau@gmx.de> wrote:
> Hi Frank,
>
> for the moment I would need some space on the telascience blade xblade14-2
> that I can reach via qgis.osgeo.org, then a .htaccess file and a mysql
> database for my joomla installation.
>
> Can you provide that for me or do I have administration rights to do that
> myself?

Otto,

I have provided "sudo" priveledges to the odassau account on the
xblade14-2 machine. Currently there is no specific dns entry for
qgis.osgeo.org so it is captured by the wildcard dns entry and
pointed at www.osgeo.org. I would encourage you to file a SAC
Trac ticket requesting this be pointed at xblade14-2. In the
meantime you can login to it by ip# or using another name,
like upload.osgeo.org.

Please place all QGIS/Joomla related files you create in
/osgeo/qgis so it is possible to tell what they are.

thanks a lot. I created an /osgeo/qgis/qgis-web folder and will send a ticket
request to SAC that qgis.osgeo.org links to it on the xblade14-2 server.

I'm no mysql guru, so go ahead and make a mysql database.
I presume it will be created off in some standard mysql location
instead of within the /osgeo/qgis area. I can't think of any practical
way to avoid that.

yes, no problem. MySQL is running on that machine so I can prepair everything
I need with sudo rights.

Keep in mind there is no system level backups for xblade14-2.
So one thing you will eventually need to setup is backups for
any part of things you want to keep safe. There aren't many
limits on what you can install, but conversely there is very
little provided support from SAC.

ok, we find a solution for that.

Best regards,

thanks a lot for your help so far.

kind regards,
  Otto

On Fri, May 23, 2008 at 1:29 PM, Otto Dassau <otto.dassau@gmx.de> wrote:

On Fri, 23 May 2008 05:59:02 -0400
"Frank Warmerdam" <warmerdam@pobox.com> wrote:

...

I'm no mysql guru, so go ahead and make a mysql database.
I presume it will be created off in some standard mysql location
instead of within the /osgeo/qgis area. I can't think of any practical
way to avoid that.

yes, no problem. MySQL is running on that machine so I can prepair everything
I need with sudo rights.

Keep in mind that the GRASS Wiki is using MySQL there on that blade.

Please document things here:
http://wiki.osgeo.org/wiki/SAC_Service_Status#xblade14-2_.28buildbot_.7C_GDAL_.7C_GRASS_.7C_remotesensing.org.29

Markus

On Fri, 23 May 2008 15:28:05 +0200
"Markus Neteler" <neteler@osgeo.org> wrote:

On Fri, May 23, 2008 at 1:29 PM, Otto Dassau <otto.dassau@gmx.de> wrote:
> On Fri, 23 May 2008 05:59:02 -0400
> "Frank Warmerdam" <warmerdam@pobox.com> wrote:
...
>> I'm no mysql guru, so go ahead and make a mysql database.
>> I presume it will be created off in some standard mysql location
>> instead of within the /osgeo/qgis area. I can't think of any practical
>> way to avoid that.
>
> yes, no problem. MySQL is running on that machine so I can prepair
> everything I need with sudo rights.

Keep in mind that the GRASS Wiki is using MySQL there on that blade.

Please document things here:

http://wiki.osgeo.org/wiki/SAC_Service_Status#xblade14-2_.28buildbot_.7C_GDAL_.7C_GRASS_.7C_remotesensing.org.29

ah, good to know Markus - I will take care and add some notes to the wiki when
it is running.

thanks
Otto

Markus
_______________________________________________
Sac mailing list
Sac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/sac

On Thu, 22 May 2008 11:14:50 -0400
"Frank Warmerdam" <warmerdam@pobox.com> wrote:

On Thu, May 22, 2008 at 8:44 AM, Otto Dassau <otto.dassau@gmx.de> wrote:
> Hi Frank,
>
> we found some volunteers in the qgis community who want to help us migrating
> the web from qgis.org to qgis.osgeo.org. Tim Sutton told me that I can
> probably coordinate this with you and/or maybe IRC 'hobu'?.
>
> All volunteers have already joomla experience so we would like to use it
> again at osgeo. Is that possible and how can we proceed?

Otto,

OSGeo's System Administration Committee does not
support Joomla directly, so you are in the position
that you need to install and support it yourself. Assuming
it isn't too awfully demanding from a resource point of view
i would expect it to be hosted on the telascience blade
xblade14-2 which is the same server hosting grass.osgeo.org
and www.gdal.org. It is also upload.osgeo.org so any QGIS
folks with accounts there for uploading stuff to the download
server already have access. If you need new folks to have
accounts on the system, please email me directly or file a
ticket against SAC in the OSGeo Trac instance.

Hi Frank,

can you please create a new account "taraAthan" for Tara Athan on the xblade14-2
server. She will manage the QGIS doc and data folders at
http://download.osgeo.org/qgis/

thanks a lot
Otto

Best regards,

Otto Dassau wrote:

Hi Frank,

can you please create a new account "taraAthan" for Tara Athan on the xblade14-2
server. She will manage the QGIS doc and data folders at http://download.osgeo.org/qgis/

Otto,

You have sudo permissions, go ahead and do this yourself.

When adding new users I'd appreciate your using "chfn" to set
attach the persions full name, email address and project name to the
password record. The email address and project name can just be stuffed
into office and telaphone fields if you like.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org

On Mon, 26 May 2008 10:29:41 -0400
Frank Warmerdam <warmerdam@pobox.com> wrote:

Otto Dassau wrote:
> Hi Frank,
>
> can you please create a new account "taraAthan" for Tara Athan on the
> xblade14-2 server. She will manage the QGIS doc and data folders at
> http://download.osgeo.org/qgis/

Otto,

You have sudo permissions, go ahead and do this yourself.

When adding new users I'd appreciate your using "chfn" to set
attach the persions full name, email address and project name to the
password record. The email address and project name can just be stuffed
into office and telaphone fields if you like.

ok, even better - thanks a lot
Otto

Best regards,

Dear SAC team,

I would like to know when we can expect to have a qgis.osgeo.org domain running
on the xblade14-2 server as requested in ticket #259 ->
http://trac.osgeo.org/osgeo/ticket/259, so we can plan our next steps. Or do you
need further information?

thanks a lot for your support
Otto

On Mon, 26 May 2008 17:02:21 +0200
Otto Dassau <otto.dassau@gmx.de> wrote:

On Mon, 26 May 2008 10:29:41 -0400
Frank Warmerdam <warmerdam@pobox.com> wrote:

> Otto Dassau wrote:
> > Hi Frank,
> >
> > can you please create a new account "taraAthan" for Tara Athan on the
> > xblade14-2 server. She will manage the QGIS doc and data folders at
> > http://download.osgeo.org/qgis/
>
> Otto,
>
> You have sudo permissions, go ahead and do this yourself.
>
> When adding new users I'd appreciate your using "chfn" to set
> attach the persions full name, email address and project name to the
> password record. The email address and project name can just be stuffed
> into office and telaphone fields if you like.

ok, even better - thanks a lot
Otto

> Best regards,
_______________________________________________
Sac mailing list
Sac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/sac

Hi Markus,

On Fri, 23 May 2008 15:28:05 +0200
"Markus Neteler" <neteler@osgeo.org> wrote:

On Fri, May 23, 2008 at 1:29 PM, Otto Dassau <otto.dassau@gmx.de> wrote:
> On Fri, 23 May 2008 05:59:02 -0400
> "Frank Warmerdam" <warmerdam@pobox.com> wrote:
...
>> I'm no mysql guru, so go ahead and make a mysql database.
>> I presume it will be created off in some standard mysql location
>> instead of within the /osgeo/qgis area. I can't think of any practical
>> way to avoid that.
>
> yes, no problem. MySQL is running on that machine so I can prepair
> everything I need with sudo rights.

Keep in mind that the GRASS Wiki is using MySQL there on that blade.

I don't have privileges to create a new mysql database for joomla on that
server. Can you tell me how to get access to create a new database and give me
admin rights?

thanks,
Otto

Please document things here:

http://wiki.osgeo.org/wiki/SAC_Service_Status#xblade14-2_.28buildbot_.7C_GDAL_.7C_GRASS_.7C_remotesensing.org.29

Markus
_______________________________________________
Sac mailing list
Sac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/sac

Otto Dassau wrote:

Hi Markus,

On Fri, 23 May 2008 15:28:05 +0200
"Markus Neteler" <neteler@osgeo.org> wrote:

On Fri, May 23, 2008 at 1:29 PM, Otto Dassau <otto.dassau@gmx.de> wrote:

On Fri, 23 May 2008 05:59:02 -0400
"Frank Warmerdam" <warmerdam@pobox.com> wrote:

...

I'm no mysql guru, so go ahead and make a mysql database.
I presume it will be created off in some standard mysql location
instead of within the /osgeo/qgis area. I can't think of any practical
way to avoid that.

yes, no problem. MySQL is running on that machine so I can prepair
everything I need with sudo rights.

Keep in mind that the GRASS Wiki is using MySQL there on that blade.

I don't have privileges to create a new mysql database for joomla on that
server. Can you tell me how to get access to create a new database and give me
admin rights?

Otto,

You have sudo priveledges on the telascience blade, so you can create
new databases. However, you might use those permissions with caution.
If you aren't too confident you know what you are doing, and whether it
might impact other use of the server, then ask for additional help.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org

On Wed, 04 Jun 2008 10:01:18 -0400
Frank Warmerdam <warmerdam@pobox.com> wrote:

Otto Dassau wrote:
> Hi Markus,
>
> On Fri, 23 May 2008 15:28:05 +0200
> "Markus Neteler" <neteler@osgeo.org> wrote:
>
>> On Fri, May 23, 2008 at 1:29 PM, Otto Dassau <otto.dassau@gmx.de> wrote:
>>> On Fri, 23 May 2008 05:59:02 -0400
>>> "Frank Warmerdam" <warmerdam@pobox.com> wrote:
>> ...
>>>> I'm no mysql guru, so go ahead and make a mysql database.
>>>> I presume it will be created off in some standard mysql location
>>>> instead of within the /osgeo/qgis area. I can't think of any practical
>>>> way to avoid that.
>>> yes, no problem. MySQL is running on that machine so I can prepair
>>> everything I need with sudo rights.
>> Keep in mind that the GRASS Wiki is using MySQL there on that blade.
>
> I don't have privileges to create a new mysql database for joomla on that
> server. Can you tell me how to get access to create a new database and give
> me admin rights?

Otto,

You have sudo priveledges on the telascience blade, so you can create
new databases. However, you might use those permissions with caution.
If you aren't too confident you know what you are doing, and whether it
might impact other use of the server, then ask for additional help.

Yes, I tried with my priveledges, but it doesn't work, so yes, I could need some
help. I tried to add a new database as root and odassau as you can see below,
but didn't succeed with access denied:

[odassau@xblade14-2 ~]$ sudo mysqladmin -u root -p create joomla_qgisweb
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

[odassau@xblade14-2 ~]$ sudo mysqladmin -u odassau -p create joomla_qgisweb
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'odassau'@'localhost' (using password: YES)'

I am no mysql guru, so maybe someone can help, what user is allowed to create a
database under mySQL and what do I need to do and make wrong following the steps
described in the joomla manual (see below)?

#########
# 3.2.1. Create and Configure the MySQL Database
# To create the MySQL database run the following as the "root" user.
#
# [root@t1 tmp]# mysqladmin -u root -p create Joomla
# Enter password:
# [root@t1 tmp]#

# Now we need to create a MySQL user for Joomla! Here is a sample session. First
# you need to log in to MySQL as "root" and then create the user with all
# priviliges for the Joomla! database. In this example I created the user
# "joomla_admin" with the password "lockbox".

# [root@t1 tmp]# mysql -u root -p
# Enter password:
# Welcome to the MySQL monitor. Commands end with ; or \g.
# Your MySQL connection id is 60 to server version: 5.0.17-standard
    
# Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    
# mysql> GRANT ALL PRIVILEGES ON Joomla.* TO joomla_admin@localhost
# IDENTIFIED BY 'lockbox'; Query OK, 0 rows affected (0.00 sec)
    
# mysql> flush privileges;
# Query OK, 0 rows affected (0.00 sec)
    
# mysql> quit
# Bye
# [root@t1 tmp]#
########

thanks a lot,
Otto

Best regards,

Otto Dassau wrote:

You have sudo priveledges on the telascience blade, so you can create
new databases. However, you might use those permissions with caution.
If you aren't too confident you know what you are doing, and whether it
might impact other use of the server, then ask for additional help.

Yes, I tried with my priveledges, but it doesn't work, so yes, I could need some
help. I tried to add a new database as root and odassau as you can see below,
but didn't succeed with access denied:

[odassau@xblade14-2 ~]$ sudo mysqladmin -u root -p create joomla_qgisweb
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

Otto,

Ah yes, I see your point. I don't know the mysql root password either.
Hopefully the grass folks or someone else familiar will speak up.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org

On 4-Jun-08, at 7:22 AM, Otto Dassau wrote:

[odassau@xblade14-2 ~]$ sudo mysqladmin -u root -p create joomla_qgisweb
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

I don't think you need the "-p" option when you are forcing it to log in via -u root and sudo. Try removing the "-p" and that might help.

Tyler

On Wed, 4 Jun 2008 08:58:12 -0700
"Tyler Mitchell (OSGeo)" <tmitchell@osgeo.org> wrote:

On 4-Jun-08, at 7:22 AM, Otto Dassau wrote:

> [odassau@xblade14-2 ~]$ sudo mysqladmin -u root -p create
> joomla_qgisweb
> Enter password:
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password:
> YES)'

I don't think you need the "-p" option when you are forcing it to log
in via -u root and sudo. Try removing the "-p" and that might help.

thanks for your suggestion Tyler but unfortunately no. I also guess I need the
pw for the MySQL root:

[odassau@xblade14-2 ~]$ sudo mysqladmin -u root create joomla_qgisweb
Password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

regards,
Otto

Tyler

Hi Otto,

2008/6/4 Otto Dassau <otto.dassau@gmx.de>:

> [odassau@xblade14-2 ~]$ sudo mysqladmin -u root -p create
> joomla_qgisweb
> Enter password:
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password:
> YES)'

I don't think you need the "-p" option when you are forcing it to log
in via -u root and sudo. Try removing the "-p" and that might help.

thanks for your suggestion Tyler but unfortunately no. I also guess I need the
pw for the MySQL root:

[odassau@xblade14-2 ~]$ sudo mysqladmin -u root create joomla_qgisweb
Password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

sorry for the late response. You need mysql root password, I can put
password to /root/mysql (permission 600) for a while, maybe Markus has
better idea how to give you the password...

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

On Wed, 4 Jun 2008 18:13:08 +0200
"Martin Landa" <landa.martin@gmail.com> wrote:

Hi Otto,

2008/6/4 Otto Dassau <otto.dassau@gmx.de>:
>> > [odassau@xblade14-2 ~]$ sudo mysqladmin -u root -p create
>> > joomla_qgisweb
>> > Enter password:
>> > mysqladmin: connect to server at 'localhost' failed
>> > error: 'Access denied for user 'root'@'localhost' (using password:
>> > YES)'
>>
>> I don't think you need the "-p" option when you are forcing it to log
>> in via -u root and sudo. Try removing the "-p" and that might help.
>
> thanks for your suggestion Tyler but unfortunately no. I also guess I need
> the pw for the MySQL root:
>
> [odassau@xblade14-2 ~]$ sudo mysqladmin -u root create joomla_qgisweb
> Password:
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO)'

sorry for the late response. You need mysql root password, I can put
password to /root/mysql (permission 600) for a while, maybe Markus has
better idea how to give you the password...

no problem, Martin - you can also use my pgp-key for my gmx address and send it
to me.

gpg --recv-keys 07CCEFB9

thanks
  Otto

Martin