YunoHost-Apps/glitchsoc_ynh

Install fails - blurhash issue

lapineige opened this issue · 0 comments

 sudo -u glitchsoc RAILS_ENV=production PATH=/opt/rbenv/versions/glitchsoc/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so bin/bundle exec rails db:setup --quiet
2023-02-14 21:36:30,987: DEBUG - rails aborted!
2023-02-14 21:36:30,989: DEBUG - LoadError: Could not open library '/var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so': /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so: cannot open shared object file: No such file or directory
2023-02-14 21:36:30,990: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/ffi-1.15.5/lib/ffi/library.rb:145:in `block in ffi_lib'
2023-02-14 21:36:30,990: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/ffi-1.15.5/lib/ffi/library.rb:99:in `map'
2023-02-14 21:36:30,990: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/ffi-1.15.5/lib/ffi/library.rb:99:in `ffi_lib'
2023-02-14 21:36:30,991: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/blurhash-0.1.6/lib/blurhash.rb:26:in `<module:Unstable>'
2023-02-14 21:36:30,991: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/blurhash-0.1.6/lib/blurhash.rb:24:in `<module:Blurhash>'
2023-02-14 21:36:30,991: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/blurhash-0.1.6/lib/blurhash.rb:6:in `<top (required)>'
2023-02-14 21:36:30,991: DEBUG - <internal:/opt/rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
2023-02-14 21:36:30,991: DEBUG - <internal:/opt/rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
2023-02-14 21:36:30,991: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-02-14 21:36:30,992: DEBUG - /var/www/glitchsoc/live/config/application.rb:22:in `<top (required)>'
2023-02-14 21:36:30,997: DEBUG - <internal:/opt/rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
2023-02-14 21:36:30,998: DEBUG - <internal:/opt/rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
2023-02-14 21:36:30,998: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-02-14 21:36:30,998: DEBUG - /var/www/glitchsoc/live/Rakefile:4:in `<top (required)>'
2023-02-14 21:36:30,999: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7/lib/rails/commands/rake/rake_command.rb:20:in `block in perform'
2023-02-14 21:36:30,999: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7/lib/rails/commands/rake/rake_command.rb:18:in `perform'
2023-02-14 21:36:30,999: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7/lib/rails/command.rb:50:in `invoke'
2023-02-14 21:36:30,999: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/railties-6.1.7/lib/rails/commands.rb:18:in `<top (required)>'
2023-02-14 21:36:30,999: DEBUG - <internal:/opt/rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
2023-02-14 21:36:30,999: DEBUG - <internal:/opt/rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
2023-02-14 21:36:30,999: DEBUG - /var/www/glitchsoc/live/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-02-14 21:36:31,000: DEBUG - bin/rails:4:in `<main>'
2023-02-14 21:36:31,000: DEBUG - (See full trace by running task with --trace)
2023-02-14 21:36:31,018: DEBUG - + ynh_exit_properly

This blurhash error is still here : YunoHost-Apps/mastodon_ynh#357 (comment)

Related to YunoHost-Apps/mastodon_ynh#367 ?