Used Zammad version: 7 Trixie/Debian 13 (upgrading from 6.5.2)
Used Zammad installation type: package
Operating system: Debian Trixie
Expected behavior:
Working package
Actual behavior:
Upgrade starts and throws an error about hiredis
Setting up zammad (7.0.0-1772600692.f3228274.trixie) ...
# REDIS_URL variable set to redis://127.0.0.1:6379.
# Performing connection check.
/opt/zammad/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.4/lib/redis_client.rb:27:in 'RedisClient.driver': Unknown driver :hiredis, expected one of: `[:ruby]` (ArgumentError)
raise ArgumentError, "Unknown driver #{name.inspect}, expected one of: `#{@driver_definitions.keys.inspect}`"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
from /opt/zammad/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.4/lib/redis_client/config.rb:58:in 'RedisClient::Config::Common#initialize'
from /opt/zammad/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.4/lib/redis_client/config.rb:214:in 'RedisClient::Config#initialize'
from /opt/zammad/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.4/lib/redis_client.rb:225:in 'Class#new'
from /opt/zammad/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.4/lib/redis_client.rb:225:in 'RedisClient.config'
from /opt/zammad/vendor/bundle/ruby/3.4.0/gems/redis-5.4.1/lib/redis/client.rb:24:in 'Redis::Client.config'
from /opt/zammad/vendor/bundle/ruby/3.4.0/gems/redis-5.4.1/lib/redis.rb:144:in 'Redis#initialize_client'
from /opt/zammad/vendor/bundle/ruby/3.4.0/gems/redis-5.4.1/lib/redis.rb:75:in 'Redis#initialize'
from -e:1:in 'Class#new'
from -e:1:in '<main>'
# Connection check unsuccessful.
ERROR - No redis server found at redis://127.0.0.1:6379.
As noted in first post I started on latest 6.5.2.
I think I migrated once between servers, but I did always incremental updates and no huge jumps. Monitoring was OK (added the endpoint to monitoring software)
Any issue I had was resolved. But no issues in recent past.
The problem with restores is, that the package manager might loose track of files and fail to remove those. This can also be cascaded from earlier without being a problem for a while.
I’ll revisit this thread after my regular job and run a test dist upgrade on my environment. Maybe that helps to see if it’s related to your OS version.
THX - if you need any input, just say do. It seems to be only redis conenction so far and the module can’t be loaded
sudo -u zammad /opt/zammad/bin/ruby -e "require 'hiredis'; puts 'hiredis OK'" 2>&1 || echo "hiredis not available to /opt/zammad ruby"
hiredis not available to /opt/zammad ruby
I tried a lot, and it never loads hiredis, but is in the bundles