You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using dokku, which uses herokuish, which uses heroku-buildpack-ruby (v240). I did a dokku upgrade via apt (Ubuntu, dokku version 0.19.12) and all my deploys fail with this:
-----> Ruby app detected
remote: /tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/securerandom.rb:75:in `urandom': failed to get urandom (RuntimeError)
remote: from /tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/securerandom.rb:75:in `singleton class'
remote: from /tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/securerandom.rb:42:in `<module:SecureRandom>'
remote: from /tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/securerandom.rb:41:in `<top (required)>'
remote: from <internal:/tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
remote: from <internal:/tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
remote: from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/rails41.rb:1:in `<top (required)>'
remote: from <internal:/tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
remote: from <internal:/tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
remote: from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack.rb:44:in `<top (required)>'
remote: from <internal:/tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
remote: from <internal:/tmp/tmp.QJdgokaA3p/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
remote: from /tmp/buildpacks/01_buildpack-ruby/bin/support/ruby_compile:11:in `<main>'
remote: 2022/06/12 22:02:56 exit status 1
It also fails to ps:rebuild, but doesn’t output an error.
Setup:
Linux dblock-plum 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
# docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:06 2017
OS/Arch: linux/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:06 2017
OS/Arch: linux/amd64
Experimental: false
I'm stuck. Ruby 3.1.0 works fine on the machine, including SecureRandom.hex and SecureRandom.bytes(n).
I don't know how to downgrade the buildpack to see in which version this started happening, would be willing to try.
Update: I downgraded herokuish with sudo apt install herokuish=0.5.34 which used heroku-buildpack-ruby v236 and the problem went away. Hope this helps narrow it down.
The text was updated successfully, but these errors were encountered:
I am using dokku, which uses herokuish, which uses heroku-buildpack-ruby (v240). I did a dokku upgrade via apt (Ubuntu, dokku version 0.19.12) and all my deploys fail with this:
It also fails to
ps:rebuild
, but doesn’t output an error.Setup:
I'm stuck. Ruby 3.1.0 works fine on the machine, including
SecureRandom.hex
andSecureRandom.bytes(n)
.I don't know how to downgrade the buildpack to see in which version this started happening, would be willing to try.
Update: I downgraded herokuish with
sudo apt install herokuish=0.5.34
which used heroku-buildpack-ruby v236 and the problem went away. Hope this helps narrow it down.The text was updated successfully, but these errors were encountered: