[SAC] [OSGeo] #2966: GRASS GIS wiki: connect to OSGeo LDAP

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by robe):

Okay the page at fault seems to be a page with title **Widget:YouTube**.
My guess is that's a reserved term. To fix I changed the title

{{{
UPDATE page SET page_title = 'Something YouTube' WHERE page_id = 2767;
}}}

and that seemed to fix the issue, but hopefully didn't cause other issues.
We can always revert that if it causes a problem.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by neteler):

Replying to [comment:38 robe]:
> I've manually merged your old :warning:Neteler to Neteler.

This looks good now.

> The UserMerge is here -
Permission error - GRASS-Wiki and only available to
adminstrators and sysops, so you should be able to use it for merging
administrators that log in.

Cool, thanks. I do see this page.

> In theory other users should automatically merge, hopefully admins to.

I have asked Anna (annakrat) to try again.

> If you do need to manually merge people, you need to remove the old user
from any admin groups, otherwise will give a notice you can't merge admin
account.

Alright.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by annakrat):

I can login, but I don't have any special rights.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by neteler):

Replying to [comment:30 robe]:
> Okay I must have had it cached in my firefox browser, images issue
should be fixed now.

Yes, confirmed.

I have now fixed also the wiki logo which needs to go into a different
folder:

{{{
grass-wiki:/var/www/grass/grass-wiki/w/skins/common/images/
}}}

Dunno if in the old wiki version are more files in that folder but I guess
no.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by neteler):

A first wiki user has confirmed a successful login :slight_smile:
Great work, Regina!

One more wish:

"Request account" (OSGeo UserID registration) in
the upper right corner should now point to
OSGeo UserID registration

I don't know where to modify that.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by robe):

Replying to [comment:43 annakrat]:
> I can login, but I don't have any special rights.

Yah I was afraid that would happen. Maybe it is because admin group is
protected.

Anyrate I merged your old account into your new and gave you new admin
priviledges so you should be all set.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by robe):

Replying to [comment:44 neteler]:
> Replying to [comment:30 robe]:
> > Okay I must have had it cached in my firefox browser, images issue
should be fixed now.
>
> Yes, confirmed.
>
> I have now fixed also the wiki logo which needs to go into a different
folder:
>
> {{{
> grass-wiki:/var/www/grass/grass-wiki/w/skins/common/images/

I backed up the old wiki files in /var/www/grass/grass-wiki-old in case I
missed anything.
> }}}
>
> Dunno if in the old wiki version are more files in that folder but I
guess no.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by robe):

Replying to [comment:45 neteler]:
> A first wiki user has confirmed a successful login :slight_smile:
> Great work, Regina!
>
> One more wish:
>
> "Request account" (OSGeo UserID registration)
in the upper right corner should now point to
OSGeo UserID registration
>
> I don't know where to modify that.

Hmm I had copied over the .htaccess from wiki I thought to handle this
will check later today maybe I put that in the wrong folder (or I built
with nginx, forgot if I used apache or nginx when resetting your new
server up.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by robe):

Replying to [comment:48 robe]:

> > One more wish:
> >
> > "Request account" (OSGeo UserID registration)
in the upper right corner should now point to
OSGeo UserID registration
> >
> > I don't know where to modify that.
>

This should be set now. I moved the .htaccess stuff into the
/etc/apache2/includes/grasswiki.osgeo.org.inc

Let me know if you see anything else amiss
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by neteler):

"Request account" now points smoothly to the ldap page.

Seems all completed now. I have added the information that the login
procedure changed.
Next will be the announcement on the GRASS mailing lists to inform
everyone.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by annakrat):

Replying to [comment:46 robe]:
> Replying to [comment:43 annakrat]:
> > I can login, but I don't have any special rights.
>
> Yah I was afraid that would happen. Maybe it is because admin group is
protected.
>
> Anyrate I merged your old account into your new and gave you new admin
priviledges so you should be all set.

