mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-26 13:36:02 +03:00
[GH-ISSUE #820] Unable to permanently save account settings to the database #488
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#488
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ivanov17 on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/820
Originally assigned to: @Yannick243 on GitHub.
🐛 Bugreport
After changing my account settings I can't save the changes to database. It seems really strange because I can log into the Cypht interface. So I believe my datatabase credentials stored in the Cypht settings file must be correct.
After trying to save changes, the page reloads and I see that the changes are not saved:
At the same time I see the following in the logs:
Besides the
Savebutton, I also tried theSave and Logoutbutton. In this case changes are also not saved and the session does not end. Same thing when I tried to save changes when clickingLogoutin the main menu.The
user_config_typeparameter is set toDB.This issue may be related to https://github.com/cypht-org/cypht/issues/817 but I can't be completely sure.
Version & Environment
Rev:
v1.4.0OS: CentOS Stream 9 container
PHP: 8.2.12
PostgreSQL: 15.2
Steps to reproduce
hm_user_settings@marclaporte commented on GitHub (Nov 4, 2023):
@Yannick243 PostgreSQL is not in our happy path, so please check if this has an incidence.
Virtualmin has built-in support for PostgreSQL so you can spin up a virtual machine for a quick test:
https://github.com/virtualmin/virtualmin-gpl/blob/master/create-database.pl
@marclaporte commented on GitHub (Apr 23, 2024):
Related: https://github.com/cypht-org/cypht-docker/pull/11
@Yannick243 commented on GitHub (Jul 1, 2024):
The new official Docker image https://github.com/cypht-org/cypht/pull/1001 has fixed PostgreSQL support. Additionally, in a non-Docker environment, settings are being saved correctly.
@marclaporte commented on GitHub (Jul 2, 2024):
@ivanov17 can we close?
@marclaporte commented on GitHub (Sep 28, 2024):
@ivanov17 Cypht 1.4.x doesn't support PHP 8.2 as per
https://github.com/cypht-org/cypht/wiki/Lifecycle
If the bug is present in Cypbt 2.4.0, please re-open this issue and we will fix
https://github.com/cypht-org/cypht/releases/tag/v2.4.0