14 Sep 2023 |
Donald Sizemore II | @pdurbin I think I fixed it! still testing. | 12:04:32 |
Philip Durbin | Donald Sizemore II: go go go! | 13:06:22 |
Donald Sizemore II | @pdurbin I lied and didn't fix it and am terrible. The installer says it's doing what I want it to, but it doesn't. The same commands issued manually on the same DB as the same user work. | 13:20:59 |
Philip Durbin | Hmm, we must be missing something. | 13:22:13 |
Philip Durbin | I spun down my ec2 instance. | 13:22:23 |
Philip Durbin | Someday we'll fix it. | 13:22:28 |
Philip Durbin | Or the community will. | 13:22:41 |
Donald Sizemore II | I have a vagrant instance up; I'm happy to screen-share. Debugging statements show up in the installer output at the appropriate place, no errors in Postgres log, just... no permissions. Until I try it manually. | 13:23:05 |
Philip Durbin | Can you print the exception? | 13:24:47 |
Donald Sizemore II | that's the thing. the exception should show up in the postgres log (or STDERR) | 13:25:10 |
Philip Durbin | with except Exception as e: I think: https://stackoverflow.com/questions/1483429/how-do-i-print-an-exception-in-python | 13:25:16 |
Philip Durbin | and then print(e) | 13:25:24 |
Donald Sizemore II | I'm using this branch https://github.com/OdumInstitute/dataverse/blob/postgres15_install_fix/scripts/installer/install.py#L424 | 13:25:43 |
Philip Durbin | right, so please try changing except: to except Exception as e: | 13:26:15 |
Philip Durbin | and then print(e) later | 13:26:27 |
Donald Sizemore II | it's not logging any exception, but I'll absolutely make that change. | 13:26:29 |
Philip Durbin | thanks! | 13:26:44 |
Philip Durbin | https://ct.gdcc.io meeting in a few minutes! | 13:26:58 |
Donald Sizemore II | yes | 13:27:04 |
Philip Durbin | I've even less prepared than usual 😅 | 13:27:11 |
Donald Sizemore II | normal is a setting on the dryer. | 13:27:23 |
luddaniel (INRAE : https://entrepot.recherche.data.gouv.fr/) | Redacted or Malformed Event | 14:08:49 |
Donald Sizemore II | pdurbin: a) the containerization working group meeting is so much more relaxed when I'm not gunning to make it to campus on time! b) still no exception with Exception as e | 14:31:19 |
Donald Sizemore II | @pdurbin I learned a thing, thanks to Matthew: psycopg2 opens transaction blocks by default, and I wasn't setting AUTOCOMMIT - this would explain everything | 15:11:00 |
Donald Sizemore II | @pdurbin the installer succeeded :) | 15:22:43 |
Philip Durbin | Whoa! I just saw https://github.com/IQSS/dataverse/compare/develop...OdumInstitute:dataverse:postgres15_install_fix ! That's great! | 16:31:54 |
Donald Sizemore II | AUTOCOMMIT | 19:00:41 |
Philip Durbin | heh | 20:00:43 |
15 Sep 2023 |
Miguel Silva | In reply to @moistbread:matrix.org Thanks for the responses. I sent you an email. I had some trouble getting used to the way Element displays replies haha Hi Justin . Already replied . If you need any additional explanation, drop me a message | 06:10:03 |
Philip Durbin | Hmm, we still don't have a topic for the next community call. I could talk about chat. IRC, Slack, Matrix, and Zulip. What do you think? | 12:02:15 |