Looks like it worked!
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by neteler):

New login method announced:

[GRASS-announce] GRASS-Wiki: new OSGeo-ID login method activated
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution: fixed
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Changes (by robe):

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

Comment:

Going to close this out and consider it done. Feel free to reopen if you
still run into issues.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution: fixed
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Changes (by veroandreo):

* Attachment "image_2024-02-14_09-51-39.png" added.

new and old user
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2966&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution: fixed
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by veroandreo):

My login to the grasswiki worked fine, but it seems my old user is not
merged with the new one. I did a change to my profile to test it works,
and now in my contributions I see only the changes I did today. All the
rest is under an old(?) user that has an exclamation mark and apparently
does not exist(?). See attachment:
image_2024-02-14_09-51-39.png on Ticket #2966 – Attachment – OSGeo.

Seems to me something went wrong with the merging though I was not
prompted to accept any merge... I see other users with exclamation marks
in the history of the home page too.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution: fixed
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by robe):

Replying to [comment:54 veroandreo]:
> My login to the grasswiki worked fine, but it seems my old user is not
merged with the new one. I did a change to my profile to test it works,
and now in my contributions I see only the changes I did today. All the
rest is under an old(?) user that has an exclamation mark and apparently
does not exist(?). See attachment:
image_2024-02-14_09-51-39.png on Ticket #2966 – Attachment – OSGeo.
>
> Seems to me something went wrong with the merging though I was not
prompted to accept any merge... I see other users with exclamation marks
in the history of the home page too.

I've merged your account. I'm hoping it's just admins that can't merge,
cause in order to merge admins accounts, there is a protection in place.
So to merge I do these steps

1) Edit the old account, remove the administrator, bureaucrat groups from
it, otherwise it won't let you merge into new account
2) Go to new account and manually add the administrator, bureaucrat, and
merged account

3) Then go to Permission error - GRASS-Wiki

Put in the old account (this one I copy from the group list cause it has
that unicode thing on it) and new account.

Let me know if you are seeing the same issue with non-admin accounts and
I'll investigate.

But for admin accounts, I think those require a manual merge or I take off
the default protection.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Changes (by robe):

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

Comment:

Okay I guess it's not just admin accounts, so I must have something else
not configured right.
I saw that Luca is not an admin and he had logged in but his account
wasn't merged so I merged it with the above instructions. I'll reopen this
until I've figured out what is missing unless you feel everyone that
existed has already logged in, in which case I think we'll just need to
manually merge their accounts.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Comment (by veroandreo):

Replying to [comment:55 robe]:
> Replying to [comment:54 veroandreo]:
> > My login to the grasswiki worked fine, but it seems my old user is not
merged with the new one. I did a change to my profile to test it works,
and now in my contributions I see only the changes I did today. All the
rest is under an old(?) user that has an exclamation mark and apparently
does not exist(?). See attachment:
image_2024-02-14_09-51-39.png on Ticket #2966 – Attachment – OSGeo.
> >
> > Seems to me something went wrong with the merging though I was not
prompted to accept any merge... I see other users with exclamation marks
in the history of the home page too.
>
>
> I've merged your account. I'm hoping it's just admins that can't merge,
cause in order to merge admins accounts, there is a protection in place.
So to merge I do these steps

Thanks Regina! All looks good in my user account now :slight_smile:
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2966: GRASS GIS wiki: connect to OSGeo LDAP
-----------------------------+---------------------------------------
Reporter: neteler | Owner: robe
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/LDAP | Resolution: fixed
Keywords: mediawiki, ldap |
-----------------------------+---------------------------------------
Changes (by strk):

* status: reopened => closed
* resolution: => fixed
* component: SysAdmin => SysAdmin/LDAP

Comment:

Assuming all done, due to last comment. Reopen if there's anything left to
do.
--
Ticket URL: <#2966 (GRASS GIS wiki: connect to OSGeo LDAP) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.