-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixing GitPod mysql db, and try opening rails console in a gitpod terminal #8152
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8152 +/- ##
==========================================
- Coverage 82.17% 81.69% -0.48%
==========================================
Files 100 100
Lines 5755 5845 +90
==========================================
+ Hits 4729 4775 +46
- Misses 1026 1070 +44
|
Looks great!!! |
Hmm... looks like there is still an error after #8145 --
at https://3000-f41187a1-294e-4061-8f10-f3a53a87eb09.ws-us02.gitpod.io/tags We should debug this! Lots of notes back in #8145 |
It just looks like the solution:
from #8145 (comment) didn't work. It's weird, I thought I'd confirmed it in the console but i guess I missed something. We could keep tweaking the mysql config, or we could try switching to |
So we're still struggling with this issue: Coming from this section, i believe: https://github.com/publiclab/plots2/blob/main/app/controllers/tag_controller.rb#L15-L23 |
Looking, this commit solved an identical looking bug in an earlier instance: |
It involved adding more linked fields to the Lines 336 to 345 in c60aaab
@icarito also recommended trying: |
@icarito unfortunately |
We should apply this to this error too, with
plots2/app/controllers/wiki_controller.rb Lines 315 to 320 in d297452
It might need to be changed on other pages further down, too! |
Interesting! Prior to this, it looks like our settings /had/ worked, because in #8107 we see this error:
Key: |
A |
Oops, going to let this prebuild because i skipped and so it didn't undo that setting and still had an error on this page: https://3000-ccc8eba5-7723-4c89-9232-f9598f2cf475.ws-us02.gitpod.io/notes/admin/07-21-2020/blog-post |
Hmm. I'm still seeing the Aha - ok, added another fixed |
That seems to have worked, but we now have:
|
I think we've got this now. I've confirmed by browsing around a lot in GitPod! |
🎉 🎉 |
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
…minal (publiclab#8152) * try opening rails console in a gitpod terminal * trying mysql -e "SET @@global.sql_mode=TRADITIONAL;" * Tag.select('term_data.name, plots.term_data.count') * 3 changes for "SELECT list is not in GROUP BY clause and contains nonaggregated column" * Update .gitpod.yml * Update node.rb * add community_tags.date to group() in normal_tags() * group by community_tags.created_at too * added community_tags.updated_at and now it works!!! * users controller group - node.nid, node_revisions.vid
Follow-up to #8145
Still seeing: