🐛 Bug Report: changing some env config variables seems to have no effect #194

Closed
opened 2025-07-08 08:42:02 -04:00 by AtHeartEngineer · 0 comments

Originally created by @andreas-soroko on 5/5/2025

Reproduction steps

  • have existing pocket-id instance ( had 0.48.0 before )
  • update to 0.51.1
  • re-deployed pocket-id
  • changing EMAIL_ONE_TIME_ACCESS_ENABLED to true
  • restart pocket id
  • option is still disabled

Expected behavior

Changing the env values updates correctly the config in pocket-id

Actual Behavior

i updated an existing pocket-id instance and after the update i wanted to set the value EMAIL_ONE_TIME_ACCESS_ENABLED to true.
After a restart, the option in the UI was still disabled. Then i thought, okay - maybe the key doesn't work and set it myself via the ui and set PUBLIC_UI_CONFIG_DISABLED back to false - restart, again nothing happened.
I then changed the SMTP_HOST value as a test - worked, but the other values were not updated.

Is there a problem?

you can also set Email Login Code from Admin in the ui, but there doesn't seem to be an env key for this, or is this also controlled via EMAIL_ONE_TIME_ACCESS_ENABLED?

Version and Environment

version: 0.51.1

Log Output

No response

*Originally created by @andreas-soroko on 5/5/2025* ### Reproduction steps - have existing pocket-id instance ( had 0.48.0 before ) - update to 0.51.1 - re-deployed pocket-id - changing `EMAIL_ONE_TIME_ACCESS_ENABLED` to `true` - restart pocket id - option is still disabled ### Expected behavior Changing the env values updates correctly the config in pocket-id ### Actual Behavior i updated an existing pocket-id instance and after the update i wanted to set the value `EMAIL_ONE_TIME_ACCESS_ENABLED` to `true`. After a restart, the option in the UI was still disabled. Then i thought, okay - maybe the key doesn't work and set it myself via the ui and set `PUBLIC_UI_CONFIG_DISABLED` back to `false` - restart, again nothing happened. I then changed the `SMTP_HOST` value as a test - worked, but the other values were not updated. Is there a problem? you can also set `Email Login Code from Admin` in the ui, but there doesn't seem to be an env key for this, or is this also controlled via `EMAIL_ONE_TIME_ACCESS_ENABLED`? ### Version and Environment version: 0.51.1 ### Log Output _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pocket-id#194