Kimai install error: #971

Closed
opened 2026-02-04 22:22:56 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @jamezpolley on GitHub (May 17, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Kimai

📂 What was the exact command used to execute the script?

update

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

All I know so far is that the error output comes from the composer install --no-dev --optimize-autoloader line.

🔄 Steps to reproduce the issue.

Step 1. Apply #4549
Step 2. Apply #4551
Step 3: run update

Paste the full error output (if available).

⠴ Updating Kimai to 2.33.0Deprecation Notice: Constant E_STRICT is deprecated in /usr/share/php/Composer/Util/Silencer.php:36
Deprecation Notice: Constant E_STRICT is deprecated in /usr/share/php/Composer/Util/Silencer.php:36
Deprecation Notice: Constant E_STRICT is deprecated in /usr/share/php/Composer/Util/Silencer.php:36

PHP Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Console\mb_detect_encoding() in /usr/share/php/Symfony/Component/Console/Applicat
ion.php:1237
Stack trace:
#0 /usr/share/php/Symfony/Component/Console/Application.php(869): Symfony\Component\Console\Application->splitStringByWidth()
#1 /usr/share/php/Symfony/Component/Console/Application.php(840): Symfony\Component\Console\Application->doRenderThrowable()
#2 /usr/share/php/Symfony/Component/Console/Application.php(154): Symfony\Component\Console\Application->renderThrowable()
#3 /usr/share/php/Symfony/Component/Console/Application.php(177): Symfony\Component\Console\Application->{closure:Symfony\Component\Console\Application::run():1
52}()
#4 /usr/share/php/Composer/Console/Application.php(141): Symfony\Component\Console\Application->run()
#5 /usr/bin/composer(89): Composer\Console\Application->run()
#6 {main}
thrown in /usr/share/php/Symfony/Component/Console/Application.php on line 1237

Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Console\mb_detect_encoding() in /usr/share/php/Symfony/Component/Console/Application.p
hp:1237
Stack trace:
#0 /usr/share/php/Symfony/Component/Console/Application.php(869): Symfony\Component\Console\Application->splitStringByWidth()
#1 /usr/share/php/Symfony/Component/Console/Application.php(840): Symfony\Component\Console\Application->doRenderThrowable()
#2 /usr/share/php/Symfony/Component/Console/Application.php(154): Symfony\Component\Console\Application->renderThrowable()
#3 /usr/share/php/Symfony/Component/Console/Application.php(177): Symfony\Component\Console\Application->{closure:Symfony\Component\Console\Application::run():1
52}()
#4 /usr/share/php/Composer/Console/Application.php(141): Symfony\Component\Console\Application->run()
#5 /usr/bin/composer(89): Composer\Console\Application->run()
#6 {main}
thrown in /usr/share/php/Symfony/Component/Console/Application.php on line 1237
⠦ Updating Kimai to 2.33.0
[ERROR] in line 73: exit code 0: while executing command $STD composer install --no-dev --optimize-autoloader

🖼️ Additional context (optional).

No response

Originally created by @jamezpolley on GitHub (May 17, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Kimai ### 📂 What was the exact command used to execute the script? update ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. All I know so far is that the error output comes from the `composer install --no-dev --optimize-autoloader` line. ### 🔄 Steps to reproduce the issue. Step 1. Apply #4549 Step 2. Apply #4551 Step 3: run update ### ❌ Paste the full error output (if available). ⠴ Updating Kimai to 2.33.0Deprecation Notice: Constant E_STRICT is deprecated in /usr/share/php/Composer/Util/Silencer.php:36 Deprecation Notice: Constant E_STRICT is deprecated in /usr/share/php/Composer/Util/Silencer.php:36 Deprecation Notice: Constant E_STRICT is deprecated in /usr/share/php/Composer/Util/Silencer.php:36 PHP Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Console\mb_detect_encoding() in /usr/share/php/Symfony/Component/Console/Applicat ion.php:1237 Stack trace: #0 /usr/share/php/Symfony/Component/Console/Application.php(869): Symfony\Component\Console\Application->splitStringByWidth() #1 /usr/share/php/Symfony/Component/Console/Application.php(840): Symfony\Component\Console\Application->doRenderThrowable() #2 /usr/share/php/Symfony/Component/Console/Application.php(154): Symfony\Component\Console\Application->renderThrowable() #3 /usr/share/php/Symfony/Component/Console/Application.php(177): Symfony\Component\Console\Application->{closure:Symfony\Component\Console\Application::run():1 52}() #4 /usr/share/php/Composer/Console/Application.php(141): Symfony\Component\Console\Application->run() #5 /usr/bin/composer(89): Composer\Console\Application->run() #6 {main} thrown in /usr/share/php/Symfony/Component/Console/Application.php on line 1237 Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Console\mb_detect_encoding() in /usr/share/php/Symfony/Component/Console/Application.p hp:1237 Stack trace: #0 /usr/share/php/Symfony/Component/Console/Application.php(869): Symfony\Component\Console\Application->splitStringByWidth() #1 /usr/share/php/Symfony/Component/Console/Application.php(840): Symfony\Component\Console\Application->doRenderThrowable() #2 /usr/share/php/Symfony/Component/Console/Application.php(154): Symfony\Component\Console\Application->renderThrowable() #3 /usr/share/php/Symfony/Component/Console/Application.php(177): Symfony\Component\Console\Application->{closure:Symfony\Component\Console\Application::run():1 52}() #4 /usr/share/php/Composer/Console/Application.php(141): Symfony\Component\Console\Application->run() #5 /usr/bin/composer(89): Composer\Console\Application->run() #6 {main} thrown in /usr/share/php/Symfony/Component/Console/Application.php on line 1237 ⠦ Updating Kimai to 2.33.0 [ERROR] in line 73: exit code 0: while executing command $STD composer install --no-dev --optimize-autoloader ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 22:22:56 +03:00
Author
Owner

@michelroegl-brunner commented on GitHub (May 17, 2025):

Duplicate of #4548.
Dont open three issue for one App please, just append it in your first one.

@michelroegl-brunner commented on GitHub (May 17, 2025): Duplicate of #4548. Dont open three issue for one App please, just append it in your first one.
Author
Owner

@jamezpolley commented on GitHub (May 17, 2025):

I think this might have come about because, while manually trying to fix other issues, I had at some point got the system into a state where php --version was reporting 8.4; but I didn't have the full suite of requirements installed. Specifically, php8.4-mbstring was missing.

So there's probably nothing to fix here.

@jamezpolley commented on GitHub (May 17, 2025): I *think* this might have come about because, while manually trying to fix other issues, I had at some point got the system into a state where `php --version` was reporting 8.4; but I didn't have the full suite of requirements installed. Specifically, php8.4-mbstring was missing. So there's *probably* nothing to fix here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#971