-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlogfile
994 lines (844 loc) · 43.3 KB
/
logfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
2024-06-01 23:43:29.356 CEST [62465] LOG: starting PostgreSQL 14.12 (Homebrew) on aarch64-apple-darwin23.4.0, compiled by Apple clang version 15.0.0 (clang-1500.3.9.4), 64-bit
2024-06-01 23:43:29.358 CEST [62465] LOG: listening on IPv6 address "::1", port 5432
2024-06-01 23:43:29.358 CEST [62465] LOG: listening on IPv4 address "127.0.0.1", port 5432
2024-06-01 23:43:29.358 CEST [62465] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
2024-06-01 23:43:29.360 CEST [62466] LOG: database system was shut down at 2024-06-01 23:41:06 CEST
2024-06-01 23:43:29.363 CEST [62465] LOG: database system is ready to accept connections
2024-06-01 23:45:25.965 CEST [62550] ERROR: database "xprize_finals" does not exist
2024-06-01 23:45:25.965 CEST [62550] STATEMENT: ;
DROP DATABASE XPRIZE_Finals;
2024-06-01 23:45:37.260 CEST [62550] ERROR: cannot drop the currently open database
2024-06-01 23:45:37.260 CEST [62550] STATEMENT: DROP DATABASE "XPRIZE_Finals";
2024-06-01 23:58:49.656 CEST [62575] ERROR: syntax error at or near "CREATE" at character 8
2024-06-01 23:58:49.656 CEST [62575] STATEMENT: CREATE CREATE TABLE Project (
id VARC
pe VARCHAR,
communitySize INT,
lat FLOAT,
lon FLOAT,
startDate VARCHAR,
endDate VARCHAR,
verraId INT,
area FLOAT,
score VARCHAR,
analysis VARCHAR,
potentialIssues VARCHAR[],
customEnterBtnText VARCHAR,
isEnabled BOOLEAN DEFAULT true,
isExternalProject BOOLEAN DEFAULT true,
isProjectOfTheMonth BOOLEAN DEFAULT false,
claimedCarbonOffset INT,
soilCarbon INT,
avoidedCarbon INT,
bufferCarbon INT,
hasReferenceArea BOOLEAN DEFAULT false,
projectUrl VARCHAR,
discordId VARCHAR,
stripeUrl VARCHAR,
proponents VARCHAR[],
walletId INT REFERENCES Wallet(id),
lastCreditPrice FLOAT,
methodologyId INT REFERENCES Methodology(id),
onChainRetirementCarbon INT,
onChainSupplyCarbon INT,
proponentId INT REFERENCES Proponent(id),
retirementCarbon INT,
sdgGoals INT[],
supplyCarbon INT,
verifierId INT REFERENCES Verifier(id)
);
2024-06-01 23:59:01.106 CEST [62575] ERROR: relation "organization" does not exist
2024-06-01 23:59:01.106 CEST [62575] STATEMENT: CREATE TABLE Project (
id VARCHAR PRIMARY KEY,
name VARCHAR NOT NULL,
country VARCHAR NOT NULL,
organizationId INT REFERENCES Organization(id),
objective VARCHAR,
catalogueReason VARCHAR,
category VARCHAR,
description VARCHAR NOT NULL,
longDescription VARCHAR DEFAULT '',
dataDownloadUrl VARCHAR,
dataDownloadInfo VARCHAR,
kyc BOOLEAN DEFAULT false,
monitorStrategy VARCHAR,
restorationType VARCHAR,
communitySize INT,
lat FLOAT,
lon FLOAT,
startDate VARCHAR,
endDate VARCHAR,
verraId INT,
area FLOAT,
score VARCHAR,
analysis VARCHAR,
potentialIssues VARCHAR[],
customEnterBtnText VARCHAR,
isEnabled BOOLEAN DEFAULT true,
isExternalProject BOOLEAN DEFAULT true,
isProjectOfTheMonth BOOLEAN DEFAULT false,
claimedCarbonOffset INT,
soilCarbon INT,
avoidedCarbon INT,
bufferCarbon INT,
hasReferenceArea BOOLEAN DEFAULT false,
projectUrl VARCHAR,
discordId VARCHAR,
stripeUrl VARCHAR,
proponents VARCHAR[],
walletId INT REFERENCES Wallet(id),
lastCreditPrice FLOAT,
methodologyId INT REFERENCES Methodology(id),
onChainRetirementCarbon INT,
onChainSupplyCarbon INT,
proponentId INT REFERENCES Proponent(id),
retirementCarbon INT,
sdgGoals INT[],
supplyCarbon INT,
verifierId INT REFERENCES Verifier(id)
);
2024-06-01 23:59:44.037 CEST [62575] ERROR: relation "wallet" does not exist
2024-06-01 23:59:44.037 CEST [62575] STATEMENT: CREATE TABLE Project (
id VARCHAR PRIMARY KEY,
name VARCHAR NOT NULL,
country VARCHAR NOT NULL,
objective VARCHAR,
catalogueReason VARCHAR,
category VARCHAR,
description VARCHAR NOT NULL,
longDescription VARCHAR DEFAULT '',
dataDownloadUrl VARCHAR,
dataDownloadInfo VARCHAR,
kyc BOOLEAN DEFAULT false,
monitorStrategy VARCHAR,
restorationType VARCHAR,
communitySize INT,
lat FLOAT,
lon FLOAT,
startDate VARCHAR,
endDate VARCHAR,
verraId INT,
area FLOAT,
score VARCHAR,
analysis VARCHAR,
potentialIssues VARCHAR[],
customEnterBtnText VARCHAR,
isEnabled BOOLEAN DEFAULT true,
isExternalProject BOOLEAN DEFAULT true,
isProjectOfTheMonth BOOLEAN DEFAULT false,
claimedCarbonOffset INT,
soilCarbon INT,
avoidedCarbon INT,
bufferCarbon INT,
hasReferenceArea BOOLEAN DEFAULT false,
projectUrl VARCHAR,
discordId VARCHAR,
stripeUrl VARCHAR,
proponents VARCHAR[],
walletId INT REFERENCES Wallet(id),
lastCreditPrice FLOAT,
methodologyId INT REFERENCES Methodology(id),
onChainRetirementCarbon INT,
onChainSupplyCarbon INT,
proponentId INT REFERENCES Proponent(id),
retirementCarbon INT,
sdgGoals INT[],
supplyCarbon INT,
verifierId INT REFERENCES Verifier(id)
);
2024-06-02 00:03:28.662 CEST [62575] ERROR: syntax error at or near "model" at character 1
2024-06-02 00:03:28.662 CEST [62575] STATEMENT: model Project {
id String @id
name String
country String
organizationId Int?
objective String?
catalogueReason String?
category String?
description String
longDescription String @default("")
dataDownloadUrl String?
dataDownloadInfo String?
kyc Boolean? @default(false)
monitorStrategy String?
restorationType String?
communitySize Int?
lat Float?
lon Float?
startDate String?
endDate String?
verraId Int?
area Float? // in m2
score String?
analysis String?
potentialIssues String[]
customEnterBtnText String?
isEnabled Boolean @default(true)
isExternalProject Boolean @default(true)
isProjectOfTheMonth Boolean @default(false)
claimedCarbonOffset Int?
soilCarbon Int?
avoidedCarbon Int?
bufferCarbon Int?
hasReferenceArea Boolean @default(false)
projectUrl String?
discordId String?
stripeUrl String?
proponents String[]
walletId Int?
lastCreditPrice Float?
methodologyId Int?
onChainRetirementCarbon Int?
onChainSupplyCarbon Int?
proponentId Int?
retirementCarbon Int?
sdgGoals Int[]
supplyCarbon Int?
verifierId Int?
Methodology Methodology? @relation(fields: [methodologyId], references: [id])
organization Organization? @relation(fields: [organizationId], references: [id])
Proponent Proponent? @relation(fields: [proponentId], references: [id])
Verifier Verifier? @relation(fields: [verifierId], references: [id])
Wallet Wallet? @relation(fields: [walletId], references: [id])
assets Asset[]
communityMembers CommunityMember[]
ForestCover ForestCover[]
RawImageAnalysis RawImageAnalysis[]
SocialMedia SocialMedia?
User User[]
Transactions Transaction[]
}
;
2024-06-02 00:03:43.543 CEST [62575] ERROR: syntax error at or near "itorStrategy" at character 1
2024-06-02 00:03:43.543 CEST [62575] STATEMENT: itorStrategy VARCHAR,
restorationType VARCHAR,
communitySize INT,
lat FLOAT,
lon FLOAT,
startDate VARCHAR,
endDate VARCHAR,
verraId INT,
area FLOAT,
score VARCHAR,
analysis VARCHAR,
potentialIssues VARCHAR[],
customEnterBtnText VARCHAR,
isEnabled BOOLEAN DEFAULT true,
isExternalProject BOOLEAN DEFAULT true,
isProjectOfTheMonth BOOLEAN DEFAULT false,
claimedCarbonOffset INT,
soilCarbon INT,
avoidedCarbon INT,
bufferCarbon INT,
hasReferenceArea BOOLEAN DEFAULT false,
projectUrl VARCHAR,
discordId VARCHAR,
stripeUrl VARCHAR,
proponents VARCHAR[],
walletId INT REFERENCES Wallet(id),
lastCreditPrice FLOAT,
methodologyId INT REFERENCES Methodology(id),
onChainRetirementCarbon INT,
onChainSupplyCarbon INT,
proponentId INT REFERENCES Proponent(id),
retirementCarbon INT,
sdgGoals INT[],
supplyCarbon INT,
verifierId INT REFERENCES Verifier(id)
);
2024-06-02 00:04:10.693 CEST [62575] ERROR: relation "methodology" does not exist
2024-06-02 00:04:10.693 CEST [62575] STATEMENT: CREATE TABLE Project (
id VARCHAR PRIMARY KEY,
name VARCHAR NOT NULL,
country VARCHAR NOT NULL,
objective VARCHAR,
catalogueReason VARCHAR,
category VARCHAR,
description VARCHAR NOT NULL,
longDescription VARCHAR DEFAULT '',
dataDownloadUrl VARCHAR,
dataDownloadInfo VARCHAR,
kyc BOOLEAN DEFAULT false,
monitorStrategy VARCHAR,
restorationType VARCHAR,
communitySize INT,
lat FLOAT,
lon FLOAT,
startDate VARCHAR,
endDate VARCHAR,
verraId INT,
area FLOAT,
score VARCHAR,
analysis VARCHAR,
potentialIssues VARCHAR[],
customEnterBtnText VARCHAR,
isEnabled BOOLEAN DEFAULT true,
isExternalProject BOOLEAN DEFAULT true,
isProjectOfTheMonth BOOLEAN DEFAULT false,
claimedCarbonOffset INT,
soilCarbon INT,
avoidedCarbon INT,
bufferCarbon INT,
hasReferenceArea BOOLEAN DEFAULT false,
projectUrl VARCHAR,
discordId VARCHAR,
stripeUrl VARCHAR,
proponents VARCHAR[],
walletId INT REFERENCES Wallet(id),
lastCreditPrice FLOAT,
methodologyId INT REFERENCES Methodology(id),
onChainRetirementCarbon INT,
onChainSupplyCarbon INT,
proponentId INT REFERENCES Proponent(id),
retirementCarbon INT,
sdgGoals INT[],
supplyCarbon INT,
verifierId INT REFERENCES Verifier(id)
);
2024-06-02 00:04:28.072 CEST [62575] ERROR: relation "proponent" does not exist
2024-06-02 00:04:28.072 CEST [62575] STATEMENT: CREATE TABLE Project (
id VARCHAR PRIMARY KEY,
name VARCHAR NOT NULL,
country VARCHAR NOT NULL,
objective VARCHAR,
catalogueReason VARCHAR,
category VARCHAR,
description VARCHAR NOT NULL,
longDescription VARCHAR DEFAULT '',
dataDownloadUrl VARCHAR,
dataDownloadInfo VARCHAR,
kyc BOOLEAN DEFAULT false,
monitorStrategy VARCHAR,
restorationType VARCHAR,
communitySize INT,
lat FLOAT,
lon FLOAT,
startDate VARCHAR,
endDate VARCHAR,
verraId INT,
area FLOAT,
score VARCHAR,
analysis VARCHAR,
potentialIssues VARCHAR[],
customEnterBtnText VARCHAR,
isEnabled BOOLEAN DEFAULT true,
isExternalProject BOOLEAN DEFAULT true,
isProjectOfTheMonth BOOLEAN DEFAULT false,
claimedCarbonOffset INT,
soilCarbon INT,
avoidedCarbon INT,
bufferCarbon INT,
hasReferenceArea BOOLEAN DEFAULT false,
projectUrl VARCHAR,
discordId VARCHAR,
stripeUrl VARCHAR,
proponents VARCHAR[],
walletId INT REFERENCES Wallet(id),
lastCreditPrice FLOAT,
onChainRetirementCarbon INT,
onChainSupplyCarbon INT,
proponentId INT REFERENCES Proponent(id),
retirementCarbon INT,
sdgGoals INT[],
supplyCarbon INT,
verifierId INT REFERENCES Verifier(id)
);
2024-06-02 00:04:48.998 CEST [62575] ERROR: relation "proponent" does not exist
2024-06-02 00:04:48.998 CEST [62575] STATEMENT: CREATE TABLE Project (
id VARCHAR PRIMARY KEY,
name VARCHAR NOT NULL,
country VARCHAR NOT NULL,
objective VARCHAR,
catalogueReason VARCHAR,
category VARCHAR,
description VARCHAR NOT NULL,
longDescription VARCHAR DEFAULT '',
dataDownloadUrl VARCHAR,
dataDownloadInfo VARCHAR,
kyc BOOLEAN DEFAULT false,
monitorStrategy VARCHAR,
restorationType VARCHAR,
communitySize INT,
lat FLOAT,
lon FLOAT,
startDate VARCHAR,
endDate VARCHAR,
verraId INT,
area FLOAT,
score VARCHAR,
analysis VARCHAR,
potentialIssues VARCHAR[],
customEnterBtnText VARCHAR,
isEnabled BOOLEAN DEFAULT true,
isExternalProject BOOLEAN DEFAULT true,
isProjectOfTheMonth BOOLEAN DEFAULT false,
claimedCarbonOffset INT,
soilCarbon INT,
avoidedCarbon INT,
bufferCarbon INT,
hasReferenceArea BOOLEAN DEFAULT false,
projectUrl VARCHAR,
discordId VARCHAR,
stripeUrl VARCHAR,
walletId INT REFERENCES Wallet(id),
lastCreditPrice FLOAT,
onChainRetirementCarbon INT,
onChainSupplyCarbon INT,
proponentId INT REFERENCES Proponent(id),
retirementCarbon INT,
sdgGoals INT[],
supplyCarbon INT,
verifierId INT REFERENCES Verifier(id)
);
2024-06-02 00:05:18.004 CEST [62575] ERROR: relation "verifier" does not exist
2024-06-02 00:05:18.004 CEST [62575] STATEMENT: CREATE TABLE Project (
id VARCHAR PRIMARY KEY,
name VARCHAR NOT NULL,
country VARCHAR NOT NULL,
objective VARCHAR,
catalogueReason VARCHAR,
category VARCHAR,
description VARCHAR NOT NULL,
longDescription VARCHAR DEFAULT '',
dataDownloadUrl VARCHAR,
dataDownloadInfo VARCHAR,
kyc BOOLEAN DEFAULT false,
monitorStrategy VARCHAR,
restorationType VARCHAR,
communitySize INT,
lat FLOAT,
lon FLOAT,
startDate VARCHAR,
endDate VARCHAR,
verraId INT,
area FLOAT,
score VARCHAR,
analysis VARCHAR,
potentialIssues VARCHAR[],
customEnterBtnText VARCHAR,
isEnabled BOOLEAN DEFAULT true,
isExternalProject BOOLEAN DEFAULT true,
isProjectOfTheMonth BOOLEAN DEFAULT false,
claimedCarbonOffset INT,
soilCarbon INT,
avoidedCarbon INT,
bufferCarbon INT,
hasReferenceArea BOOLEAN DEFAULT false,
projectUrl VARCHAR,
discordId VARCHAR,
stripeUrl VARCHAR,
walletId INT REFERENCES Wallet(id),
lastCreditPrice FLOAT,
onChainRetirementCarbon INT,
onChainSupplyCarbon INT,
retirementCarbon INT,
sdgGoals INT[],
supplyCarbon INT,
verifierId INT REFERENCES Verifier(id)
);
2024-06-02 00:08:49.982 CEST [62575] ERROR: function uuid_generate_v4() does not exist at character 54
2024-06-02 00:08:49.982 CEST [62575] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
2024-06-02 00:08:49.982 CEST [62575] STATEMENT: CREATE TABLE Asset (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
name VARCHAR,
projectId UUID,
classification VARCHAR NOT NULL,
ipfsCID VARCHAR NOT NULL,
description VARCHAR,
type VARCHAR NOT NULL,
extension VARCHAR,
geoInformation JSON[],
awsCID VARCHAR,
dateMeasured TIMESTAMP,
dateUploaded TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
dateEdited TIMESTAMP,
CONSTRAINT fk_project FOREIGN KEY (projectId) REFERENCES Project(id)
);
2024-06-02 00:09:24.917 CEST [62575] ERROR: foreign key constraint "fk_project" cannot be implemented
2024-06-02 00:09:24.917 CEST [62575] DETAIL: Key columns "projectid" and "id" are of incompatible types: uuid and character varying.
2024-06-02 00:09:24.917 CEST [62575] STATEMENT: CREATE TABLE Asset (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
name VARCHAR,
projectId UUID,
classification VARCHAR NOT NULL,
ipfsCID VARCHAR NOT NULL,
description VARCHAR,
type VARCHAR NOT NULL,
extension VARCHAR,
geoInformation JSON[],
awsCID VARCHAR,
dateMeasured TIMESTAMP,
dateUploaded TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
dateEdited TIMESTAMP,
CONSTRAINT fk_project FOREIGN KEY (projectId) REFERENCES Project(id)
);
2024-06-02 00:10:48.600 CEST [62575] ERROR: syntax error at or near "PRIMARY" at character 68
2024-06-02 00:10:48.600 CEST [62575] STATEMENT: ALTER TABLE table_name
ALTER COLUMN column_name SET DATA TYPE UUID PRIMARY KEY DEFAULT uuid_generate_v4();
2024-06-02 00:12:18.649 CEST [62575] ERROR: syntax error at or near "PRIMARY" at character 64
2024-06-02 00:12:18.649 CEST [62575] STATEMENT: ALTER TABLE Asset ALTER COLUMN projectId SET DATA TYPE VARCHAR PRIMARY KEY;
2024-06-02 00:12:25.656 CEST [62575] ERROR: relation "asset" does not exist
2024-06-02 00:12:25.656 CEST [62575] STATEMENT: ALTER TABLE Asset ALTER COLUMN projectId SET DATA TYPE VARCHAR;
2024-06-02 00:12:41.022 CEST [62575] ERROR: relation "Asset" does not exist
2024-06-02 00:12:41.022 CEST [62575] STATEMENT: ALTER TABLE "Asset" ALTER COLUMN projectId SET DATA TYPE VARCHAR;
2024-06-02 00:23:52.799 CEST [64726] FATAL: lock file "postmaster.pid" already exists
2024-06-02 00:23:52.799 CEST [64726] HINT: Is another postmaster (PID 62465) running in data directory "/usr/local/var/postgres"?
2024-06-02 18:01:02.779 CEST [68783] FATAL: lock file "postmaster.pid" already exists
2024-06-02 18:01:02.779 CEST [68783] HINT: Is another postmaster (PID 62465) running in data directory "/usr/local/var/postgres"?
2024-06-02 18:01:56.251 CEST [62465] LOG: received smart shutdown request
2024-06-02 18:01:56.252 CEST [62465] LOG: background worker "logical replication launcher" (PID 62472) exited with exit code 1
2024-06-02 18:01:56.259 CEST [62467] LOG: shutting down
2024-06-02 18:01:56.280 CEST [62465] LOG: database system is shut down
2024-06-02 18:05:17.073 CEST [2887] LOG: starting PostgreSQL 14.12 (Homebrew) on aarch64-apple-darwin23.4.0, compiled by Apple clang version 15.0.0 (clang-1500.3.9.4), 64-bit
2024-06-02 18:05:17.075 CEST [2887] LOG: listening on IPv6 address "::1", port 5432
2024-06-02 18:05:17.075 CEST [2887] LOG: listening on IPv4 address "127.0.0.1", port 5432
2024-06-02 18:05:17.075 CEST [2887] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
2024-06-02 18:05:17.080 CEST [2888] LOG: database system was shut down at 2024-06-02 18:01:56 CEST
2024-06-02 18:05:17.082 CEST [2887] LOG: database system is ready to accept connections
2024-06-02 18:14:17.518 CEST [5359] LOG: could not receive data from client: Connection reset by peer
2024-06-02 18:14:17.530 CEST [5377] ERROR: relation "_prisma_migrations" does not exist at character 126
2024-06-02 18:14:17.530 CEST [5377] STATEMENT: SELECT "id", "checksum", "finished_at", "migration_name", "logs", "rolled_back_at", "started_at", "applied_steps_count" FROM "_prisma_migrations" ORDER BY "started_at" ASC
2024-06-02 18:14:21.902 CEST [5377] ERROR: table "_prisma_migrations" does not exist
2024-06-02 18:14:21.902 CEST [5377] STATEMENT: DROP TABLE _prisma_migrations
2024-06-30 06:31:45.215 -03 [88413] LOG: starting PostgreSQL 16.3 (Homebrew) on aarch64-apple-darwin23.4.0, compiled by Apple clang version 15.0.0 (clang-1500.3.9.4), 64-bit
2024-06-30 06:31:45.217 -03 [88413] LOG: listening on IPv6 address "::1", port 5432
2024-06-30 06:31:45.217 -03 [88413] LOG: listening on IPv4 address "127.0.0.1", port 5432
2024-06-30 06:31:45.218 -03 [88413] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
2024-06-30 06:31:45.219 -03 [88416] LOG: database system was shut down at 2024-06-30 06:31:43 -03
2024-06-30 06:31:45.221 -03 [88413] LOG: database system is ready to accept connections
2024-06-30 06:32:57.866 -03 [88966] FATAL: database "david" does not exist
2024-06-30 06:33:02.600 -03 [89049] FATAL: database "david" does not exist
2024-06-30 06:33:15.412 -03 [89161] FATAL: database "david" does not exist
2024-06-30 06:36:45.223 -03 [88414] LOG: checkpoint starting: time
2024-06-30 06:37:30.988 -03 [90753] ERROR: database "xprize_postgresdb" already exists
2024-06-30 06:37:30.988 -03 [90753] STATEMENT: CREATE DATABASE xprize_postgresdb;
2024-06-30 06:37:44.932 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.932 -03 [90873] STATEMENT: ALTER SCHEMA public OWNER TO "default";
2024-06-30 06:37:44.936 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.936 -03 [90873] STATEMENT: ALTER TABLE public."Asset" OWNER TO "default";
2024-06-30 06:37:44.937 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.937 -03 [90873] STATEMENT: ALTER TABLE public."CommunityMember" OWNER TO "default";
2024-06-30 06:37:44.938 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.938 -03 [90873] STATEMENT: ALTER SEQUENCE public."CommunityMember_id_seq" OWNER TO "default";
2024-06-30 06:37:44.940 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.940 -03 [90873] STATEMENT: ALTER TABLE public."Project" OWNER TO "default";
2024-06-30 06:37:44.940 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.940 -03 [90873] STATEMENT: ALTER TABLE public."Shapefile" OWNER TO "default";
2024-06-30 06:37:44.941 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.941 -03 [90873] STATEMENT: ALTER SEQUENCE public."Shapefile_id_seq" OWNER TO "default";
2024-06-30 06:37:44.942 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.942 -03 [90873] STATEMENT: ALTER TABLE public."SocialMedia" OWNER TO "default";
2024-06-30 06:37:44.942 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.942 -03 [90873] STATEMENT: ALTER SEQUENCE public."SocialMedia_id_seq" OWNER TO "default";
2024-06-30 06:37:44.943 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.943 -03 [90873] STATEMENT: ALTER TABLE public."Transaction" OWNER TO "default";
2024-06-30 06:37:44.943 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.943 -03 [90873] STATEMENT: ALTER SEQUENCE public."Transaction_id_seq" OWNER TO "default";
2024-06-30 06:37:44.946 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.946 -03 [90873] STATEMENT: ALTER TABLE public."Wallet" OWNER TO "default";
2024-06-30 06:37:44.946 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.946 -03 [90873] STATEMENT: ALTER SEQUENCE public."Wallet_id_seq" OWNER TO "default";
2024-06-30 06:37:44.947 -03 [90873] ERROR: role "default" does not exist
2024-06-30 06:37:44.947 -03 [90873] STATEMENT: ALTER TABLE public._prisma_migrations OWNER TO "default";
2024-06-30 06:37:44.961 -03 [90873] ERROR: role "neon_superuser" does not exist
2024-06-30 06:37:44.961 -03 [90873] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON SEQUENCES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:37:44.961 -03 [90873] ERROR: role "neon_superuser" does not exist
2024-06-30 06:37:44.961 -03 [90873] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON TABLES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:39:58.270 -03 [88414] LOG: checkpoint complete: wrote 1909 buffers (11.7%); 1 WAL file(s) added, 0 removed, 0 recycled; write=193.021 s, sync=0.011 s, total=193.048 s; sync files=645, longest=0.001 s, average=0.001 s; distance=8963 kB, estimate=8963 kB; lsn=0/1E34658, redo lsn=0/1DCCBF8
2024-06-30 06:41:43.950 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.950 -03 [92358] STATEMENT: ALTER SCHEMA public OWNER TO "default";
2024-06-30 06:41:43.960 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.960 -03 [92358] STATEMENT: ALTER TABLE public."Asset" OWNER TO "default";
2024-06-30 06:41:43.961 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.961 -03 [92358] STATEMENT: ALTER TABLE public."CommunityMember" OWNER TO "default";
2024-06-30 06:41:43.962 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.962 -03 [92358] STATEMENT: ALTER SEQUENCE public."CommunityMember_id_seq" OWNER TO "default";
2024-06-30 06:41:43.963 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.963 -03 [92358] STATEMENT: ALTER TABLE public."Project" OWNER TO "default";
2024-06-30 06:41:43.964 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.964 -03 [92358] STATEMENT: ALTER TABLE public."Shapefile" OWNER TO "default";
2024-06-30 06:41:43.965 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.965 -03 [92358] STATEMENT: ALTER SEQUENCE public."Shapefile_id_seq" OWNER TO "default";
2024-06-30 06:41:43.966 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.966 -03 [92358] STATEMENT: ALTER TABLE public."SocialMedia" OWNER TO "default";
2024-06-30 06:41:43.966 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.966 -03 [92358] STATEMENT: ALTER SEQUENCE public."SocialMedia_id_seq" OWNER TO "default";
2024-06-30 06:41:43.967 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.967 -03 [92358] STATEMENT: ALTER TABLE public."Transaction" OWNER TO "default";
2024-06-30 06:41:43.968 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.968 -03 [92358] STATEMENT: ALTER SEQUENCE public."Transaction_id_seq" OWNER TO "default";
2024-06-30 06:41:43.970 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.970 -03 [92358] STATEMENT: ALTER TABLE public."Wallet" OWNER TO "default";
2024-06-30 06:41:43.970 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.970 -03 [92358] STATEMENT: ALTER SEQUENCE public."Wallet_id_seq" OWNER TO "default";
2024-06-30 06:41:43.972 -03 [92358] ERROR: role "default" does not exist
2024-06-30 06:41:43.972 -03 [92358] STATEMENT: ALTER TABLE public._prisma_migrations OWNER TO "default";
2024-06-30 06:41:43.989 -03 [92358] ERROR: role "neon_superuser" does not exist
2024-06-30 06:41:43.989 -03 [92358] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON SEQUENCES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:41:43.989 -03 [92358] ERROR: role "neon_superuser" does not exist
2024-06-30 06:41:43.989 -03 [92358] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON TABLES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:41:45.277 -03 [88414] LOG: checkpoint starting: time
2024-06-30 06:41:59.966 -03 [88414] LOG: checkpoint complete: wrote 146 buffers (0.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=14.682 s, sync=0.005 s, total=14.690 s; sync files=120, longest=0.001 s, average=0.001 s; distance=829 kB, estimate=8150 kB; lsn=0/1E9C110, redo lsn=0/1E9C0D8
2024-06-30 06:42:22.961 -03 [92653] ERROR: relation "Asset" already exists
2024-06-30 06:42:22.961 -03 [92653] STATEMENT: CREATE TABLE public."Asset" (
id text NOT NULL,
name text,
"projectId" text,
classification text NOT NULL,
"ipfsCID" text NOT NULL,
description text,
type text NOT NULL,
extension text,
"geoInformation" jsonb[],
"awsCID" text,
"dateMeasured" timestamp(3) without time zone,
"dateUploaded" timestamp(3) without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
"dateEdited" timestamp(3) without time zone
);
2024-06-30 06:42:22.962 -03 [92653] ERROR: relation "CommunityMember" already exists
2024-06-30 06:42:22.962 -03 [92653] STATEMENT: CREATE TABLE public."CommunityMember" (
id integer NOT NULL,
"firstName" text NOT NULL,
"lastName" text NOT NULL,
"fundsReceived" double precision NOT NULL,
"profileUrl" text,
"projectId" text,
bio text NOT NULL,
role text NOT NULL,
priority integer,
"walletId" integer
);
2024-06-30 06:42:22.962 -03 [92653] ERROR: relation "CommunityMember_id_seq" already exists
2024-06-30 06:42:22.962 -03 [92653] STATEMENT: CREATE SEQUENCE public."CommunityMember_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
2024-06-30 06:42:22.963 -03 [92653] ERROR: relation "Project" already exists
2024-06-30 06:42:22.963 -03 [92653] STATEMENT: CREATE TABLE public."Project" (
id text NOT NULL,
name text NOT NULL,
country text NOT NULL,
"organizationId" integer,
objective text,
"catalogueReason" text,
category text,
description text NOT NULL,
"longDescription" text DEFAULT ''::text NOT NULL,
"dataDownloadUrl" text,
"dataDownloadInfo" text,
kyc boolean DEFAULT false,
"monitorStrategy" text,
"restorationType" text,
"communitySize" integer,
lat double precision,
lon double precision,
"startDate" text,
"endDate" text,
"verraId" integer,
area double precision,
score text,
analysis text,
"potentialIssues" text[],
"customEnterBtnText" text,
"isEnabled" boolean DEFAULT true NOT NULL,
"isExternalProject" boolean DEFAULT true NOT NULL,
"isProjectOfTheMonth" boolean DEFAULT false NOT NULL,
"claimedCarbonOffset" integer,
"soilCarbon" integer,
"avoidedCarbon" integer,
"bufferCarbon" integer,
"hasReferenceArea" boolean DEFAULT false NOT NULL,
"projectUrl" text,
"discordId" text,
"stripeUrl" text,
proponents text[],
"walletId" integer,
"lastCreditPrice" double precision,
"onChainRetirementCarbon" integer,
"onChainSupplyCarbon" integer,
"retirementCarbon" integer,
"sdgGoals" integer[],
"supplyCarbon" integer
);
2024-06-30 06:42:22.963 -03 [92653] ERROR: relation "Shapefile" already exists
2024-06-30 06:42:22.963 -03 [92653] STATEMENT: CREATE TABLE public."Shapefile" (
id integer NOT NULL,
"assetId" text,
area double precision,
"isReference" boolean DEFAULT false NOT NULL,
"default" boolean DEFAULT false NOT NULL,
"shortName" text,
"iNaturalist" text
);
2024-06-30 06:42:22.964 -03 [92653] ERROR: relation "Shapefile_id_seq" already exists
2024-06-30 06:42:22.964 -03 [92653] STATEMENT: CREATE SEQUENCE public."Shapefile_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
2024-06-30 06:42:22.964 -03 [92653] ERROR: relation "SocialMedia" already exists
2024-06-30 06:42:22.964 -03 [92653] STATEMENT: CREATE TABLE public."SocialMedia" (
id integer NOT NULL,
"projectId" text NOT NULL,
facebook text,
"linkedIn" text,
instagram text,
twitter text
);
2024-06-30 06:42:22.965 -03 [92653] ERROR: relation "SocialMedia_id_seq" already exists
2024-06-30 06:42:22.965 -03 [92653] STATEMENT: CREATE SEQUENCE public."SocialMedia_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
2024-06-30 06:42:22.965 -03 [92653] ERROR: relation "Transaction" already exists
2024-06-30 06:42:22.965 -03 [92653] STATEMENT: CREATE TABLE public."Transaction" (
id integer NOT NULL,
"from" text NOT NULL,
"to" text NOT NULL,
amount double precision,
blockchain text NOT NULL,
token text NOT NULL,
hash text,
motive text,
"timestamp" timestamp(3) without time zone NOT NULL,
"communityMemberId" integer,
"projectId" text
);
2024-06-30 06:42:22.965 -03 [92653] ERROR: relation "Transaction_id_seq" already exists
2024-06-30 06:42:22.965 -03 [92653] STATEMENT: CREATE SEQUENCE public."Transaction_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
2024-06-30 06:42:22.966 -03 [92653] ERROR: relation "Wallet" already exists
2024-06-30 06:42:22.966 -03 [92653] STATEMENT: CREATE TABLE public."Wallet" (
id integer NOT NULL,
"SOLAccounts" text[],
"CeloAccounts" text[],
"EthereumAccounts" text[],
"PolygonAccounts" text[]
);
2024-06-30 06:42:22.966 -03 [92653] ERROR: relation "Wallet_id_seq" already exists
2024-06-30 06:42:22.966 -03 [92653] STATEMENT: CREATE SEQUENCE public."Wallet_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
2024-06-30 06:42:22.966 -03 [92653] ERROR: relation "_prisma_migrations" already exists
2024-06-30 06:42:22.966 -03 [92653] STATEMENT: CREATE TABLE public._prisma_migrations (
id character varying(36) NOT NULL,
checksum character varying(64) NOT NULL,
finished_at timestamp with time zone,
migration_name character varying(255) NOT NULL,
logs text,
rolled_back_at timestamp with time zone,
started_at timestamp with time zone DEFAULT now() NOT NULL,
applied_steps_count integer DEFAULT 0 NOT NULL
);
2024-06-30 06:42:22.969 -03 [92653] ERROR: duplicate key value violates unique constraint "Asset_pkey"
2024-06-30 06:42:22.969 -03 [92653] DETAIL: Key (id)=(f3581f2d-4509-4495-abca-fccd1a8a66ea) already exists.
2024-06-30 06:42:22.969 -03 [92653] CONTEXT: COPY Asset, line 1
2024-06-30 06:42:22.969 -03 [92653] STATEMENT: COPY public."Asset" (id, name, "projectId", classification, "ipfsCID", description, type, extension, "geoInformation", "awsCID", "dateMeasured", "dateUploaded", "dateEdited") FROM stdin;
2024-06-30 06:42:22.970 -03 [92653] ERROR: duplicate key value violates unique constraint "Project_pkey"
2024-06-30 06:42:22.970 -03 [92653] DETAIL: Key (id)=(c9c6c5f2c0388ea2fdfa3f36b6a6abfba4050245e47e61d44052812b5d8a0be6) already exists.
2024-06-30 06:42:22.970 -03 [92653] CONTEXT: COPY Project, line 1
2024-06-30 06:42:22.970 -03 [92653] STATEMENT: COPY public."Project" (id, name, country, "organizationId", objective, "catalogueReason", category, description, "longDescription", "dataDownloadUrl", "dataDownloadInfo", kyc, "monitorStrategy", "restorationType", "communitySize", lat, lon, "startDate", "endDate", "verraId", area, score, analysis, "potentialIssues", "customEnterBtnText", "isEnabled", "isExternalProject", "isProjectOfTheMonth", "claimedCarbonOffset", "soilCarbon", "avoidedCarbon", "bufferCarbon", "hasReferenceArea", "projectUrl", "discordId", "stripeUrl", proponents, "walletId", "lastCreditPrice", "onChainRetirementCarbon", "onChainSupplyCarbon", "retirementCarbon", "sdgGoals", "supplyCarbon") FROM stdin;
2024-06-30 06:42:22.970 -03 [92653] ERROR: duplicate key value violates unique constraint "Shapefile_pkey"
2024-06-30 06:42:22.970 -03 [92653] DETAIL: Key (id)=(2) already exists.
2024-06-30 06:42:22.970 -03 [92653] CONTEXT: COPY Shapefile, line 1
2024-06-30 06:42:22.970 -03 [92653] STATEMENT: COPY public."Shapefile" (id, "assetId", area, "isReference", "default", "shortName", "iNaturalist") FROM stdin;
2024-06-30 06:42:22.971 -03 [92653] ERROR: duplicate key value violates unique constraint "_prisma_migrations_pkey"
2024-06-30 06:42:22.971 -03 [92653] DETAIL: Key (id)=(450fa794-ebe9-4195-ae3a-b29a23a80d56) already exists.
2024-06-30 06:42:22.971 -03 [92653] CONTEXT: COPY _prisma_migrations, line 1
2024-06-30 06:42:22.971 -03 [92653] STATEMENT: COPY public._prisma_migrations (id, checksum, finished_at, migration_name, logs, rolled_back_at, started_at, applied_steps_count) FROM stdin;
2024-06-30 06:42:22.972 -03 [92653] ERROR: multiple primary keys for table "Asset" are not allowed
2024-06-30 06:42:22.972 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Asset"
ADD CONSTRAINT "Asset_pkey" PRIMARY KEY (id);
2024-06-30 06:42:22.972 -03 [92653] ERROR: multiple primary keys for table "CommunityMember" are not allowed
2024-06-30 06:42:22.972 -03 [92653] STATEMENT: ALTER TABLE ONLY public."CommunityMember"
ADD CONSTRAINT "CommunityMember_pkey" PRIMARY KEY (id);
2024-06-30 06:42:22.972 -03 [92653] ERROR: multiple primary keys for table "Project" are not allowed
2024-06-30 06:42:22.972 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Project"
ADD CONSTRAINT "Project_pkey" PRIMARY KEY (id);
2024-06-30 06:42:22.972 -03 [92653] ERROR: multiple primary keys for table "Shapefile" are not allowed
2024-06-30 06:42:22.972 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Shapefile"
ADD CONSTRAINT "Shapefile_pkey" PRIMARY KEY (id);
2024-06-30 06:42:22.973 -03 [92653] ERROR: multiple primary keys for table "SocialMedia" are not allowed
2024-06-30 06:42:22.973 -03 [92653] STATEMENT: ALTER TABLE ONLY public."SocialMedia"
ADD CONSTRAINT "SocialMedia_pkey" PRIMARY KEY (id);
2024-06-30 06:42:22.973 -03 [92653] ERROR: multiple primary keys for table "Transaction" are not allowed
2024-06-30 06:42:22.973 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Transaction"
ADD CONSTRAINT "Transaction_pkey" PRIMARY KEY (id);
2024-06-30 06:42:22.973 -03 [92653] ERROR: multiple primary keys for table "Wallet" are not allowed
2024-06-30 06:42:22.973 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Wallet"
ADD CONSTRAINT "Wallet_pkey" PRIMARY KEY (id);
2024-06-30 06:42:22.973 -03 [92653] ERROR: multiple primary keys for table "_prisma_migrations" are not allowed
2024-06-30 06:42:22.973 -03 [92653] STATEMENT: ALTER TABLE ONLY public._prisma_migrations
ADD CONSTRAINT _prisma_migrations_pkey PRIMARY KEY (id);
2024-06-30 06:42:22.973 -03 [92653] ERROR: relation "Shapefile_assetId_key" already exists
2024-06-30 06:42:22.973 -03 [92653] STATEMENT: CREATE UNIQUE INDEX "Shapefile_assetId_key" ON public."Shapefile" USING btree ("assetId");
2024-06-30 06:42:22.973 -03 [92653] ERROR: relation "SocialMedia_projectId_key" already exists
2024-06-30 06:42:22.973 -03 [92653] STATEMENT: CREATE UNIQUE INDEX "SocialMedia_projectId_key" ON public."SocialMedia" USING btree ("projectId");
2024-06-30 06:42:22.973 -03 [92653] ERROR: constraint "Asset_projectId_fkey" for relation "Asset" already exists
2024-06-30 06:42:22.973 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Asset"
ADD CONSTRAINT "Asset_projectId_fkey" FOREIGN KEY ("projectId") REFERENCES public."Project"(id) ON UPDATE CASCADE ON DELETE SET NULL;
2024-06-30 06:42:22.974 -03 [92653] ERROR: constraint "CommunityMember_projectId_fkey" for relation "CommunityMember" already exists
2024-06-30 06:42:22.974 -03 [92653] STATEMENT: ALTER TABLE ONLY public."CommunityMember"
ADD CONSTRAINT "CommunityMember_projectId_fkey" FOREIGN KEY ("projectId") REFERENCES public."Project"(id) ON UPDATE CASCADE ON DELETE SET NULL;
2024-06-30 06:42:22.974 -03 [92653] ERROR: constraint "CommunityMember_walletId_fkey" for relation "CommunityMember" already exists
2024-06-30 06:42:22.974 -03 [92653] STATEMENT: ALTER TABLE ONLY public."CommunityMember"
ADD CONSTRAINT "CommunityMember_walletId_fkey" FOREIGN KEY ("walletId") REFERENCES public."Wallet"(id) ON UPDATE CASCADE ON DELETE SET NULL;
2024-06-30 06:42:22.974 -03 [92653] ERROR: constraint "Project_walletId_fkey" for relation "Project" already exists
2024-06-30 06:42:22.974 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Project"
ADD CONSTRAINT "Project_walletId_fkey" FOREIGN KEY ("walletId") REFERENCES public."Wallet"(id) ON UPDATE CASCADE ON DELETE SET NULL;
2024-06-30 06:42:22.974 -03 [92653] ERROR: constraint "Shapefile_assetId_fkey" for relation "Shapefile" already exists
2024-06-30 06:42:22.974 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Shapefile"
ADD CONSTRAINT "Shapefile_assetId_fkey" FOREIGN KEY ("assetId") REFERENCES public."Asset"(id) ON UPDATE CASCADE ON DELETE SET NULL;
2024-06-30 06:42:22.974 -03 [92653] ERROR: constraint "SocialMedia_projectId_fkey" for relation "SocialMedia" already exists
2024-06-30 06:42:22.974 -03 [92653] STATEMENT: ALTER TABLE ONLY public."SocialMedia"
ADD CONSTRAINT "SocialMedia_projectId_fkey" FOREIGN KEY ("projectId") REFERENCES public."Project"(id) ON UPDATE CASCADE ON DELETE RESTRICT;
2024-06-30 06:42:22.974 -03 [92653] ERROR: constraint "Transaction_communityMemberId_fkey" for relation "Transaction" already exists
2024-06-30 06:42:22.974 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Transaction"
ADD CONSTRAINT "Transaction_communityMemberId_fkey" FOREIGN KEY ("communityMemberId") REFERENCES public."CommunityMember"(id) ON UPDATE CASCADE ON DELETE SET NULL;
2024-06-30 06:42:22.974 -03 [92653] ERROR: constraint "Transaction_projectId_fkey" for relation "Transaction" already exists
2024-06-30 06:42:22.974 -03 [92653] STATEMENT: ALTER TABLE ONLY public."Transaction"
ADD CONSTRAINT "Transaction_projectId_fkey" FOREIGN KEY ("projectId") REFERENCES public."Project"(id) ON UPDATE CASCADE ON DELETE SET NULL;
2024-06-30 06:42:22.974 -03 [92653] ERROR: role "cloud_admin" does not exist
2024-06-30 06:42:22.974 -03 [92653] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON SEQUENCES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:42:22.974 -03 [92653] ERROR: role "cloud_admin" does not exist
2024-06-30 06:42:22.974 -03 [92653] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON TABLES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:42:58.560 -03 [92920] ERROR: role "cloud_admin" does not exist
2024-06-30 06:42:58.560 -03 [92920] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON SEQUENCES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:42:58.561 -03 [92920] ERROR: role "cloud_admin" does not exist
2024-06-30 06:42:58.561 -03 [92920] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON TABLES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:43:10.493 -03 [93032] FATAL: database "david" does not exist
2024-06-30 06:43:24.444 -03 [93152] ERROR: role "cloud_admin" does not exist
2024-06-30 06:43:24.444 -03 [93152] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON SEQUENCES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:43:24.445 -03 [93152] ERROR: role "cloud_admin" does not exist
2024-06-30 06:43:24.445 -03 [93152] STATEMENT: ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON TABLES TO neon_superuser WITH GRANT OPTION;
2024-06-30 06:46:45.970 -03 [88414] LOG: checkpoint starting: time
2024-06-30 06:47:02.117 -03 [88414] LOG: checkpoint complete: wrote 160 buffers (1.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=16.130 s, sync=0.007 s, total=16.148 s; sync files=137, longest=0.001 s, average=0.001 s; distance=1281 kB, estimate=7463 kB; lsn=0/1FDC6F0, redo lsn=0/1FDC6B8
2024-06-30 06:48:17.422 -03 [94967] FATAL: database "david" does not exist
2024-06-30 06:51:45.122 -03 [88414] LOG: checkpoint starting: time
2024-06-30 06:51:45.229 -03 [88414] PANIC: could not open file "/Users/david/Projects/xprize/data/global/pg_control": No such file or directory
2024-06-30 06:51:45.230 -03 [88413] LOG: checkpointer process (PID 88414) was terminated by signal 6: Abort trap: 6
2024-06-30 06:51:45.230 -03 [88413] LOG: terminating any other active server processes
2024-06-30 06:51:45.231 -03 [88413] LOG: all server processes terminated; reinitializing
2024-06-30 06:51:45.240 -03 [96228] LOG: database system was interrupted; last known up at 2024-06-30 06:47:02 -03
2024-06-30 06:51:45.312 -03 [96228] LOG: database system was not properly shut down; automatic recovery in progress
2024-06-30 06:51:45.314 -03 [96228] PANIC: could not open file "/Users/david/Projects/xprize/data/global/pg_control": No such file or directory
2024-06-30 06:51:45.315 -03 [88413] LOG: startup process (PID 96228) was terminated by signal 6: Abort trap: 6
2024-06-30 06:51:45.315 -03 [88413] LOG: aborting startup due to startup process failure
2024-06-30 06:51:45.315 -03 [88413] LOG: database system is shut down