[GH-ISSUE #1544] 🐛 [Bug] USER_CONFIG_TYPE=BD with pgsql cause 500 Error #680

Closed
opened 2026-02-25 21:35:39 +03:00 by kerem · 8 comments
Owner

Originally created by @ljcbaby on GitHub (Jun 11, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1544

Originally assigned to: @christer77 on GitHub.

🐛 Bug

it seems config decode error.

logs here

NOTICE: PHP message: PHP Warning:  Undefined variable $config in /usr/local/share/cypht/site/index.php on line 57
NOTICE: PHP message: PHP Stack trace:
NOTICE: PHP message: PHP   1. {main}() /usr/local/share/cypht/site/index.php:0
127.0.0.1 -  11/Jun/2025:22:40:44 +0800 "GET /index.php" 200
NOTICE: PHP message: Array
(
    [0] => INFO: Using Hm_PHP_Session with Hm_Auth_DB
    [1] => INFO: Using DB user configuration
    [2] => WARNING: Already registered module for ajax_combined_message_list re-attempted: load_user_data
    [3] => WARNING: Already registered module for ajax_imap_debug re-attempted: profile_data
    [4] => WARNING: Already registered module for servers re-attempted: compose_profile_data
    [5] => INFO: Using sapi: fpm-fcgi
    [6] => INFO: Request type: HTTP
    [7] => INFO: Request path: /
    [8] => INFO: TLS request: 0
    [9] => INFO: Mobile request: 0
    [10] => INFO: Page ID: home
    [11] => INFO: Using Hm_Cache for cache
    [12] => DANGER: Redis connect failed
    [13] => INFO: CACHE backend using: memcache
    [14] => WARNING: TRANSLATION NOT FOUND :Cypht:
    [15] => WARNING: TRANSLATION NOT FOUND :Are you sure you want to delete this server? :
    [16] => WARNING: TRANSLATION NOT FOUND :You need to have Javascript enabled to use %s, sorry about that!:
    [17] => INFO: PHP version 8.1.32
    [18] => INFO: Zend version 4.1.32
    [19] => INFO: Peak Memory: 16384
    [20] => INFO: PID: 1874
    [21] => INFO: Included files: 147
)
192.168.2.8 - - [11/Jun/2025:22:40:44 +0800] "GET / HTTP/1.1" 200 167633 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0"
127.0.0.1 -  11/Jun/2025:22:40:47 +0800 "POST /index.php" 500
NOTICE: PHP message: PHP Fatal error:  Uncaught TypeError: base64_decode(): Argument #1 ($string) must be of type string, resource given in /usr/local/share/cypht/lib/crypt_sodium.php:28
Stack trace:
#0 /usr/local/share/cypht/lib/crypt_sodium.php(28): base64_decode()
#1 /usr/local/share/cypht/lib/config.php(362): Hm_Crypt::plaintext()
#2 /usr/local/share/cypht/lib/config.php(387): Hm_User_Config_DB->decrypt_settings()
#3 /usr/local/share/cypht/modules/core/handler_modules.php(704): Hm_User_Config_DB->load()
#4 /usr/local/share/cypht/lib/modules_exec.php(177): Hm_Handler_load_user_data->process()
#5 /usr/local/share/cypht/lib/modules_exec.php(155): Hm_Module_Exec->run_handler_module()
#6 /usr/local/share/cypht/lib/dispatch.php(218): Hm_Module_Exec->run_handler_modules()
#7 /usr/local/share/cypht/lib/dispatch.php(188): Hm_Dispatch->process_request()
#8 /usr/local/share/cypht/site/index.php(55): Hm_Dispatch->__construct()
#9 {main}
  thrown in /usr/local/share/cypht/lib/crypt_sodium.php on line 28
192.168.2.8 - - [11/Jun/2025:22:40:48 +0800] "POST / HTTP/1.1" 500 11 "http://192.168.3.4:3008/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0"
NOTICE: PHP message: PHP Warning:  Undefined variable $config in /usr/local/share/cypht/site/index.php on line 57
NOTICE: PHP message: PHP Stack trace:
NOTICE: PHP message: PHP   1. {main}() /usr/local/share/cypht/site/index.php:0
127.0.0.1 -  11/Jun/2025:22:40:48 +0800 "GET /index.php" 200
NOTICE: PHP message: Array
(
    [0] => INFO: Using Hm_PHP_Session with Hm_Auth_DB
    [1] => INFO: Using DB user configuration
    [2] => WARNING: Already registered module for ajax_combined_message_list re-attempted: load_user_data
    [3] => WARNING: Already registered module for ajax_imap_debug re-attempted: profile_data
    [4] => WARNING: Already registered module for servers re-attempted: compose_profile_data
    [5] => INFO: Using sapi: fpm-fcgi
    [6] => INFO: Request type: HTTP
    [7] => INFO: Request path: /favicon.ico/
    [8] => INFO: TLS request: 0
    [9] => INFO: Mobile request: 0
    [10] => INFO: Page ID: home
    [11] => INFO: Using Hm_Cache for cache
    [12] => DANGER: Redis connect failed
    [13] => INFO: CACHE backend using: memcache
    [14] => INFO: Deleting cookie: name: hm_session, lifetime: 1749649248, path: /favicon.ico/, domain: 192.168.3.4, secure: , html_only 1
    [15] => INFO: Deleting cookie: name: hm_id, lifetime: 1749649248, path: /favicon.ico/, domain: 192.168.3.4, secure: , html_only 1
    [16] => INFO: Deleting cookie: name: hm_reload_folders, lifetime: 1749649248, path: , domain: 192.168.3.4, secure: , html_only 
    [17] => INFO: Deleting cookie: name: hm_msgs, lifetime: 1749649248, path: /favicon.ico/, domain: 192.168.3.4, secure: , html_only 1
    [18] => DANGER: HTTP header fingerprint check failed
    [19] => WARNING: TRANSLATION NOT FOUND :Cypht:
    [20] => WARNING: TRANSLATION NOT FOUND :Are you sure you want to delete this server? :
    [21] => WARNING: TRANSLATION NOT FOUND :You need to have Javascript enabled to use %s, sorry about that!:
    [22] => INFO: PHP version 8.1.32
    [23] => INFO: Zend version 4.1.32
    [24] => INFO: Peak Memory: 16384
    [25] => INFO: PID: 1874
    [26] => INFO: Included files: 147
)
192.168.2.8 - - [11/Jun/2025:22:40:48 +0800] "GET /favicon.ico HTTP/1.1" 200 167642 "http://192.168.3.4:3008/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0"
NOTICE: PHP message: PHP Warning:  Undefined variable $config in /usr/local/share/cypht/site/index.php on line 57
NOTICE: PHP message: PHP Stack trace:
NOTICE: PHP message: PHP   1. {main}() /usr/local/share/cypht/site/index.php:0
NOTICE: PHP message: Array
127.0.0.1 -  11/Jun/2025:22:40:53 +0800 "GET /index.php" 200
(
    [0] => INFO: Using Hm_PHP_Session with Hm_Auth_DB
    [1] => INFO: Using DB user configuration
    [2] => WARNING: Already registered module for ajax_combined_message_list re-attempted: load_user_data
    [3] => WARNING: Already registered module for ajax_imap_debug re-attempted: profile_data
    [4] => WARNING: Already registered module for servers re-attempted: compose_profile_data
    [5] => INFO: Using sapi: fpm-fcgi
    [6] => INFO: Request type: HTTP
    [7] => INFO: Request path: /
    [8] => INFO: TLS request: 0
    [9] => INFO: Mobile request: 0
    [10] => INFO: Page ID: home
    [11] => INFO: Using Hm_Cache for cache
    [12] => DANGER: Redis connect failed
    [13] => INFO: CACHE backend using: memcache
    [14] => WARNING: TRANSLATION NOT FOUND :Cypht:
    [15] => WARNING: TRANSLATION NOT FOUND :Are you sure you want to delete this server? :
    [16] => WARNING: TRANSLATION NOT FOUND :You need to have Javascript enabled to use %s, sorry about that!:
    [17] => INFO: PHP version 8.1.32
    [18] => INFO: Zend version 4.1.32
    [19] => INFO: Peak Memory: 16384
    [20] => INFO: PID: 1873
    [21] => INFO: Included files: 147
)
127.0.0.1 - - [11/Jun/2025:22:40:53 +0800] "GET / HTTP/1.1" 200 552198 "-" "curl/7.88.1"
NOTICE: PHP message: PHP Warning:  Undefined variable $config in /usr/local/share/cypht/site/index.php on line 57
NOTICE: PHP message: PHP Stack trace:
NOTICE: PHP message: PHP   1. {main}() /usr/local/share/cypht/site/index.php:0
127.0.0.1 -  11/Jun/2025:22:41:23 +0800 "GET /index.php" 200
NOTICE: PHP message: Array
(
    [0] => INFO: Using Hm_PHP_Session with Hm_Auth_DB
    [1] => INFO: Using DB user configuration
    [2] => WARNING: Already registered module for ajax_combined_message_list re-attempted: load_user_data
    [3] => WARNING: Already registered module for ajax_imap_debug re-attempted: profile_data
    [4] => WARNING: Already registered module for servers re-attempted: compose_profile_data
    [5] => INFO: Using sapi: fpm-fcgi
    [6] => INFO: Request type: HTTP
    [7] => INFO: Request path: /
    [8] => INFO: TLS request: 0
    [9] => INFO: Mobile request: 0
    [10] => INFO: Page ID: home
    [11] => INFO: Using Hm_Cache for cache
    [12] => DANGER: Redis connect failed
    [13] => INFO: CACHE backend using: memcache
    [14] => WARNING: TRANSLATION NOT FOUND :Cypht:
    [15] => WARNING: TRANSLATION NOT FOUND :Are you sure you want to delete this server? :
    [16] => WARNING: TRANSLATION NOT FOUND :You need to have Javascript enabled to use %s, sorry about that!:
    [17] => INFO: PHP version 8.1.32
    [18] => INFO: Zend version 4.1.32
    [19] => INFO: Peak Memory: 16384
    [20] => INFO: PID: 1874
    [21] => INFO: Included files: 147
)
127.0.0.1 - - [11/Jun/2025:22:41:23 +0800] "GET / HTTP/1.1" 200 552197 "-" "curl/7.88.1"

Version & Environment

Rev: [daily]

OS: [docker.io/cypht/cypht]

Originally created by @ljcbaby on GitHub (Jun 11, 2025). Original GitHub issue: https://github.com/cypht-org/cypht/issues/1544 Originally assigned to: @christer77 on GitHub. <!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates --> ## 🐛 Bug <!-- Describe your issue in detail. Include screenshots if needed. Give us as much information as possible. Use a clear and concise description of what the bug is.--> it seems config decode error. logs here ```bash NOTICE: PHP message: PHP Warning: Undefined variable $config in /usr/local/share/cypht/site/index.php on line 57 NOTICE: PHP message: PHP Stack trace: NOTICE: PHP message: PHP 1. {main}() /usr/local/share/cypht/site/index.php:0 127.0.0.1 - 11/Jun/2025:22:40:44 +0800 "GET /index.php" 200 NOTICE: PHP message: Array ( [0] => INFO: Using Hm_PHP_Session with Hm_Auth_DB [1] => INFO: Using DB user configuration [2] => WARNING: Already registered module for ajax_combined_message_list re-attempted: load_user_data [3] => WARNING: Already registered module for ajax_imap_debug re-attempted: profile_data [4] => WARNING: Already registered module for servers re-attempted: compose_profile_data [5] => INFO: Using sapi: fpm-fcgi [6] => INFO: Request type: HTTP [7] => INFO: Request path: / [8] => INFO: TLS request: 0 [9] => INFO: Mobile request: 0 [10] => INFO: Page ID: home [11] => INFO: Using Hm_Cache for cache [12] => DANGER: Redis connect failed [13] => INFO: CACHE backend using: memcache [14] => WARNING: TRANSLATION NOT FOUND :Cypht: [15] => WARNING: TRANSLATION NOT FOUND :Are you sure you want to delete this server? : [16] => WARNING: TRANSLATION NOT FOUND :You need to have Javascript enabled to use %s, sorry about that!: [17] => INFO: PHP version 8.1.32 [18] => INFO: Zend version 4.1.32 [19] => INFO: Peak Memory: 16384 [20] => INFO: PID: 1874 [21] => INFO: Included files: 147 ) 192.168.2.8 - - [11/Jun/2025:22:40:44 +0800] "GET / HTTP/1.1" 200 167633 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0" 127.0.0.1 - 11/Jun/2025:22:40:47 +0800 "POST /index.php" 500 NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: base64_decode(): Argument #1 ($string) must be of type string, resource given in /usr/local/share/cypht/lib/crypt_sodium.php:28 Stack trace: #0 /usr/local/share/cypht/lib/crypt_sodium.php(28): base64_decode() #1 /usr/local/share/cypht/lib/config.php(362): Hm_Crypt::plaintext() #2 /usr/local/share/cypht/lib/config.php(387): Hm_User_Config_DB->decrypt_settings() #3 /usr/local/share/cypht/modules/core/handler_modules.php(704): Hm_User_Config_DB->load() #4 /usr/local/share/cypht/lib/modules_exec.php(177): Hm_Handler_load_user_data->process() #5 /usr/local/share/cypht/lib/modules_exec.php(155): Hm_Module_Exec->run_handler_module() #6 /usr/local/share/cypht/lib/dispatch.php(218): Hm_Module_Exec->run_handler_modules() #7 /usr/local/share/cypht/lib/dispatch.php(188): Hm_Dispatch->process_request() #8 /usr/local/share/cypht/site/index.php(55): Hm_Dispatch->__construct() #9 {main} thrown in /usr/local/share/cypht/lib/crypt_sodium.php on line 28 192.168.2.8 - - [11/Jun/2025:22:40:48 +0800] "POST / HTTP/1.1" 500 11 "http://192.168.3.4:3008/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0" NOTICE: PHP message: PHP Warning: Undefined variable $config in /usr/local/share/cypht/site/index.php on line 57 NOTICE: PHP message: PHP Stack trace: NOTICE: PHP message: PHP 1. {main}() /usr/local/share/cypht/site/index.php:0 127.0.0.1 - 11/Jun/2025:22:40:48 +0800 "GET /index.php" 200 NOTICE: PHP message: Array ( [0] => INFO: Using Hm_PHP_Session with Hm_Auth_DB [1] => INFO: Using DB user configuration [2] => WARNING: Already registered module for ajax_combined_message_list re-attempted: load_user_data [3] => WARNING: Already registered module for ajax_imap_debug re-attempted: profile_data [4] => WARNING: Already registered module for servers re-attempted: compose_profile_data [5] => INFO: Using sapi: fpm-fcgi [6] => INFO: Request type: HTTP [7] => INFO: Request path: /favicon.ico/ [8] => INFO: TLS request: 0 [9] => INFO: Mobile request: 0 [10] => INFO: Page ID: home [11] => INFO: Using Hm_Cache for cache [12] => DANGER: Redis connect failed [13] => INFO: CACHE backend using: memcache [14] => INFO: Deleting cookie: name: hm_session, lifetime: 1749649248, path: /favicon.ico/, domain: 192.168.3.4, secure: , html_only 1 [15] => INFO: Deleting cookie: name: hm_id, lifetime: 1749649248, path: /favicon.ico/, domain: 192.168.3.4, secure: , html_only 1 [16] => INFO: Deleting cookie: name: hm_reload_folders, lifetime: 1749649248, path: , domain: 192.168.3.4, secure: , html_only [17] => INFO: Deleting cookie: name: hm_msgs, lifetime: 1749649248, path: /favicon.ico/, domain: 192.168.3.4, secure: , html_only 1 [18] => DANGER: HTTP header fingerprint check failed [19] => WARNING: TRANSLATION NOT FOUND :Cypht: [20] => WARNING: TRANSLATION NOT FOUND :Are you sure you want to delete this server? : [21] => WARNING: TRANSLATION NOT FOUND :You need to have Javascript enabled to use %s, sorry about that!: [22] => INFO: PHP version 8.1.32 [23] => INFO: Zend version 4.1.32 [24] => INFO: Peak Memory: 16384 [25] => INFO: PID: 1874 [26] => INFO: Included files: 147 ) 192.168.2.8 - - [11/Jun/2025:22:40:48 +0800] "GET /favicon.ico HTTP/1.1" 200 167642 "http://192.168.3.4:3008/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0" NOTICE: PHP message: PHP Warning: Undefined variable $config in /usr/local/share/cypht/site/index.php on line 57 NOTICE: PHP message: PHP Stack trace: NOTICE: PHP message: PHP 1. {main}() /usr/local/share/cypht/site/index.php:0 NOTICE: PHP message: Array 127.0.0.1 - 11/Jun/2025:22:40:53 +0800 "GET /index.php" 200 ( [0] => INFO: Using Hm_PHP_Session with Hm_Auth_DB [1] => INFO: Using DB user configuration [2] => WARNING: Already registered module for ajax_combined_message_list re-attempted: load_user_data [3] => WARNING: Already registered module for ajax_imap_debug re-attempted: profile_data [4] => WARNING: Already registered module for servers re-attempted: compose_profile_data [5] => INFO: Using sapi: fpm-fcgi [6] => INFO: Request type: HTTP [7] => INFO: Request path: / [8] => INFO: TLS request: 0 [9] => INFO: Mobile request: 0 [10] => INFO: Page ID: home [11] => INFO: Using Hm_Cache for cache [12] => DANGER: Redis connect failed [13] => INFO: CACHE backend using: memcache [14] => WARNING: TRANSLATION NOT FOUND :Cypht: [15] => WARNING: TRANSLATION NOT FOUND :Are you sure you want to delete this server? : [16] => WARNING: TRANSLATION NOT FOUND :You need to have Javascript enabled to use %s, sorry about that!: [17] => INFO: PHP version 8.1.32 [18] => INFO: Zend version 4.1.32 [19] => INFO: Peak Memory: 16384 [20] => INFO: PID: 1873 [21] => INFO: Included files: 147 ) 127.0.0.1 - - [11/Jun/2025:22:40:53 +0800] "GET / HTTP/1.1" 200 552198 "-" "curl/7.88.1" NOTICE: PHP message: PHP Warning: Undefined variable $config in /usr/local/share/cypht/site/index.php on line 57 NOTICE: PHP message: PHP Stack trace: NOTICE: PHP message: PHP 1. {main}() /usr/local/share/cypht/site/index.php:0 127.0.0.1 - 11/Jun/2025:22:41:23 +0800 "GET /index.php" 200 NOTICE: PHP message: Array ( [0] => INFO: Using Hm_PHP_Session with Hm_Auth_DB [1] => INFO: Using DB user configuration [2] => WARNING: Already registered module for ajax_combined_message_list re-attempted: load_user_data [3] => WARNING: Already registered module for ajax_imap_debug re-attempted: profile_data [4] => WARNING: Already registered module for servers re-attempted: compose_profile_data [5] => INFO: Using sapi: fpm-fcgi [6] => INFO: Request type: HTTP [7] => INFO: Request path: / [8] => INFO: TLS request: 0 [9] => INFO: Mobile request: 0 [10] => INFO: Page ID: home [11] => INFO: Using Hm_Cache for cache [12] => DANGER: Redis connect failed [13] => INFO: CACHE backend using: memcache [14] => WARNING: TRANSLATION NOT FOUND :Cypht: [15] => WARNING: TRANSLATION NOT FOUND :Are you sure you want to delete this server? : [16] => WARNING: TRANSLATION NOT FOUND :You need to have Javascript enabled to use %s, sorry about that!: [17] => INFO: PHP version 8.1.32 [18] => INFO: Zend version 4.1.32 [19] => INFO: Peak Memory: 16384 [20] => INFO: PID: 1874 [21] => INFO: Included files: 147 ) 127.0.0.1 - - [11/Jun/2025:22:41:23 +0800] "GET / HTTP/1.1" 200 552197 "-" "curl/7.88.1" ``` ### Version & Environment <!-- Paste Git-Commit ID or Tag-Name here --> Rev: [daily] <!-- Specify your OS and OS Version here if the issue is (most likely) platform dependent. --> OS: [docker.io/cypht/cypht]
kerem 2026-02-25 21:35:39 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Shadow243 commented on GitHub (Jun 19, 2025):

@ljcbaby thanks for the report.

I'm currently testing on my side, with my local instance, everything is working fine so far. I'm pulling the latest image daily from Docker Hub, and I haven't been able to reproduce the issue yet.

I'll keep testing, and if I'm still unable to reproduce it, maybe we could consider doing a screen share, if that works for you.

<!-- gh-comment-id:2989421549 --> @Shadow243 commented on GitHub (Jun 19, 2025): @ljcbaby thanks for the report. I'm currently testing on my side, with my local instance, everything is working fine so far. I'm pulling the latest image daily from Docker Hub, and I haven't been able to reproduce the issue yet. I'll keep testing, and if I'm still unable to reproduce it, maybe we could consider doing a screen share, if that works for you.
Author
Owner

@ljcbaby commented on GitHub (Jun 20, 2025):

@ljcbaby thanks for the report.

I'm currently testing on my side, with my local instance, everything is working fine so far. I'm pulling the latest image daily from Docker Hub, and I haven't been able to reproduce the issue yet.

I'll keep testing, and if I'm still unable to reproduce it, maybe we could consider doing a screen share, if that works for you.

my compose is here, pg backend is 170004

services:
  cypht:
    image: cypht/cypht:daily
    container_name: cypht
    restart: unless-stopped
    environment:
      - TZ=Asia/Shanghai
      - UMASK=0022
      - ADMIN_USERS=ljcbaby
      - USER_CONFIG_TYPE=DB
      - DEFAULT_LANGUAGE=zh-Hans
      - ALLOW_LONG_SESSION=true
      - DISABLE_IP_CHECK=true
      - DEFAULT_SETTING_TIMEZONE=Asia/Shanghai
      - DEFAULT_SETTING_LANGUAGE=zh-Hans
      - DB_CONNECTION_TYPE=host
      - DB_HOST=postgres
      - DB_PORT=5432
      - DB_NAME=cypht
      - DB_USER=cypht
      - DB_PASS=bf4610e60d38df1d956dbf567952895b
      - DB_DRIVER=pgsql
      - DEFAULT_SETTING_NO_PASSWORD_SAVE=false
      - AUTH_USERNAME=[SECRET]
      - AUTH_PASSWORD=[SECRET]
    networks:
      - apps
    ports:
      - 3008:80
    volumes:
      - /mnt/Data/apps/cypht:/var/lib/hm3/attachments

networks:
  apps:
    external: true

It now appears that when there is no entry in the hm_user_settings (after the user first logs in or manually deletes the configuration entry) , the user log in is normal. There will be entries after landing 500 error. Do I need to export an entry that causes an exception?

<!-- gh-comment-id:2989788737 --> @ljcbaby commented on GitHub (Jun 20, 2025): > [@ljcbaby](https://github.com/ljcbaby) thanks for the report. > > I'm currently testing on my side, with my local instance, everything is working fine so far. I'm pulling the latest image daily from Docker Hub, and I haven't been able to reproduce the issue yet. > > I'll keep testing, and if I'm still unable to reproduce it, maybe we could consider doing a screen share, if that works for you. my compose is here, pg backend is 170004 ```yaml services: cypht: image: cypht/cypht:daily container_name: cypht restart: unless-stopped environment: - TZ=Asia/Shanghai - UMASK=0022 - ADMIN_USERS=ljcbaby - USER_CONFIG_TYPE=DB - DEFAULT_LANGUAGE=zh-Hans - ALLOW_LONG_SESSION=true - DISABLE_IP_CHECK=true - DEFAULT_SETTING_TIMEZONE=Asia/Shanghai - DEFAULT_SETTING_LANGUAGE=zh-Hans - DB_CONNECTION_TYPE=host - DB_HOST=postgres - DB_PORT=5432 - DB_NAME=cypht - DB_USER=cypht - DB_PASS=bf4610e60d38df1d956dbf567952895b - DB_DRIVER=pgsql - DEFAULT_SETTING_NO_PASSWORD_SAVE=false - AUTH_USERNAME=[SECRET] - AUTH_PASSWORD=[SECRET] networks: - apps ports: - 3008:80 volumes: - /mnt/Data/apps/cypht:/var/lib/hm3/attachments networks: apps: external: true ``` It now appears that when there is no entry in the `hm_user_settings` (after the user first logs in or manually deletes the configuration entry) , the user log in is normal. There will be entries after landing 500 error. Do I need to export an entry that causes an exception?
Author
Owner

@ljcbaby commented on GitHub (Jun 26, 2025):

exported data here

/*
 Navicat Premium Dump SQL

 Source Server         : TNAS-XG
 Source Server Type    : PostgreSQL
 Source Server Version : 170004 (170004)
 Source Host           : 192.168.3.4:5432
 Source Catalog        : cypht
 Source Schema         : public

 Target Server Type    : PostgreSQL
 Target Server Version : 170004 (170004)
 File Encoding         : 65001

 Date: 26/06/2025 15:09:49
*/


-- ----------------------------
-- Table structure for hm_user_settings
-- ----------------------------
DROP TABLE IF EXISTS "public"."hm_user_settings";
CREATE TABLE "public"."hm_user_settings" (
  "username" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "settings" bytea
)
;

-- ----------------------------
-- Records of hm_user_settings
-- ----------------------------
INSERT INTO "public"."hm_user_settings" VALUES ('ljcbaby', E'AQYEmB/7FKavAvwYzCbSFy2ZwBvjD8tzJYa7Cu8SLZtnRJAP73zawDv6sPOK2WxK+Skla/QjvAtuWwBDBESctPAaUPmwUn15c/5A1UkEIhmJJiG02Qy1wj4W2SlZgWPFP1OM2wQX4uxNVv7JlhZa/ixQlOENLgwKjNg8djnLz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eJpHqFEqmzBRv56Q6MH4CHkIgL4ZVsFb05XSwxxJdrYeudW1gwlvTiqyLfFn6HfFSd58YVyyhiSIqfpjZMQubctMcyiVxIKxxfxWIRT22oq29cbzt18rqDj3r9Zbp3ejgozA+2JeJ/DMIPfSl1lY7UGsh/Qp3mtCfMkbb+pJDuQkG5XNNwNS4o0H4trVQA0eWsYHqXVHd14royhSwrNF+OL2OzUORQTdY6qs1M6Igp5HA5zbFvpEp/Poe9vvpBKrsOvy+czNqnag4XkPuEi05xUji1EuYIqMNNK2+mPUHpVYWuPnp9izNm0XjqmggGtQgNz+xFuAyXyzfZkTosGAGp07EaEFQvMDdrA3YUb9yhMQctKLcl+m92eXlXijqv1T7lylv/UxpDx4tFb3GsWVFvyr2f9mTzcNoXvGsSk+0DHjqwpAIjs9WZsEw/+cLFFdyYkSOMm9Ho6pTk1v3eIeLBCSwWiWZZNsacbZ3QoP2bvEwNrUgTm2LaMICyPd0A1DChNR5pipJOPlGim4HwAsq4JOqF5of8+hVSrQEuwD9W/VmVt199GAalqkTCvv7awvBnOwvCfP78CckHX7zwYMRGhNiaE3Bb+/7IfMIgTMITLu6v9/xPn76YwUUkZvuF6cLR+FYiRWvfIepALSdYxeyqq46SfKIITHEVTJpYAOI8IVVtunxfkfUnmEMp4PE8saEZtGciwfsi2lk0nwGdOrbUSTkgft6DRqAX3jUFFF8NsBsA1vRNuOXcsSgMxydmRqeLYGyOJmfN3VRYSwCjM2XumXYYDTEr0JQp24dcX4NdiM2bhV+aBSeje9T2bS2PEf1H4pTL0tC8Khng3np1IsTmm7Bo9lTuEttYtrOnXpFZqpqdftdoWmJMwp98UHCVDSA4S0Xk073M5JkOMm8+vc7JJyuk6DgvBtn1sQy2uPY/lettnbnxfaPWebcO5SOJm8rRDON20UaqII4eM0q/eOPQSFbi/6cmK+mpqPrqwUcWro59cQNcptgUJQYWD/0Eyk2Zp3djygmdp5+O58/+I=');

-- ----------------------------
-- Primary Key structure for table hm_user_settings
-- ----------------------------
ALTER TABLE "public"."hm_user_settings" ADD CONSTRAINT "hm_user_settings_pkey" PRIMARY KEY ("username");
<!-- gh-comment-id:3007572568 --> @ljcbaby commented on GitHub (Jun 26, 2025): exported data here ```sql /* Navicat Premium Dump SQL Source Server : TNAS-XG Source Server Type : PostgreSQL Source Server Version : 170004 (170004) Source Host : 192.168.3.4:5432 Source Catalog : cypht Source Schema : public Target Server Type : PostgreSQL Target Server Version : 170004 (170004) File Encoding : 65001 Date: 26/06/2025 15:09:49 */ -- ---------------------------- -- Table structure for hm_user_settings -- ---------------------------- DROP TABLE IF EXISTS "public"."hm_user_settings"; CREATE TABLE "public"."hm_user_settings" ( "username" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, "settings" bytea ) ; -- ---------------------------- -- Records of hm_user_settings -- ---------------------------- INSERT INTO "public"."hm_user_settings" VALUES ('ljcbaby', E'AQYEmB/7FKavAvwYzCbSFy2ZwBvjD8tzJYa7Cu8SLZtnRJAP73zawDv6sPOK2WxK+Skla/QjvAtuWwBDBESctPAaUPmwUn15c/5A1UkEIhmJJiG02Qy1wj4W2SlZgWPFP1OM2wQX4uxNVv7JlhZa/ixQlOENLgwKjNg8djnLz1ZFKpIKdoiY4T61I48i4yUi3U+l+LKYIkT2TBQ6YIUAimvrYuAjvLnuL0kGiOLlxkV+3AAvQObUiVtnFKRMzTf5XXvDoOq5TP/Hf9VrH22FBRS/IeWra1kPF90xw5ERXGI3IWj/U1GJeXjmMrkWUlMRfxH6bGX3yfefyli7q+/0YkD2Rgf1CR087kopYqSgaAVuQMvNnLVDSMD/9v/dlgLFZXJjIxbH6SuN0tpdQUtiD5FoO9etxgWt9Nrs4Gy2NpP5Se770a+TOL/imK7f/W1Bfald1zF3fO/UQtGn/iyWfJxUI329uLTihUZgfQFCqwtyVOdZ5/kVeevXiLfsjsmGrhh8nfeeIhmaowqvbeUAjobBi/sm3Eorm3HARWhwalUmzLqEkViKHCDyQ3jxKJzWOljwVLAYehPYOJ0WWACsqPDMSW+AyB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Ew/+cLFFdyYkSOMm9Ho6pTk1v3eIeLBCSwWiWZZNsacbZ3QoP2bvEwNrUgTm2LaMICyPd0A1DChNR5pipJOPlGim4HwAsq4JOqF5of8+hVSrQEuwD9W/VmVt199GAalqkTCvv7awvBnOwvCfP78CckHX7zwYMRGhNiaE3Bb+/7IfMIgTMITLu6v9/xPn76YwUUkZvuF6cLR+FYiRWvfIepALSdYxeyqq46SfKIITHEVTJpYAOI8IVVtunxfkfUnmEMp4PE8saEZtGciwfsi2lk0nwGdOrbUSTkgft6DRqAX3jUFFF8NsBsA1vRNuOXcsSgMxydmRqeLYGyOJmfN3VRYSwCjM2XumXYYDTEr0JQp24dcX4NdiM2bhV+aBSeje9T2bS2PEf1H4pTL0tC8Khng3np1IsTmm7Bo9lTuEttYtrOnXpFZqpqdftdoWmJMwp98UHCVDSA4S0Xk073M5JkOMm8+vc7JJyuk6DgvBtn1sQy2uPY/lettnbnxfaPWebcO5SOJm8rRDON20UaqII4eM0q/eOPQSFbi/6cmK+mpqPrqwUcWro59cQNcptgUJQYWD/0Eyk2Zp3djygmdp5+O58/+I='); -- ---------------------------- -- Primary Key structure for table hm_user_settings -- ---------------------------- ALTER TABLE "public"."hm_user_settings" ADD CONSTRAINT "hm_user_settings_pkey" PRIMARY KEY ("username"); ```
Author
Owner

@ljcbaby commented on GitHub (Jun 26, 2025):

it may caused by db data type.

i changed settings from BYTEA to VARCHAR, it runs well.

<!-- gh-comment-id:3007583289 --> @ljcbaby commented on GitHub (Jun 26, 2025): it may caused by db data type. i changed settings from BYTEA to VARCHAR, it runs well.
Author
Owner

@IrAlfred commented on GitHub (Nov 11, 2025):

Hello @ljcbaby

We've made several improvements and fixes in the newer version. Please retest with the cypht/cypht:2.5.1 Docker image.

If the issue persists with version 2.5.1, please let us know and we'll investigate further.

<!-- gh-comment-id:3517289204 --> @IrAlfred commented on GitHub (Nov 11, 2025): Hello @ljcbaby We've made several improvements and fixes in the newer version. Please retest with the cypht/cypht:2.5.1 Docker image. If the issue persists with version 2.5.1, please let us know and we'll investigate further.
Author
Owner

@ljcbaby commented on GitHub (Nov 12, 2025):

still

NOTICE: PHP message: PHP Fatal error:  Uncaught TypeError: base64_decode(): Argument #1 ($string) must be of type string, resource given in /usr/local/share/cypht/lib/crypt_sodium.php:28
127.0.0.1 -  12/Nov/2025:09:02:23 +0800 "POST /index.php" 500
Stack trace:
#0 /usr/local/share/cypht/lib/crypt_sodium.php(28): base64_decode()
#1 /usr/local/share/cypht/lib/config.php(362): Hm_Crypt::plaintext()
#2 /usr/local/share/cypht/lib/config.php(387): Hm_User_Config_DB->decrypt_settings()
#3 /usr/local/share/cypht/modules/core/handler_modules.php(719): Hm_User_Config_DB->load()
#4 /usr/local/share/cypht/lib/modules_exec.php(177): Hm_Handler_load_user_data->process()
#5 /usr/local/share/cypht/lib/modules_exec.php(155): Hm_Module_Exec->run_handler_module()
#6 /usr/local/share/cypht/lib/dispatch.php(218): Hm_Module_Exec->run_handler_modules()
#7 /usr/local/share/cypht/lib/dispatch.php(188): Hm_Dispatch->process_request()
#8 /usr/local/share/cypht/site/index.php(55): Hm_Dispatch->__construct()
#9 {main}
  thrown in /usr/local/share/cypht/lib/crypt_sodium.php on line 28
<!-- gh-comment-id:3519391951 --> @ljcbaby commented on GitHub (Nov 12, 2025): still ```logs NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: base64_decode(): Argument #1 ($string) must be of type string, resource given in /usr/local/share/cypht/lib/crypt_sodium.php:28 127.0.0.1 - 12/Nov/2025:09:02:23 +0800 "POST /index.php" 500 Stack trace: #0 /usr/local/share/cypht/lib/crypt_sodium.php(28): base64_decode() #1 /usr/local/share/cypht/lib/config.php(362): Hm_Crypt::plaintext() #2 /usr/local/share/cypht/lib/config.php(387): Hm_User_Config_DB->decrypt_settings() #3 /usr/local/share/cypht/modules/core/handler_modules.php(719): Hm_User_Config_DB->load() #4 /usr/local/share/cypht/lib/modules_exec.php(177): Hm_Handler_load_user_data->process() #5 /usr/local/share/cypht/lib/modules_exec.php(155): Hm_Module_Exec->run_handler_module() #6 /usr/local/share/cypht/lib/dispatch.php(218): Hm_Module_Exec->run_handler_modules() #7 /usr/local/share/cypht/lib/dispatch.php(188): Hm_Dispatch->process_request() #8 /usr/local/share/cypht/site/index.php(55): Hm_Dispatch->__construct() #9 {main} thrown in /usr/local/share/cypht/lib/crypt_sodium.php on line 28 ```
Author
Owner

@IrAlfred commented on GitHub (Nov 12, 2025):

still

NOTICE: PHP message: PHP Fatal error:  Uncaught TypeError: base64_decode(): Argument #1 ($string) must be of type string, resource given in /usr/local/share/cypht/lib/crypt_sodium.php:28
127.0.0.1 -  12/Nov/2025:09:02:23 +0800 "POST /index.php" 500
Stack trace:
#0 /usr/local/share/cypht/lib/crypt_sodium.php(28): base64_decode()
#1 /usr/local/share/cypht/lib/config.php(362): Hm_Crypt::plaintext()
#2 /usr/local/share/cypht/lib/config.php(387): Hm_User_Config_DB->decrypt_settings()
#3 /usr/local/share/cypht/modules/core/handler_modules.php(719): Hm_User_Config_DB->load()
#4 /usr/local/share/cypht/lib/modules_exec.php(177): Hm_Handler_load_user_data->process()
#5 /usr/local/share/cypht/lib/modules_exec.php(155): Hm_Module_Exec->run_handler_module()
#6 /usr/local/share/cypht/lib/dispatch.php(218): Hm_Module_Exec->run_handler_modules()
#7 /usr/local/share/cypht/lib/dispatch.php(188): Hm_Dispatch->process_request()
#8 /usr/local/share/cypht/site/index.php(55): Hm_Dispatch->__construct()
#9 {main}
  thrown in /usr/local/share/cypht/lib/crypt_sodium.php on line 28

Thank you for your feedback, we are working on it

<!-- gh-comment-id:3520233400 --> @IrAlfred commented on GitHub (Nov 12, 2025): > still > > ``` > NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: base64_decode(): Argument #1 ($string) must be of type string, resource given in /usr/local/share/cypht/lib/crypt_sodium.php:28 > 127.0.0.1 - 12/Nov/2025:09:02:23 +0800 "POST /index.php" 500 > Stack trace: > #0 /usr/local/share/cypht/lib/crypt_sodium.php(28): base64_decode() > #1 /usr/local/share/cypht/lib/config.php(362): Hm_Crypt::plaintext() > #2 /usr/local/share/cypht/lib/config.php(387): Hm_User_Config_DB->decrypt_settings() > #3 /usr/local/share/cypht/modules/core/handler_modules.php(719): Hm_User_Config_DB->load() > #4 /usr/local/share/cypht/lib/modules_exec.php(177): Hm_Handler_load_user_data->process() > #5 /usr/local/share/cypht/lib/modules_exec.php(155): Hm_Module_Exec->run_handler_module() > #6 /usr/local/share/cypht/lib/dispatch.php(218): Hm_Module_Exec->run_handler_modules() > #7 /usr/local/share/cypht/lib/dispatch.php(188): Hm_Dispatch->process_request() > #8 /usr/local/share/cypht/site/index.php(55): Hm_Dispatch->__construct() > #9 {main} > thrown in /usr/local/share/cypht/lib/crypt_sodium.php on line 28 > ``` Thank you for your feedback, we are working on it
Author
Owner

@IrAlfred commented on GitHub (Nov 18, 2025):

I've verified that the fix works in the cypht/cypht:daily build. It will be included in the upcoming cypht/cypht:2.5.2 release. Please feel free to reopen this issue if you encounter the problem again.

<!-- gh-comment-id:3547737965 --> @IrAlfred commented on GitHub (Nov 18, 2025): I've verified that the fix works in the cypht/cypht:daily build. It will be included in the upcoming cypht/cypht:2.5.2 release. Please feel free to reopen this issue if you encounter the problem again.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#680
No description provided.