Skip to content

Troubleshooting FAQs

Jareltey edited this page Apr 28, 2023 · 2 revisions

Common Errors

1. Password authentication failed for user postgres

Screenshot 2023-04-05 at 11 12 54 PM
  • Are you using the password you created for user postgres in environment.tstypeOrmConfigpassword?
  • Note: this is different from the master password you created when opening PgAdmin for the first time. This is also the same password that you supply in the image below
Screenshot 2023-04-05 at 11 19 48 PM

2. Running the server using npx ng s api produces many errors

Screenshot 2023-04-05 at 11 26 27 PM
  • Did you copy the environment.ts file from iMConfig?

3. Error on Admin Login

Screenshot 2023-04-05 at 11 31 24 PM
  • Did you replace environment.tsadminPasswordHash with the correct value?

4. QueryFailedError (e.g. column "flagCount" of relation "Comment" contains null values)

Screenshot 2023-04-06 at 1 01 28 PM
  • Did you make changes to any model.ts file, or pull any changes to model.ts files?
  • If so, you need to delete old entries in the relevant database tables which contain null values for the new fields added to the model
  1. Go to PgAdmin → Servers → Databases → Involvemint → Schemas → Tables → find the relevant table
  2. Click “View Data” (Option + Shift + V)
  3. Under “Data Output”, select all old entries and delete
  4. Refresh the Involvemint database

5. Error on Submit Sp Application (when trying to create a ServePartner account to create projects)

Screenshot 2023-04-28 at 12 38 31 PM
  • Follow instructions in this document under Creating Activity Posts (for testing), step 2

6. Error on Process Enrollment Application (when trying to approve ChangeMaker application as ServePartner)

Screenshot 2023-04-06 at 11 56 08 AM
  • Did you create a separate account to join the project as a ChangeMaker?
  • If you find yourself switching between ChangeMaker and ServePartner within the same account to submit enrollments, you need to create a separate account and join the project from there