Skip to content

fix(admin-cli): load env files - #3503

Merged
alextran1502 merged 1 commit into
mainfrom
fix/3397
Aug 1, 2023
Merged

alextran1502 merged 1 commit into
mainfrom
fix/3397

Conversation

@jrasm91

@jrasm91 jrasm91 commented Aug 1, 2023

Copy link
Copy Markdown
Member

In this PR:

Tested:

  • Invoked the CLI on the host without any env set, got DB_* is required
  • Created a file with a connection string and exported it as DB_URL_FILE, observed the DB_* fields no longer produce errors

@vercel

vercel Bot commented Aug 1, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
immich ⬜️ Ignored (Inspect) Aug 1, 2023 8:32pm

@jrasm91 jrasm91 changed the title fix(admin-cli): load env files for cli fix(admin-cli): load env files Aug 1, 2023
@alextran1502
alextran1502 merged commit 2835919 into main Aug 1, 2023
@alextran1502
alextran1502 deleted the fix/3397 branch August 1, 2023 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] immich-admin commands all throw error "DB_USERNAME" is required. "DB_PASSWORD" is required

2 participants