Closed (won't fix)
Project:
Open Atrium
Version:
7.x-2.0
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2013 at 18:06 UTC
Updated:
8 Nov 2013 at 18:04 UTC
Jump to comment: Most recent
Comments
Comment #1
mpotter commentedNot sure what you updated, so I'd need more details on that.
There *is* a bug in the 2.0 release that causes the default home-page widget to mess up the css on a page when you Customize a page and click browse the Open Atrium section of the widgets. This is fixed in 2.01 which should be out soon (barring any more problems on drupal.org)
Also, when posting bug reports, please try to post as much detail and a step-by-step method for reproducing the problem. Otherwise it's hard to help when you just say "messed up" and "broken" without specifics like screenshots.
Comment #2
Kyon147 commentedApologies on the lack of detail
Yeah the bug you are talking about on the default home page is what is happening but the css on the top bar is also broken and all the buttons are bigger than they should be. I have attached an image showing what it looks like to help.
As you can see the drop downs are very slim and the buttons are over sized and the links for spaces are not aligned.
http://imageshack.us/photo/my-images/41/ot7k.jpg/
Not sure the step by step but I updated the drupal modules in the module update section and it seems to have happened since then.
Comment #3
mpotter commentedWhat browser are you using? Not seeing any problems like that here. Also be sure to flush your browser cache.
Comment #4
mpotter commentedYou should NEVER do that with a distribution. Distributions use very specific versions of modules with very specific patches. Updating a module from the update page will break your site. You'll need to rebuild your profile directory using the build.sh drush make script, or replace with that latest version of the distribution on drupal.org (which is unfortunately broken).
Comment #5
mpotter commentedAdded a new oa_update module to oa_core. Will be in the 2.02 release (hopefully tomorrow).
This submodule replaces the default module update pages on the site with a warning page about updating individual modules within distributions. That should help prevent some of these issues caused by people updating modules themselves.
This submodule will eventually be improved to actually show new versions of the distribution and allow you to upgrade easily, but I decided not to wait on all of that fancy work and to just get the warning in place for now.
Comment #6
Kyon147 commentedThanks for the warning will remember in future, so to fix the problem I have to run the build.sh drush?
Edit: Where is the build.sh make script?
Or should i wait until the next version to come our tomorrow?
Comment #7
mygnu commentedCan some one please explain how does the oa_update module works? I have the same problem with site breaking after update. is there a documentation about updating the proper way?
Thanks
Comment #8
dsnopek@mpotter: FYI, I created an issue in the Panopoly issue queue about implementing a module similar to oa_update upstream (since this probably affects all Panopoly based distros): #2128959: Replace default "update" module behavior with something that makes sense for distributions
Comment #9
mpotter commentedThe easiest way to fix your broken distribution is to download the latest tar.gz file from the Drupal.org project page and then replace the profiles/openatrium directory on your site with the profiles/openatrium folder that you downloaded.
(although see the issue that v2.03 is still slightly broken, so might want to wait till tomorrow)
(You should only use build.sh if you know how to use drush, so if you can't find build.sh then you probably don't fall into that category)
The oa_update module prevents the update notices for modules within the distribution. It will only tell you to update when the main openatrium distribution has a new version, or if there is a security patch to some module (or drupal core). It will show the current openatrium version and provides a download link for it, just like with a module.
Sometime in the future we'll try to improve this further to make a one-button "update distribution" function. But for now the new oa_update should at least help prevent people from corrupting their site.
oa_update also fixes the issue with patched -dev modules being reports as unsupported. It also removes the oa_* Features modules from the module update list (since they don't exist on drupal.org separately).
Comment #10
Kyon147 commentedTried the profile replacement and then tried running the update.php script now getting this error and the site is Error 500.
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_atrium.media_filter_usage' doesn't exist: DELETE FROM {media_filter_usage} WHERE (timestamp < :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 1373401734 ) in media_flush_caches() (line 1135 of httpdocs/profiles/openatrium/modules/contrib/media/media.module).
I have used Drush to install modules from a .make file and basic things so I have a little knowledge but not too in depth.
I just wanted to also thank you so much for all your help so far!
Comment #11
mpotter commentedTry:
drush cc all
drush updb
drush cc all
drush fra -y
The last step will update all your features in case something is wrong from your previous install attempts. I haven't ever gotten that error myself though, so just guessing.
Comment #12
Kyon147 commentedTried the above.
Only error I am getting now is when trying to upload a file to a comment etc this is the error
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_atrium.media_filter_usage' doesn't exist: SELECT fid FROM {media_filter_usage} WHERE fid = :fid; Array ( [:fid] => 156 ) in media_filter_invalidate_caches() (line 722 of httpdocs/profiles/openatrium/modules/contrib/media/includes/media.filter.inc).
Comment #13
mpotter commentedAre you uploading a file to a comment in WorkTracker, or in the Discussion plugin? If it's in WorkTracker, please post this over in the oa_worktracker issue queue so the module maintainer will see it.
(still sounds like a module or table didn't get installed properly somehow)
Comment #14
dsnopekAnother theory: since you attempted to upgrade all modules earlier, that table could have been removed by an update? And now that you're back on older code, it's looking for it. Anyway, just a theory - I don't know the Media module internals.
Comment #15
Kyon147 commentedThe same error happen for both Worktracker and Discussions not sure why this has happened but you are right it started once I updated to the most recent Open Atrium version I think.
Comment #16
Kyon147 commentedComment #17
dsnopekYour Open Atrium install is broken. The "media_filter_usage" table is created by the version of the Media module included in OA - yours either failed to install or was removed in an aborted upgrade to a newer version of the Media module.
To reinstall the Media modules tables, you can try:
However, I can't gauranty that this will work! The only sure way to get an unbroken Atrium is to install fresh.
Comment #18
Kyon147 commentedInstalling the module again has worked so it now uploads again :)
The images for the file types not working but not the end of the world as long as we can upload files.