0.3.3

  • Removed the queue restarting logic, this has been moved into core.

Updating:

composer require blomstra/horizon:"*"
php flarum cache:clear
a year later

0.4.1

  • feat: add admin dashboard overview blomstra/flarum-ext-horizon17
  • fix: css no longer targets the Horizon logo correctly on the full Horizon dashboard
  • fix: some Horizon information pages unaccessible
  • fix: dark mode support for Horizon dashboard

image

image

2 months later
3 months later
22 days later

luceos after using litespeed, I can not see failed jobs/completed jobs in horizon dashboard, but only err message in the log file.
response header:

Alt-Svc:
h3=":443"; ma=86400
Cache-Control:
max-age=0, no-store
Content-Encoding:
gzip
Content-Length:
41
Content-Type:
application/json
Date:
Fri, 24 May 2024 12:00:14 GMT
Referrer-Policy:
same-origin
Server:
LiteSpeed
Vary:
Accept-Encoding
Via:
1.1 14bcb6b1490628f7642320bd494c55c8.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
K3te1wmvBPSvotvd-nj4LmOXozRp0w6qZ2hBnpiS2FTcfX0lKtqLuA==
X-Amz-Cf-Pop:
LAX50-C4
X-Cache:
Miss from cloudfront
X-Content-Type-Options:
nosniff
X-Csrf-Token:
XlTuNdTgKoXT6PIQk9aIupTFk1mszaqXGaYVmw0J
X-Litespeed-Vary:
cookie=flarum_lscache_vary,cookie=flarum_remember,cookie=locale
X-Turbo-Charged-By:
LiteSpeed

6 months later

How can I fix this ?

[2024-12-05 01:41:31] composer.ERROR: require 'blomstra/horizon:*' -W
/www/sites/forum/index/composer.json has been updated
Running composer update blomstra/horizon --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires blomstra/horizon * -> satisfiable by blomstra/horizon[0.2.0, ..., 0.4.3].
- blomstra/horizon[0.2.0, ..., 0.2.1] require laravel/horizon * -> satisfiable by laravel/horizon[v0.1.0, v0.2.0, v1.0.0, ..., v1.4.3, v2.0.0, ..., v2.2.2, v3.0.0, ..., v3.7.2, v4.0.0, ..., v4.3.5, v5.0.0, ..., v5.29.4].
- blomstra/horizon[0.3.0, ..., 0.3.4] require laravel/horizon 5.9 -> satisfiable by laravel/horizon[v5.9.0, ..., v5.29.4].
- blomstra/horizon 0.3.2 requires flarum/core >=1.2.0 <1.5.0 -> found flarum/core[v1.2.0, ..., v1.4.1] but it conflicts with your root composer.json require (1.8).
- blomstra/horizon[0.4.0, ..., 0.4.3] require laravel/horizon 5.21.3 -> satisfiable by laravel/horizon[v5.21.3, ..., v5.29.4].
- illuminate/queue[v5.4.0, ..., v5.4.36] require symfony/process 3.2 -> found symfony/process[v3.2.0, ..., v3.4.47] but these were not loaded, likely because it conflicts with another require.
- illuminate/queue[v5.5.0, ..., v5.5.44] require symfony/process 3.3 -> found symfony/process[v3.3.0, ..., v3.4.47] but these were not loaded, likely because it conflicts with another require.
- illuminate/queue[v5.6.0, ..., v5.8.36] require php 7.1.3 -> your php version (8.3.8) does not satisfy that requirement.
- laravel/horizon v0.1.0 requires illuminate/queue 5.4 -> satisfiable by illuminate/queue[v5.4.0, ..., v5.8.36].
- laravel/horizon[v0.2.0, v1.0.0, ..., v1.4.3, v2.0.0, ..., v2.2.2, v3.0.0, ..., v3.7.2, v5.4.0, ..., v5.29.4] require ext-pcntl * -> it is missing from your system. Install or enable PHP's pcntl extension.
- laravel/horizon[v4.0.0, ..., v4.3.5] require php 7.2 -> your php version (8.3.8) does not satisfy that requirement.
- laravel/horizon[v5.0.0, ..., v5.3.0] require php 7.3 -> your php version (8.3.8) does not satisfy that requirement.

To enable extensions, verify that they are enabled in your .ini files:
- /usr/local/etc/php/php.ini
- /usr/local/etc/php/conf.d/docker-fpm.ini
- /usr/local/etc/php/conf.d/docker-php-ext-bz2.ini
- /usr/local/etc/php/conf.d/docker-php-ext-exif.ini
- /usr/local/etc/php/conf.d/docker-php-ext-gd.ini
- /usr/local/etc/php/conf.d/docker-php-ext-imap.ini
- /usr/local/etc/php/conf.d/docker-php-ext-mysqli.ini
- /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
- /usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini
- /usr/local/etc/php/conf.d/docker-php-ext-redis.ini
- /usr/local/etc/php/conf.d/docker-php-ext-sodium.ini
- /usr/local/etc/php/conf.d/docker-php-ext-yaf.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-pcntl to temporarily ignore these required extensions.

Installation failed, reverting /www/sites/forum/index/composer.json and /www/sites/forum/index/composer.lock to their original content.

    achedd it seems like you might have 2 different issues:

    • You updated PHP recently. Make sure the same PHP version is used for command line and webserver, and run composer update to download the Flarum dependencies for PHP 8.3
    • You are missing the pcntl PHP extension. Make sure it's installed and enabled for the correct PHP version you want to use
      2 months later

      I’d like to separate certain tasks into different queues. Specifically, I want to process email-related jobs in a dedicated queue (emails), while keeping other tasks in the default queue. How to do. Thanks.

      I currently have many jobs in the queue. How can I speed up the processing?

      a month later
      luceos locked the discussion .