The discussion revolves around resolving the error “Failed to report error: Error connecting to Redis on localhost:6379” encountered during the test installation of Discourse on aarch64 architecture.
Initially, Falco suspects another process is using the port, but esk8builders shares the output of lsof -i -P -n | grep LISTEN which shows no other process is listening on port 6379.
Falco then discovers that the issue is due to Redis not starting up, and attributes this to the system page size not being supported by jemalloc. esk8builders shares the system page size as 65536, which is not compatible with the 4096 page size used by jemalloc.
Falco suggests that the issue might be specific to the Oracle Linux kernel and recommends using a Debian-based OS. xwu reports the same issue on Oracle’s Ampere server and pfaffman advises trying a Debian-based OS as a potential solution.
I am trying to test installation on aarch64 - Linux XXXXXX 5.4.17-2136.302.6.1.el8uek.aarch64 #2 SMP Tue Dec 14 12:00:21 PST 2021 aarch64 aarch64 aarch64 GNU/Linux
and following errors appear:
I, [2021-12-21T11:04:26.588172 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake plugin:pull_compatible_all’
I, [2021-12-21T11:04:29.293636 #1] INFO – : docker_manager is already at latest compatible version
discourse-chat-integration is already at latest compatible version
I, [2021-12-21T11:04:29.293942 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
Failed to report error: Error connecting to Redis on localhost:6379 (Errno::EADDRNOTAVAIL) 2 Error connecting to Redis on localhost:6379 (Errno::EADDRNOTAVAIL) subscribe failed, reconnecting in 1 second. Call stack /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/redis-4.5.1/lib/redis/client.rb:398:in rescue in establish_connection' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/redis-4.5.1/lib/redis/client.rb:379:in establish_connection’
Please, can you share any tips on how to resolve this error?
Thanks a lot!
Hi, I’m having the same issue when trying to install discourse via docker on Oracle’s Ampere server, spec is
Oracle Linux Server 8.6
Linux 5.4.17-2136.305.5.4.el8uek.aarch64
Is there a solution now? Any suggestion on what I should try? Thanks a lot!