Skip to content

[Bug] Unable to login after update to version 1.26.0 docker on armv7. #7374

@darodi

Description

@darodi

Describe the bug

Unable to login after update to version 1.26.0 docker on armv7.
Works again when reverting to 1.25

To Reproduce

  1. update FreshRSS from 1.25 docker to 1.26 on armv7
  2. Login
  3. See error
192.168.0.103 - - [25/Feb/2025:20:04:26 +0100] "POST /i/?c=auth&a=login HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0"

192.168.0.103 - - [25/Feb/2025:20:04:26 +0100] "GET /i/?rid=67be143a3593f HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0"

[Tue Feb 25 20:04:28.918789 2025] [php:error] [pid 42:tid 42] [client 192.168.0.103:55135] PHP Fatal error:  Uncaught TypeError: FreshRSS_Category::_lastUpdate(): Argument #1 ($value) must be of type int, string given, called in /var/www/FreshRSS/app/Models/CategoryDAO.php on line 451 and defined in /var/www/FreshRSS/app/Models/Category.php:61\nStack trace:\n#0 /var/www/FreshRSS/app/Models/CategoryDAO.php(451): FreshRSS_Category->_lastUpdate()\n#1 /var/www/FreshRSS/app/Models/CategoryDAO.php(295): FreshRSS_CategoryDAO::daoToCategoriesPrepopulated()\n#2 /var/www/FreshRSS/app/Models/CategoryDAO.php(262): FreshRSS_CategoryDAO->listCategories()\n#3 /var/www/FreshRSS/app/Models/Context.php(180): FreshRSS_CategoryDAO->listSortedCategories()\n#4 /var/www/FreshRSS/app/Models/Context.php(218): FreshRSS_Context::categories()\n#5 /var/www/FreshRSS/app/Controllers/indexController.php(44): FreshRSS_Context::updateUsingRequest()\n#6 /var/www/FreshRSS/lib/Minz/Dispatcher.php(120): FreshRSS_index_Controller->normalAction()\n#7 /var/www/FreshRSS/lib/Minz/Dispatcher.php(49): Minz_Dispatcher->launchAction()\n#8 /var/www/FreshRSS/lib/Minz/FrontController.php(61): Minz_Dispatcher->run()\n#9 /var/www/FreshRSS/p/i/index.php(59): Minz_FrontController->run()\n#10 {main}\n  thrown in /var/www/FreshRSS/app/Models/Category.php on line 61

Expected behavior

Login works

FreshRSS version

1.26.0

System information

  • Database version: Docker PostgreSQL 15 alpine
  • PHP version: PHP/8.3.17
  • Installation type: Docker alpine
  • Device: WD NAS

Additional context

A clone of the database works with 1.26 on docker desktop in Windows.
A fresh install of 1.26 with new volumes doesn't work on armv7 either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug (unconfirmed)issues that could not be reproduced yet

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions