Closed (fixed)
Project:
Hostmaster (Aegir)
Version:
6.x-1.x-dev
Component:
Community site
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2011 at 16:36 UTC
Updated:
20 Oct 2011 at 20:30 UTC
Jump to comment: Most recent
Comments
Comment #1
omega8cc commentedOG was never enabled, and the dblog entry shows the path with
openatrium-1.0-build-2011.09.23-productionso it is probably caused by some not announced upgrade performed yesterday.Comment #2
omega8cc commentedI 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.
Comment #3
omega8cc commentedI 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.
Comment #4
Clemens commented+1
Getting 'Access denied' on all pages except 'My account'
Comment #5
steven jones commentedJust sent this as a support request on http://aegir.koumbit.net/
Comment #6
steven jones commentedAutomated reply:
Comment #7
steven jones commentedI've put the site into maintenance mode until this issue is resolved.
Comment #8
ergonlogicI restored from a backup. Everything appears to be back to normal. I'll test a little further, but would appreciate confirmation.
Comment #9
Anonymous (not verified) commentedI got a prompt that content access permissions needed to be rebuilt, after logging in, so I did so.
All looking ok to me.
Comment #10
steven jones commentedThings 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?
Comment #11
omega8cc commentedThe 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.Comment #12
ergonlogicAFAICT, 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.
Comment #13
ergonlogicfyi: https://community.openatrium.com/issues/node/3535
Comment #14
ergonlogicAlright, 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
Comment #15
steven jones commentedDoesn't seem broken any more.
Comment #16
ergonlogicGood :)
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.
Comment #17
steven jones commented@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.
Comment #18
ergonlogicIt turns out there was already a call to hook_system_info_alter() in community.module, so I just added:
... and removed the hacked version of the atrium feature.
Thanks for the tip Steven.
Comment #19
steven jones commentedAwesome stuff!