Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snappymail irregularly resets users settings to server defaults #1842

Open
BeeFox-sys opened this issue Nov 10, 2024 · 4 comments
Open

Snappymail irregularly resets users settings to server defaults #1842

BeeFox-sys opened this issue Nov 10, 2024 · 4 comments

Comments

@BeeFox-sys
Copy link

Describe the bug
Every so often the general settings for my user account reset to the server defaults, there is no information in logs that i can find, nor can i intentionally replicate it. however it happens about once a week.

To Reproduce
Steps to reproduce the behavior:

  1. Change general settings from server defaults
  2. Use snappymail as normal for a while
  3. Settings have reset to server defaults

Expected behavior
Settings remain as user set options

Please complete the following information:

  • Browser: Firefox 132.0
  • IMAP daemon: unknown
  • PHP version: 8.2.24
  • SnappyMail Version: 2.38.2
  • Mode: Stand Alone

Debug/logging information
Read here how to log
No issues were seen in the logs at the warning/error level after following the guide on setting up the logs, i am continuing to record logs however due to the intermittent nature of the issue, it is hard to gather relevant logs as it can be days with the debug log going to gather the issue.

Additional context
Add any other context about the problem here.

@the-djmaze
Copy link
Owner

Check the date of files

  • data/_data_/_default_/storage/domain.name/user/settings
  • data/_data_/_default_/storage/domain.name/user/settings_local

You can also make them read-only and see what happens.

@the-djmaze the-djmaze added the needs feedback Further information is requested label Nov 11, 2024
@BeeFox-sys
Copy link
Author

BeeFox-sys commented Nov 12, 2024

I have managed to get the debug logs for the time that the settings file says it was changed last, there were no logs this whole day involving updating the settings of the user, until i was returning the settings to their intended configuration.

I have now removed write permissions on the data/_data_/_default_/storage/domain.name/user/settings file, and will report back either in a few weeks or if it still happens again

@BeeFox-sys
Copy link
Author

This workaround works, issue persists however this is an ok work around for servers with only one user

@the-djmaze the-djmaze removed the needs feedback Further information is requested label Nov 26, 2024
@stef204
Copy link

stef204 commented Dec 13, 2024

I noticed this as well, where the font settings (per account) gets reset to default quite frequently. I always have to go back to settings|themes and change the fonts again, back to what I want. I am not inclined to use this workaround as read-only means every time you want to make a change, you´d have to log into docker and re-add the write permission, change the user setting inside the GUI, log back in again via console and remove the write perm, etc. Not a great workaround. Would be useful to get this fixed at some point.

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

No branches or pull requests

3 participants