I'm trying to install syncing-server on Yunohost. Each time, the install seems to break down around the gem/mimemagic build process. Here is a relevant snippet from the install log:
2021-05-04 19:45:56,131: DEBUG - Installing activerecord 5.2.4.4
2021-05-04 19:45:57,425: DEBUG - Fetching mimemagic 0.3.8
2021-05-04 19:45:57,533: DEBUG - Installing mimemagic 0.3.8 with native extensions
2021-05-04 19:45:58,048: WARNING - Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
2021-05-04 19:45:58,052: DEBUG -
2021-05-04 19:45:58,053: WARNING - current directory:
2021-05-04 19:45:58,063: WARNING - /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/mimemagic-0.3.8/ext/mimemagic
2021-05-04 19:45:58,064: WARNING - /opt/rbenv/versions/2.7.2/bin/ruby
2021-05-04 19:45:58,065: WARNING - -I/opt/rbenv/versions/2.7.2/lib/ruby/site_ruby/2.7.0 -rrubygems
2021-05-04 19:45:58,066: WARNING - /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/exe/rake
2021-05-04 19:45:58,242: WARNING - RUBYARCHDIR=/opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/mimemagic-0.3.8
2021-05-04 19:45:58,245: WARNING - RUBYLIBDIR=/opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/mimemagic-0.3.8
2021-05-04 19:45:58,246: WARNING - rake aborted!
2021-05-04 19:45:58,256: WARNING - Could not find MIME type database in the following locations:
2021-05-04 19:45:58,266: WARNING - ["/usr/local/share/mime/packages/freedesktop.org.xml",
2021-05-04 19:45:58,266: WARNING - "/opt/homebrew/share/mime/packages/freedesktop.org.xml",
2021-05-04 19:45:58,267: WARNING - "/usr/share/mime/packages/freedesktop.org.xml"]
2021-05-04 19:45:58,267: DEBUG -
2021-05-04 19:45:58,268: WARNING - Ensure you have either installed the shared-mime-types package for your
2021-05-04 19:45:58,268: WARNING - distribution, or
2021-05-04 19:45:58,269: WARNING - obtain a version of freedesktop.org.xml and set FREEDESKTOP_MIME_TYPES_PATH to
2021-05-04 19:45:58,270: WARNING - the location
2021-05-04 19:45:58,270: WARNING - of that file.
I'm pretty experienced with Linux/CLI but pretty new at server/database stuff. Any ideas welcome
I'm trying to install syncing-server on Yunohost. Each time, the install seems to break down around the gem/mimemagic build process. Here is a relevant snippet from the install log:
2021-05-04 19:45:56,131: DEBUG - Installing activerecord 5.2.4.4
2021-05-04 19:45:57,425: DEBUG - Fetching mimemagic 0.3.8
2021-05-04 19:45:57,533: DEBUG - Installing mimemagic 0.3.8 with native extensions
2021-05-04 19:45:58,048: WARNING - Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
2021-05-04 19:45:58,052: DEBUG -
2021-05-04 19:45:58,053: WARNING - current directory:
2021-05-04 19:45:58,063: WARNING - /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/mimemagic-0.3.8/ext/mimemagic
2021-05-04 19:45:58,064: WARNING - /opt/rbenv/versions/2.7.2/bin/ruby
2021-05-04 19:45:58,065: WARNING - -I/opt/rbenv/versions/2.7.2/lib/ruby/site_ruby/2.7.0 -rrubygems
2021-05-04 19:45:58,066: WARNING - /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/exe/rake
2021-05-04 19:45:58,242: WARNING - RUBYARCHDIR=/opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/mimemagic-0.3.8
2021-05-04 19:45:58,245: WARNING - RUBYLIBDIR=/opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/mimemagic-0.3.8
2021-05-04 19:45:58,246: WARNING - rake aborted!
2021-05-04 19:45:58,256: WARNING - Could not find MIME type database in the following locations:
2021-05-04 19:45:58,266: WARNING - ["/usr/local/share/mime/packages/freedesktop.org.xml",
2021-05-04 19:45:58,266: WARNING - "/opt/homebrew/share/mime/packages/freedesktop.org.xml",
2021-05-04 19:45:58,267: WARNING - "/usr/share/mime/packages/freedesktop.org.xml"]
2021-05-04 19:45:58,267: DEBUG -
2021-05-04 19:45:58,268: WARNING - Ensure you have either installed the shared-mime-types package for your
2021-05-04 19:45:58,268: WARNING - distribution, or
2021-05-04 19:45:58,269: WARNING - obtain a version of freedesktop.org.xml and set FREEDESKTOP_MIME_TYPES_PATH to
2021-05-04 19:45:58,270: WARNING - the location
2021-05-04 19:45:58,270: WARNING - of that file.
I'm pretty experienced with Linux/CLI but pretty new at server/database stuff. Any ideas welcome