community.aegirproject.org is very broken at the moment, I keep getting asked to assign my content to a group when editing or adding, but there are no groups on the site.

Have we done some kind of crazy open atrium upgrade that's broken everything?

Comments

omega8cc’s picture

OG was never enabled, and the dblog entry shows the path with openatrium-1.0-build-2011.09.23-production so it is probably caused by some not announced upgrade performed yesterday.

omega8cc’s picture

I submitted the form at http://community.aegirproject.org/features (without any changes) and then cleared caches and now also permissions are broken - every page gives "You are not authorized to access this page", which is absolutely weird.

omega8cc’s picture

I believe that some (all?) Features were not properly saved/reverted on upgrade, and now it is broken completely after I simply submitted the form at /features trying to confirm that OG shouldn't be used/enabled. Doh.

Clemens’s picture

+1
Getting 'Access denied' on all pages except 'My account'

steven jones’s picture

Just sent this as a support request on http://aegir.koumbit.net/

Hello,

It looks like community.aegirproject.org was upgraded at around Fri, 2011-09-23 14:31 to a newer version of Openatrium, this has broken the site completely, and makes it impossible to use.

Would it be possible to get the last backup restored onto the old platform please?

We are tracking this over here:
http://drupal.org/node/1289794

Regards
Steven Jones

steven jones’s picture

Automated reply:

Hi,

This message has been automatically generated by the Réseau Koumbit help
desk center in response to your request regarding:
"[Support request for AlternD] community.aegirproject.org",
It has been assigned the following ID: [Koumbit #93223], a summary of which appears below.

There is no need to reply to this message right now. Your ticket has been
assigned an ID of [Koumbit #93223].

Please include the string:

[Koumbit #93223]

in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.

Thank you,
support@koumbit.org

steven jones’s picture

I've put the site into maintenance mode until this issue is resolved.

ergonlogic’s picture

Status: Active » Needs review

I restored from a backup. Everything appears to be back to normal. I'll test a little further, but would appreciate confirmation.

Anonymous’s picture

I got a prompt that content access permissions needed to be rebuilt, after logging in, so I did so.

All looking ok to me.

steven jones’s picture

Status: Needs review » Needs work

Things are still not working correctly for me, if I edit a post I made the other day, I get told that I need to select a group to post it in, but there are no groups on the c.a.o site, so I can't. I get the following error:

This content type must be posted in a group.

Did the site get moved to a new platform? Does it need to get moved back?

omega8cc’s picture

The site is not migrated back to the working version, it is still openatrium-1.0-build-2011.09.23-production, and to break it again it is enough to submit the form at /features again. And Organic Groups are in fact enabled while all Features with many not saved/reverted, probably broken statuses.

ergonlogic’s picture

AFAICT, the platform on which it used to exist has been deleted. I'll have to investigate, and rebuild it if necessary.

When I restored the backup, I confirmed that Atrium Groups and OG were disabled (though they are indeed now enabled). This is how the site was delivered from DevSeed, and is extremely unusual, as Atrium Groups is a dependency of the base Atrium feature. For the time-being, we should not be reverting features on this site, as there are lots of such customizations that have themselves not been exported into features, and so are easily lost.

ergonlogic’s picture

ergonlogic’s picture

Alright, I believe the problem was caused by Atrium Groups insisting on being enabled, seeing as how it's a dependency of the Atrium feature. However, when DevSeed handed off the site to us, it had Atrium Groups disabled, and everything worked pretty much as usual

So, I've removed the depedency on Atrium Groups from Atrium... and it looks like it worked, but could use more testing

steven jones’s picture

Doesn't seem broken any more.

ergonlogic’s picture

Status: Needs work » Fixed

Good :)

btw, the modified version of the atrium feature is in the site's modules folder, and so should follow across platform migrations. However, since this is the feature that glues together the rest of Open Atrium, I expect there'll be changes to it with future versions. All it took was commenting out the dependency, though, so it should be a quick fix, should we need to update the atrium feature.

steven jones’s picture

@ergonlogic Can we implement hook_system_info_alter in a small custom module to remove the dependency. I'm not sure if that will work though, I've never done it.

ergonlogic’s picture

It turns out there was already a call to hook_system_info_alter() in community.module, so I just added:

  if ($object->name == 'atrium') {
    $index = array_keys($info['dependencies'],'atrium_groups');
    unset($info['dependencies'][$index['0']]);
  }

... and removed the hacked version of the atrium feature.

Thanks for the tip Steven.

steven jones’s picture

Awesome stuff!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.