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

Closed
opened 2025-10-07 23:58:33 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @andreas-soroko on GitHub.

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 GitHub. ### 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_
OVERLORD added the bug label 2025-10-07 23:58:33 +03:00
Author
Owner

@stonith404 commented on GitHub:

The environment variables should now be up-to-date in the docs.

@stonith404 commented on GitHub: The environment variables should now be up-to-date in the docs.
Author
Owner

@kmendell commented on GitHub:

This may be due to some naming changes we did to the settings, Ill try to take a look a bit later today :)

@kmendell commented on GitHub: This may be due to some naming changes we did to the settings, Ill try to take a look a bit later today :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-1#232