Skip to content

Docker: small fix of docker#311

Open
Mammutor wants to merge 3 commits intomainfrom
dev
Open

Docker: small fix of docker#311
Mammutor wants to merge 3 commits intomainfrom
dev

Conversation

@Mammutor
Copy link
Copy Markdown
Collaborator

@Mammutor Mammutor commented Feb 4, 2026

I tried to fix it with the docker network, can you try it on your pc and maybe merge before mohr or knoth will downlaod the repo? And I was in the wrong branch, sorry again that I pushed it directly into dev

@Mammutor Mammutor requested a review from RobinGummels February 4, 2026 22:46
@Mammutor Mammutor self-assigned this Feb 4, 2026
@Mammutor Mammutor added the fix label Feb 4, 2026
@RobinGummels
Copy link
Copy Markdown
Contributor

I tried a bit and got the following errors:

stac-crawler  | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━                                                                          
stac-crawler  | DATABASE CONNECTION FAILED
stac-crawler  | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━                                                                          
stac-crawler  |   Host:     undefined                                                                                                                 
stac-crawler  |   Port:     NaN                                                                                                                       
stac-crawler  |   Database: undefined                                                                                                                 
stac-crawler  |   User:     undefined                                                                                                                 
stac-crawler  | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━                                                                          
stac-crawler  |   Error:                                                                                                                              
stac-crawler  |   Code:     ECONNREFUSED
stac-crawler  | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━                                                                          
stac-crawler  |                                                                                                                                       
stac-crawler  | Database initialization failed:                                                                                                       
stac-crawler  | Error fetching https://www.stacindex.org/api/catalogs:
{
  "type": "https://stacspec.org/errors/InternalServerError",
  "title": "Internal Server Error",
  "status": 500,
  "detail": "Database query failed: password authentication failed for user \"stac_api\"",
  "instance": "/collections",
  "requestId": "77d502b0-767b-49fd-bb4b-7fe9c3bbdedd",
  "code": "InternalServerError",
  "description": "Database query failed: password authentication failed for user \"stac_api\"",
  "stack": "Error: Database query failed: password authentication failed for user \"stac_api\"\n    at query (/app/db/db_APIconnection.js:91:27)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async runQuery (/app/routes/collections.js:144:20)\n    at async /app/routes/collections.js:226:18"
}

Then Claude suggested something and now it works. I pushed it. Maybe you can test it out on your setup. Maybe also try it on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants